Home
last modified time | relevance | path

Searched refs:pubexpo_bytes (Results 1 – 5 of 5) 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()
435 CHARLEN2BIGNUMLEN(bkey->pubexpo_bytes)) != BIG_OK) { in rsa_genkey_pair()
439 bytestring2bignum(&public_exponent, bkey->pubexpo, bkey->pubexpo_bytes); in rsa_genkey_pair()
456 bkey->pubexpo_bytes = rsakey.e.len * (int)sizeof (BIG_CHUNK_TYPE); 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()
508 if (bkey->pubexpo_bytes > modulus_bytes) { in rsa_encrypt()
526 bytestring2bignum(&(rsakey.e), bkey->pubexpo, bkey->pubexpo_bytes); in rsa_encrypt()
H A Drsa_impl.h105 uint32_t pubexpo_bytes; member
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c76 k.pubexpo_bytes = expo_len; in soft_rsa_encrypt()
881 k.pubexpo_bytes = pub_expo_len; in soft_rsa_genkey_pair()
925 pub_expo, k.pubexpo_bytes, B_FALSE)) != CKR_OK) { in soft_rsa_genkey_pair()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c685 k.pubexpo_bytes = expo_len; in core_rsa_encrypt()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c2787 rsa.pubexpo_bytes = sizeof (exp); in token_specific_rsa_verify_recover()