Searched refs:OBJ_SEC_VALUE (Results 1 – 16 of 16) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 324 if ((OBJ_SEC_VALUE(secret_key) = malloc(keylen)) == NULL) { in soft_genkey() 347 if (des_keycheck(OBJ_SEC_VALUE(secret_key), in soft_genkey() 348 des_strength, OBJ_SEC_VALUE(secret_key)) == in soft_genkey() 360 OBJ_SEC_VALUE(secret_key), keylen) < 0) { in soft_genkey() 368 if (des_keycheck(OBJ_SEC_VALUE(secret_key), in soft_genkey() 369 des_strength, OBJ_SEC_VALUE(secret_key)) == in soft_genkey() 382 OBJ_SEC_VALUE(secret_key), in soft_genkey() 638 keybuf = OBJ_SEC_VALUE(derived_key); in soft_pkcs12_pbe() 985 rv = soft_digest(session_p, OBJ_SEC_VALUE(basekey_p), in soft_derivekey() 1005 if ((OBJ_SEC_VALUE(secret_key) = malloc(secret_key_len)) == in soft_derivekey() [all …]
|
H A D | softDH.c | 246 if ((OBJ_SEC_VALUE(secretkey) = malloc(keylen)) == NULL) { in soft_dh_key_derive() 252 (void) memcpy(OBJ_SEC_VALUE(secretkey), key, keylen); in soft_dh_key_derive()
|
H A D | softARCFourCrypt.c | 64 keyval = OBJ_SEC_VALUE(key_p); in soft_arcfour_crypt_init()
|
H A D | softDigestUtil.c | 498 if ((OBJ_SEC_VALUE(key_p) == NULL) || in soft_digest_key() 502 rv = soft_digest_update(session_p, OBJ_SEC_VALUE(key_p), in soft_digest_key()
|
H A D | softBlowfishCrypt.c | 93 blowfish_init_keysched(OBJ_SEC_VALUE(key_p), in soft_blowfish_crypt_init_common() 110 blowfish_init_keysched(OBJ_SEC_VALUE(key_p), in soft_blowfish_crypt_init_common()
|
H A D | softAESCrypt.c | 149 aes_init_keysched(OBJ_SEC_VALUE(key_p), (uint_t) in soft_aes_init_key() 152 aes_init_keysched(OBJ_SEC_VALUE(key_p), in soft_aes_init_key() 171 aes_init_keysched(OBJ_SEC_VALUE(key_p), in soft_aes_init_key() 174 aes_init_keysched(OBJ_SEC_VALUE(key_p), in soft_aes_init_key()
|
H A D | softSSL.c | 386 (void) soft_tls_prf(OBJ_SEC_VALUE(basekey_p), in derive_tls_prf() 427 uchar_t *pmsecret = OBJ_SEC_VALUE(basekey_p); in soft_ssl_master_key_derive() 622 uchar_t *msecret = OBJ_SEC_VALUE(basekey_p); in soft_ssl_key_and_mac_derive()
|
H A D | softKeystore.c | 1262 (void) memcpy(buf, (char *)OBJ_SEC_VALUE(objp), in soft_pack_object() 1750 OBJ_SEC_VALUE(objp) = malloc(OBJ_SEC_VALUE_LEN(objp)); in soft_unpack_object() 1751 if (OBJ_SEC_VALUE(objp) == NULL) { in soft_unpack_object() 1755 (void) memcpy(OBJ_SEC_VALUE(objp), buf, in soft_unpack_object() 2072 if ((OBJ_SEC_VALUE(secret_key) = malloc(keylen)) == NULL) { in soft_gen_crypt_key() 2194 if ((OBJ_SEC_VALUE(secret_key) = malloc(keylen)) == NULL) { in soft_gen_hmac_key()
|
H A D | softEC.c | 316 OBJ_SEC_VALUE(secretkey) = buf; in soft_ec_key_derive()
|
H A D | softObject.h | 667 #define OBJ_SEC_VALUE(o) \ macro
|
H A D | softAttributeUtil.c | 1143 if (OBJ_SEC_VALUE(object_p) != NULL && in soft_cleanup_object_bigint_attrs() 1145 freezero(OBJ_SEC_VALUE(object_p), in soft_cleanup_object_bigint_attrs()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelObjectUtil.c | 80 if (OBJ_SEC(objp) != NULL && OBJ_SEC_VALUE(objp) != NULL) { in kernel_cleanup_object() 81 freezero(OBJ_SEC_VALUE(objp), OBJ_SEC_VALUE_LEN(objp)); in kernel_cleanup_object() 82 OBJ_SEC_VALUE(objp) = NULL; in kernel_cleanup_object()
|
H A D | kernelSoftCommon.c | 134 OBJ_SEC_VALUE(key_p) = kval; in do_soft_hmac_init()
|
H A D | kernelDigest.c | 497 pPart = (CK_BYTE_PTR) OBJ_SEC_VALUE(key_p); in C_DigestKey()
|
H A D | kernelObject.h | 258 #define OBJ_SEC_VALUE(o) \ macro
|
H A D | kernelAttributeUtil.c | 2789 if (OBJ_SEC_VALUE(object_p) == NULL) { in kernel_get_secret_key_attribute() 2797 OBJ_SEC_VALUE(object_p), in kernel_get_secret_key_attribute()
|