Searched refs:rawrsa (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 2449 get_raw_rsa(KMF_HANDLE *kmfh, CK_OBJECT_HANDLE obj, KMF_RAW_RSA_KEY *rawrsa) in get_raw_rsa() argument 2461 if (rawrsa == NULL) in get_raw_rsa() 2464 (void) memset(rawrsa, 0, sizeof (KMF_RAW_RSA_KEY)); in get_raw_rsa() 2498 attr2bigint(&(rsa_pri_attrs[i++]), &rawrsa->mod); in get_raw_rsa() 2499 attr2bigint(&(rsa_pri_attrs[i++]), &rawrsa->pubexp); in get_raw_rsa() 2502 rv = get_bigint_attr(sess, obj, CKA_PRIVATE_EXPONENT, &rawrsa->priexp); in get_raw_rsa() 2505 rv = get_bigint_attr(sess, obj, CKA_PRIME_1, &rawrsa->prime1); in get_raw_rsa() 2508 rv = get_bigint_attr(sess, obj, CKA_PRIME_2, &rawrsa->prime2); in get_raw_rsa() 2511 rv = get_bigint_attr(sess, obj, CKA_EXPONENT_1, &rawrsa->exp1); in get_raw_rsa() 2514 rv = get_bigint_attr(sess, obj, CKA_EXPONENT_2, &rawrsa->exp2); in get_raw_rsa() [all …]
|