Searched refs:crypto_get_key_attr (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | rsa.c | 386 if ((rv = crypto_get_key_attr(key, SUN_CKA_MODULUS, &modulus, in check_mech_and_key() 601 if ((rv = crypto_get_key_attr(key, SUN_CKA_MODULUS, &modulus, in rsa_encrypt_common() 663 if ((rv = crypto_get_key_attr(key, SUN_CKA_PUBLIC_EXPONENT, in core_rsa_encrypt() 672 if ((rv = crypto_get_key_attr(key, SUN_CKA_PRIVATE_EXPONENT, in core_rsa_encrypt() 677 if ((rv = crypto_get_key_attr(key, SUN_CKA_MODULUS, &modulus, in core_rsa_encrypt() 746 if ((rv = crypto_get_key_attr(key, SUN_CKA_MODULUS, &modulus, in rsa_decrypt_common() 800 if ((rv = crypto_get_key_attr(key, SUN_CKA_MODULUS, &modulus, in core_rsa_decrypt() 812 if ((crypto_get_key_attr(key, SUN_CKA_PRIME_1, &prime1, &prime1_len) in core_rsa_decrypt() 814 (crypto_get_key_attr(key, SUN_CKA_PRIME_2, &prime2, &prime2_len) in core_rsa_decrypt() 816 (crypto_get_key_attr(key, SUN_CKA_EXPONENT_1, &expo1, &expo1_len) in core_rsa_decrypt() [all …]
|
H A D | ecc.c | 361 if ((rv = crypto_get_key_attr(key, CKA_EC_POINT, &foo, in check_mech_and_key() 371 if ((rv = crypto_get_key_attr(key, CKA_VALUE, &foo, in check_mech_and_key() 480 if (crypto_get_key_attr(key, CKA_EC_PARAMS, (void *) ¶ms, in ecc_sign_verify_common_init() 655 if ((rv = crypto_get_key_attr(key, CKA_EC_PARAMS, ¶m, in ecc_sign_common() 672 if ((rv = crypto_get_key_attr(key, CKA_VALUE, &private, in ecc_sign_common() 797 if (crypto_get_key_attr(key, CKA_EC_PARAMS, (void *) ¶ms, in ecc_sign_atomic() 857 if ((rv = crypto_get_key_attr(key, CKA_EC_PARAMS, ¶m, in ecc_verify_common() 884 if ((rv = crypto_get_key_attr(key, CKA_EC_POINT, &public, in ecc_verify_common() 994 if (crypto_get_key_attr(key, CKA_EC_PARAMS, (void *) ¶ms, in ecc_verify_atomic()
|
/titanic_41/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 543 crypto_get_key_attr(crypto_key_t *key, crypto_attr_type_t type, in crypto_get_key_attr() function
|
H A D | kcf_callprov.c | 133 if ((crypto_get_key_attr(key, SUN_CKA_MODULUS, in kcf_check_prov_mech_keylen() 142 } else if ((crypto_get_key_attr(key, SUN_CKA_PRIME, in kcf_check_prov_mech_keylen()
|
/titanic_41/usr/src/uts/common/sys/crypto/ |
H A D | impl.h | 1366 extern int crypto_get_key_attr(crypto_key_t *, crypto_attr_type_t, uchar_t **,
|