/titanic_44/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 211 bytestring2bignum(&(dsakey.p), bkey->prime, prime_bytes); in dsa_genkey_pair() 219 bytestring2bignum(&(dsakey.q), bkey->subprime, subprime_bytes); in dsa_genkey_pair() 227 bytestring2bignum(&(dsakey.g), bkey->base, bkey->base_bytes); in dsa_genkey_pair() 291 bytestring2bignum(&(dsakey.p), bkey->prime, prime_bytes); in dsa_sign() 298 bytestring2bignum(&(dsakey.q), bkey->subprime, subprime_bytes); in dsa_sign() 305 bytestring2bignum(&(dsakey.g), bkey->base, bkey->base_bytes); in dsa_sign() 312 bytestring2bignum(&(dsakey.x), bkey->private_x, value_bytes); in dsa_sign() 318 bytestring2bignum(&msg, in, inlen); in dsa_sign() 460 bytestring2bignum(&(dsakey.p), bkey->prime, prime_bytes); in dsa_verify() 467 bytestring2bignum(&(dsakey.q), bkey->subprime, subprime_bytes); in dsa_verify() [all …]
|
/titanic_44/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 439 bytestring2bignum(&public_exponent, bkey->pubexpo, bkey->pubexpo_bytes); in rsa_genkey_pair() 523 bytestring2bignum(&msg, in, in_len); in rsa_encrypt() 526 bytestring2bignum(&(rsakey.e), bkey->pubexpo, bkey->pubexpo_bytes); in rsa_encrypt() 527 bytestring2bignum(&(rsakey.n), bkey->modulus, modulus_bytes); in rsa_encrypt() 591 bytestring2bignum(&msg, in, in_len); in rsa_decrypt() 594 bytestring2bignum(&(rsakey.n), bkey->modulus, modulus_bytes); in rsa_decrypt() 602 bytestring2bignum(&(rsakey.q), bkey->prime1, bkey->prime1_bytes); in rsa_decrypt() 603 bytestring2bignum(&(rsakey.p), bkey->prime2, bkey->prime2_bytes); in rsa_decrypt() 604 bytestring2bignum(&(rsakey.dmodqminus1), in rsa_decrypt() 606 bytestring2bignum(&(rsakey.dmodpminus1), in rsa_decrypt() [all …]
|
/titanic_44/usr/src/common/crypto/dh/ |
H A D | dh_impl.c | 162 bytestring2bignum(&(dhkey.p), bkey->prime, prime_bytes); in dh_genkey_pair() 170 bytestring2bignum(&(dhkey.g), bkey->base, bkey->base_bytes); in dh_genkey_pair() 294 bytestring2bignum(&(dhkey.p), bkey->prime, prime_bytes); in dh_key_derive() 302 bytestring2bignum(&(dhkey.x), bkey->private_x, value_bytes); in dh_key_derive() 310 bytestring2bignum(&(dhkey.y), bkey->public_y, prime_bytes); in dh_key_derive()
|
/titanic_44/usr/src/lib/pkcs11/libsoftcrypto/common/ |
H A D | mapfile-vers | 78 bytestring2bignum;
|
/titanic_44/usr/src/common/bignum/ |
H A D | bignum.h | 138 void bytestring2bignum(BIGNUM *bn, uchar_t *kn, size_t len);
|
H A D | bignumimpl.c | 307 bytestring2bignum(BIGNUM *bn, uchar_t *kn, size_t len) in bytestring2bignum() function
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.c | 5579 bytestring2bignum(&a, (unsigned char *)dhval, *dhvallen); in emlxs_BIGNUM_get_pubkey() 5602 bytestring2bignum(&e, (unsigned char *)random_number, hash_size); in emlxs_BIGNUM_get_pubkey() 5607 bytestring2bignum(&e, (unsigned char *)myrand, hash_size); in emlxs_BIGNUM_get_pubkey() 5647 bytestring2bignum(&n, (unsigned char *)tmp, plen); in emlxs_BIGNUM_get_pubkey() 5720 bytestring2bignum(&g, in emlxs_BIGNUM_get_pubkey() 5821 bytestring2bignum(&g, (unsigned char *)gen, sizeof (BIG_CHUNK_TYPE)); in emlxs_BIGNUM_get_dhval() 5832 bytestring2bignum(&e, (unsigned char *)priv_key, privkey_len); in emlxs_BIGNUM_get_dhval() 5865 bytestring2bignum(&n, (unsigned char *)tmp, plen); in emlxs_BIGNUM_get_dhval() 5956 bytestring2bignum(&a, (unsigned char *)dhval, dhvallen); in emlxs_BIGNUM_pubkey() 5967 bytestring2bignum(&e, (unsigned char *)key, key_size); in emlxs_BIGNUM_pubkey() [all …]
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 2564 bytestring2bignum(&p, rawdsa->prime.val, rawdsa->prime.len); in compute_dsa_pubvalue() 2570 bytestring2bignum(&g, rawdsa->base.val, rawdsa->base.len); in compute_dsa_pubvalue() 2576 bytestring2bignum(&x, rawdsa->value.val, rawdsa->value.len); in compute_dsa_pubvalue()
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAttributeUtil.c | 1593 bytestring2bignum(&n, modulus.big_value, 2334 bytestring2bignum(&x, value.big_value, 2336 bytestring2bignum(&q, subprime.big_value,
|