Home
last modified time | relevance | path

Searched refs:expo1 (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c97 uchar_t expo1[MAX_KEY_ATTR_BUFLEN]; in soft_rsa_decrypt() local
103 uint32_t expo1_len = sizeof (expo1); in soft_rsa_decrypt()
133 rv = soft_get_private_value(key, CKA_EXPONENT_1, expo1, &expo1_len); in soft_rsa_decrypt()
169 k.expo1 = expo1; in soft_rsa_decrypt()
892 k.expo1 = exponent1; in soft_rsa_genkey_pair()
H A DsoftKeystore.c1359 biginteger_t expo1; in soft_unpack_object() local
1377 (void) memset(&expo1, 0x0, sizeof (biginteger_t)); in soft_unpack_object()
1590 if ((rv = soft_unpack_obj_attribute(buf, &expo1, in soft_unpack_object()
1594 copy_bigint_attr(&expo1, KEY_PRI_RSA_EXPO1(pvk)); in soft_unpack_object()
1854 bigint_attr_cleanup(&expo1); in soft_unpack_object()
H A DsoftAttributeUtil.c1878 biginteger_t expo1; local
1898 (void) memset(&expo1, 0x0, sizeof (biginteger_t));
2069 rv = get_bigint_attr_from_template(&expo1,
2266 copy_bigint_attr(&expo1, KEY_PRI_RSA_EXPO1(pvk));
2471 bigint_attr_cleanup(&expo1);
/illumos-gate/usr/src/common/crypto/rsa/
H A Drsa_impl.h112 uchar_t *expo1; /* = d mod (p - 1) */ member
H A Drsa_impl.c467 bignum2bytestring(bkey->expo1, &(rsakey.dmodqminus1), in rsa_genkey_pair()
571 bkey->expo1_bytes == 0 || bkey->expo1 == NULL || in rsa_decrypt()
605 bkey->expo1, bkey->expo1_bytes); in rsa_decrypt()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c794 uchar_t *modulus, *prime1, *prime2, *expo1, *expo2, *coef; in core_rsa_decrypt() local
816 (crypto_get_key_attr(key, SUN_CKA_EXPONENT_1, &expo1, &expo1_len) in core_rsa_decrypt()
831 k.expo1 = expo1; in core_rsa_decrypt()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1406 biginteger_t expo1; in kernel_build_private_key_object() local
1424 (void) memset(&expo1, 0x0, sizeof (biginteger_t)); in kernel_build_private_key_object()
1572 rv = get_bigint_attr_from_template(&expo1, in kernel_build_private_key_object()
1712 copy_bigint_attr(&expo1, KEY_PRI_RSA_EXPO1(pvk)); in kernel_build_private_key_object()
1808 bigint_attr_cleanup(&expo1); in kernel_build_private_key_object()