Searched refs:OBJ_SEC_VALUE_LEN (Results 1 – 16 of 16) sorted by relevance
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 276 keylen = OBJ_SEC_VALUE_LEN(secret_key) = DES_KEYSIZE; in soft_genkey() 285 keylen = OBJ_SEC_VALUE_LEN(secret_key) = DES2_KEYSIZE; in soft_genkey() 294 keylen = OBJ_SEC_VALUE_LEN(secret_key) = DES3_KEYSIZE; in soft_genkey() 307 keylen = OBJ_SEC_VALUE_LEN(secret_key); in soft_genkey() 317 OBJ_SEC_VALUE_LEN(secret_key) = DES_KEYSIZE; in soft_genkey() 320 OBJ_SEC_VALUE_LEN(secret_key) = DES3_KEYSIZE; in soft_genkey() 324 keylen = OBJ_SEC_VALUE_LEN(secret_key); in soft_genkey() 554 if (OBJ_SEC_VALUE_LEN(secret_key) == 0) { in soft_key_derive_check_length() 555 OBJ_SEC_VALUE_LEN(secret_key) = max_keylen; in soft_key_derive_check_length() 557 } else if (OBJ_SEC_VALUE_LEN(secret_key) > max_keylen) { in soft_key_derive_check_length() [all …]
|
H A D | softARCFourCrypt.c | 55 keyvallen = (int)OBJ_SEC_VALUE_LEN(key_p); in soft_arcfour_crypt_init() 57 keyvallen = OBJ_SEC_VALUE_LEN(key_p); in soft_arcfour_crypt_init()
|
H A D | softDH.c | 226 keylen = OBJ_SEC_VALUE_LEN(secretkey); in soft_dh_key_derive() 251 OBJ_SEC_VALUE_LEN(secretkey) = keylen; in soft_dh_key_derive()
|
H A D | softAESCrypt.c | 99 (OBJ_SEC_VALUE_LEN(key_p) * 8), ks); in soft_aes_crypt_init_common() 102 (OBJ_SEC_VALUE_LEN(key_p) * 8), ks); in soft_aes_crypt_init_common() 120 (OBJ_SEC_VALUE_LEN(key_p) * 8), soft_aes_ctx->key_sched); in soft_aes_crypt_init_common() 123 (OBJ_SEC_VALUE_LEN(key_p) * 8), soft_aes_ctx->key_sched); in soft_aes_crypt_init_common()
|
H A D | softKeystore.c | 720 return (ROUNDUP(OBJ_SEC_VALUE_LEN(objp), 8) + in soft_pack_object_size() 1240 tmp_val = SWAP64((uint64_t)OBJ_SEC_VALUE_LEN(objp)); in soft_pack_object() 1244 if (OBJ_SEC_VALUE_LEN(objp) > 0) { in soft_pack_object() 1246 OBJ_SEC_VALUE_LEN(objp)); in soft_pack_object() 1247 buf = buf + ROUNDUP(OBJ_SEC_VALUE_LEN(objp), 8); in soft_pack_object() 1729 OBJ_SEC_VALUE_LEN(objp) = (CK_ULONG)(SWAP64(tmp_val)); in soft_unpack_object() 1732 if (OBJ_SEC_VALUE_LEN(objp) > 0) { in soft_unpack_object() 1733 OBJ_SEC_VALUE(objp) = malloc(OBJ_SEC_VALUE_LEN(objp)); in soft_unpack_object() 1739 OBJ_SEC_VALUE_LEN(objp)); in soft_unpack_object() 1741 buf = buf + ROUNDUP(OBJ_SEC_VALUE_LEN(objp), 8); in soft_unpack_object() [all …]
|
H A D | softSSL.c | 385 OBJ_SEC_VALUE_LEN(basekey_p), param->pLabel, param->ulLabelLen, in derive_tls_prf() 428 uint_t pmlen = (uint_t)OBJ_SEC_VALUE_LEN(basekey_p); in soft_ssl_master_key_derive() 430 uint_t pmlen = OBJ_SEC_VALUE_LEN(basekey_p); in soft_ssl_master_key_derive() 623 uint_t mslen = (uint_t)OBJ_SEC_VALUE_LEN(basekey_p); in soft_ssl_key_and_mac_derive() 625 uint_t mslen = OBJ_SEC_VALUE_LEN(basekey_p); in soft_ssl_key_and_mac_derive()
|
H A D | softDigestUtil.c | 479 (OBJ_SEC_VALUE_LEN(key_p) == 0)) in soft_digest_key() 483 OBJ_SEC_VALUE_LEN(key_p)); in soft_digest_key()
|
H A D | softBlowfishCrypt.c | 93 (OBJ_SEC_VALUE_LEN(key_p) * 8), ks); in soft_blowfish_crypt_init_common() 110 (OBJ_SEC_VALUE_LEN(key_p) * 8), in soft_blowfish_crypt_init_common()
|
H A D | softEC.c | 269 keylen = (uint32_t)OBJ_SEC_VALUE_LEN(secretkey); in soft_ec_key_derive() 271 keylen = OBJ_SEC_VALUE_LEN(secretkey); in soft_ec_key_derive() 315 OBJ_SEC_VALUE_LEN(secretkey) = keylen; in soft_ec_key_derive()
|
H A D | softObject.h | 665 #define OBJ_SEC_VALUE_LEN(o) \ macro
|
H A D | softAttributeUtil.c | 1153 OBJ_SEC_VALUE_LEN(object_p) > 0) { in soft_cleanup_object_bigint_attrs() 1155 OBJ_SEC_VALUE_LEN(object_p)); in soft_cleanup_object_bigint_attrs() 4383 OBJ_SEC_VALUE_LEN(object_p), 6675 OBJ_SEC_VALUE_LEN(obj)) {
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelObjectUtil.c | 80 bzero(OBJ_SEC_VALUE(objp), OBJ_SEC_VALUE_LEN(objp)); in kernel_cleanup_object() 83 OBJ_SEC_VALUE_LEN(objp) = 0; in kernel_cleanup_object() 1035 obj_size += OBJ_SEC_VALUE_LEN(obj); in kernel_get_object_size()
|
H A D | kernelSoftCommon.c | 136 OBJ_SEC_VALUE_LEN(key_p) = klen; in do_soft_hmac_init()
|
H A D | kernelAttributeUtil.c | 2785 OBJ_SEC_VALUE_LEN(object_p); in kernel_get_secret_key_attribute() 2795 OBJ_SEC_VALUE_LEN(object_p)) { in kernel_get_secret_key_attribute() 2798 OBJ_SEC_VALUE_LEN(object_p)); in kernel_get_secret_key_attribute() 2800 OBJ_SEC_VALUE_LEN(object_p); in kernel_get_secret_key_attribute() 2815 return (get_ulong_attr_from_object(OBJ_SEC_VALUE_LEN(object_p), in kernel_get_secret_key_attribute() 3850 OBJ_SEC_VALUE_LEN(obj)) { in kernel_find_match_attrs()
|
H A D | kernelDigest.c | 490 ulPartLen = OBJ_SEC_VALUE_LEN(key_p); in C_DigestKey()
|
H A D | kernelObject.h | 260 #define OBJ_SEC_VALUE_LEN(o) \ macro
|