Searched refs:prepared_buf (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c834 * The allocated buffer is returned in the variable "prepared_buf"
841 unsigned char **prepared_buf, CK_ULONG *prepared_len)
844 *prepared_buf = malloc(*prepared_len);
845 if (*prepared_buf == NULL) {
855 bzero(*prepared_buf, MAXPATHLEN);
856 (void) memcpy(*prepared_buf, obj_path, strlen(obj_path));
857 (void) memcpy(*prepared_buf + MAXPATHLEN, buf, buf_len);
2328 uchar_t *encrypted_buf, *prepared_buf; local
2332 &prepared_buf, &prepared_len) != 0) {
2337 B_TRUE, prepared_buf, prepared_le
840 prepare_data_for_encrypt(char *obj_path, unsigned char *buf, CK_ULONG buf_len, unsigned char **prepared_buf, CK_ULONG *prepared_len) argument
2577 uchar_t *encrypted_buf, *prepared_buf; local
[all...]

Completed in 47 milliseconds