Home
last modified time | relevance | path

Searched refs:crypto_get_key_attr (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/crypto/io/
H A Drsa.c386 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 Decc.c361 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 *) &params, in ecc_sign_verify_common_init()
655 if ((rv = crypto_get_key_attr(key, CKA_EC_PARAMS, &param, 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 *) &params, in ecc_sign_atomic()
857 if ((rv = crypto_get_key_attr(key, CKA_EC_PARAMS, &param, 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 *) &params, in ecc_verify_atomic()
/titanic_41/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c543 crypto_get_key_attr(crypto_key_t *key, crypto_attr_type_t type, in crypto_get_key_attr() function
H A Dkcf_callprov.c133 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 Dimpl.h1366 extern int crypto_get_key_attr(crypto_key_t *, crypto_attr_type_t, uchar_t **,