Home
last modified time | relevance | path

Searched refs:pubexpo (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/common/crypto/rsa/
H A Drsa_impl.c413 if (bkey->pubexpo_bytes == 0 || bkey->pubexpo == NULL) in rsa_genkey_pair()
439 bytestring2bignum(&public_exponent, bkey->pubexpo, bkey->pubexpo_bytes); in rsa_genkey_pair()
457 bignum2bytestring(bkey->pubexpo, &(rsakey.e), bkey->pubexpo_bytes); in rsa_genkey_pair()
502 bkey->pubexpo_bytes == 0 || bkey->pubexpo == NULL) in rsa_encrypt()
526 bytestring2bignum(&(rsakey.e), bkey->pubexpo, bkey->pubexpo_bytes); in rsa_encrypt()
H A Drsa_impl.h106 uchar_t *pubexpo; /* e */ member
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1023 biginteger_t pubexpo; in kernel_build_public_key_object() local
1036 (void) memset(&pubexpo, 0x0, sizeof (biginteger_t)); in kernel_build_public_key_object()
1138 rv = get_bigint_attr_from_template(&pubexpo, in kernel_build_public_key_object()
1250 copy_bigint_attr(&pubexpo, in kernel_build_public_key_object()
1331 bigint_attr_cleanup(&pubexpo); in kernel_build_public_key_object()
1403 biginteger_t pubexpo; in kernel_build_private_key_object() local
1421 (void) memset(&pubexpo, 0x0, sizeof (biginteger_t)); in kernel_build_private_key_object()
1540 rv = get_bigint_attr_from_template(&pubexpo, in kernel_build_private_key_object()
1700 copy_bigint_attr(&pubexpo, KEY_PRI_RSA_PUBEXPO(pvk)); in kernel_build_private_key_object()
1805 bigint_attr_cleanup(&pubexpo); in kernel_build_private_key_object()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c1350 biginteger_t pubexpo; in soft_unpack_object() local
1368 (void) memset(&pubexpo, 0x0, sizeof (biginteger_t)); in soft_unpack_object()
1409 if ((rv = soft_unpack_obj_attribute(buf, &pubexpo, in soft_unpack_object()
1413 copy_bigint_attr(&pubexpo, KEY_PUB_RSA_PUBEXPO(pbk)); in soft_unpack_object()
1554 if ((rv = soft_unpack_obj_attribute(buf, &pubexpo, in soft_unpack_object()
1558 copy_bigint_attr(&pubexpo, KEY_PRI_RSA_PUBEXPO(pvk)); in soft_unpack_object()
1832 bigint_attr_cleanup(&pubexpo); in soft_unpack_object()
1851 bigint_attr_cleanup(&pubexpo); in soft_unpack_object()
H A DsoftAttributeUtil.c1296 biginteger_t pubexpo; local
1315 (void) memset(&pubexpo, 0x0, sizeof (biginteger_t));
1437 rv = get_bigint_attr_from_template(&pubexpo,
1598 copy_bigint_attr(&pubexpo,
1631 rv = get_bigint_attr_from_template(&pubexpo,
1640 copy_bigint_attr(&pubexpo, KEY_PUB_RSA_PUBEXPO(pbk));
1803 bigint_attr_cleanup(&pubexpo);
1875 biginteger_t pubexpo; local
1895 (void) memset(&pubexpo, 0x0, sizeof (biginteger_t));
2036 rv = get_bigint_attr_from_template(&pubexpo,
[all …]
H A DsoftRSA.c75 k.pubexpo = expo; in soft_rsa_encrypt()
880 k.pubexpo = pub_expo; in soft_rsa_genkey_pair()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c684 k.pubexpo = expo; in core_rsa_encrypt()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c2786 rsa.pubexpo = exp; in token_specific_rsa_verify_recover()