Searched refs:sk_value_len (Results 1 – 10 of 10) sorted by relevance
198 if (OBJ_SEC(key)->sk_value_len > MD5_SSL_PAD_AND_KEY_SIZE) { in mac_init_ctx()207 OBJ_SEC(key)->sk_value_len); in mac_init_ctx()208 (void) memcpy(&md5_ipad[OBJ_SEC(key)->sk_value_len], in mac_init_ctx()211 OBJ_SEC(key)->sk_value_len); in mac_init_ctx()212 (void) memcpy(&md5_opad[OBJ_SEC(key)->sk_value_len], in mac_init_ctx()231 if (OBJ_SEC(key)->sk_value_len > MD5_HMAC_BLOCK_SIZE) { in mac_init_ctx()242 OBJ_SEC(key)->sk_value_len, (CK_BYTE_PTR)md5_ipad, in mac_init_ctx()250 OBJ_SEC(key)->sk_value_len); in mac_init_ctx()252 OBJ_SEC(key)->sk_value_len); in mac_init_ctx()264 if (OBJ_SEC(key)->sk_value_len > SHA1_HMAC_BLOCK_SIZE) { in mac_init_ctx()[all …]
2673 rv = get_ulong_attr_from_template(&sck->sk_value_len,2736 if (isValueLen && sck->sk_value_len != key_len) {2741 sck->sk_value_len = key_len;2778 if ((sck->sk_value_len < ARCFOUR_MIN_KEY_BYTES) ||2779 (sck->sk_value_len > ARCFOUR_MAX_KEY_BYTES)) {2797 if ((sck->sk_value_len != AES_MIN_KEY_BYTES) &&2798 (sck->sk_value_len != AES_192_KEY_BYTES) &&2799 (sck->sk_value_len != AES_MAX_KEY_BYTES)) {2810 if ((sck->sk_value_len < BLOWFISH_MINBYTES) ||2811 (sck->sk_value_len > BLOWFISH_MAXBYTES)) {[all …]
60 CK_ULONG sk_value_len; member666 ((o)->object_class_u.secret_key->sk_value_len)
1982 sck->sk_value_len = template[i].ulValueLen; in kernel_build_secret_key_object()2021 if ((sck->sk_value_len < ARCFOUR_MIN_KEY_BYTES) || in kernel_build_secret_key_object()2022 (sck->sk_value_len > ARCFOUR_MAX_KEY_BYTES)) { in kernel_build_secret_key_object()2040 if (sck->sk_value_len < AES_MIN_KEY_BYTES) { in kernel_build_secret_key_object()2051 if (sck->sk_value_len < BLOWFISH_MINBYTES) { in kernel_build_secret_key_object()2062 if (sck->sk_value_len != DES_KEYSIZE) { in kernel_build_secret_key_object()2073 if (sck->sk_value_len != DES2_KEYSIZE) { in kernel_build_secret_key_object()2084 if (sck->sk_value_len != DES3_KEYSIZE) { in kernel_build_secret_key_object()3550 sk->sk_value = malloc((sizeof (CK_BYTE) * sk->sk_value_len)); in kernel_copy_secret_key_attr()3556 (sizeof (CK_BYTE) * sk->sk_value_len)); in kernel_copy_secret_key_attr()
52 CK_ULONG sk_value_len; member261 (o->object_class_u.secret_key->sk_value_len)
103 OBJ_SEC(key_p)->sk_value_len << 3; in C_EncryptInit()
84 OBJ_SEC(key_p)->sk_value_len << 3; in kernel_decrypt_init()
268 cipherKey = malloc(OBJ_SEC(key_p)->sk_value_len); in get_symmetric_key_value()273 OBJ_SEC(key_p)->sk_value_len); in get_symmetric_key_value()
100 OBJ_SEC(key_p)->sk_value_len << 3; in C_VerifyInit()
103 OBJ_SEC(key_p)->sk_value_len << 3; in C_SignInit()