Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/crypto/rsa/
H A Drsa_impl.c402 RSAkey rsakey; in rsa_genkey_pair() local
428 if (RSA_key_init(&rsakey, modulus_bytes * 4, modulus_bytes * 4) != in rsa_genkey_pair()
442 if ((rv = generate_rsa_key(&rsakey, in rsa_genkey_pair()
451 bignum2bytestring(bkey->modulus, &(rsakey.n), modulus_bytes); in rsa_genkey_pair()
453 bkey->privexpo_bytes = rsakey.d.len * (int)sizeof (BIG_CHUNK_TYPE); in rsa_genkey_pair()
454 bignum2bytestring(bkey->privexpo, &(rsakey.d), bkey->privexpo_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()
459 bkey->prime1_bytes = rsakey.q.len * (int)sizeof (BIG_CHUNK_TYPE); in rsa_genkey_pair()
460 bignum2bytestring(bkey->prime1, &(rsakey.q), bkey->prime1_bytes); in rsa_genkey_pair()
[all …]