Searched refs:CHARLEN2BIGNUMLEN (Results 1 – 7 of 7) sorted by relevance
/titanic_44/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 207 CHARLEN2BIGNUMLEN(prime_bytes))) != BIG_OK) { in dsa_genkey_pair() 215 CHARLEN2BIGNUMLEN(subprime_bytes))) != BIG_OK) { in dsa_genkey_pair() 223 CHARLEN2BIGNUMLEN(bkey->base_bytes))) != BIG_OK) { in dsa_genkey_pair() 287 CHARLEN2BIGNUMLEN(prime_bytes))) != BIG_OK) { in dsa_sign() 294 CHARLEN2BIGNUMLEN(subprime_bytes))) != BIG_OK) { in dsa_sign() 301 CHARLEN2BIGNUMLEN(bkey->base_bytes))) != BIG_OK) { in dsa_sign() 308 CHARLEN2BIGNUMLEN(value_bytes))) != BIG_OK) { in dsa_sign() 323 if ((brv = big_init(&tmp, CHARLEN2BIGNUMLEN(prime_bytes) + in dsa_sign() 456 CHARLEN2BIGNUMLEN(prime_bytes))) != BIG_OK) { in dsa_verify() 463 CHARLEN2BIGNUMLEN(subprime_bytes))) != BIG_OK) { in dsa_verify() [all …]
|
/titanic_44/usr/src/common/crypto/dh/ |
H A D | dh_impl.c | 157 if ((brv = big_extend(&(dhkey.p), CHARLEN2BIGNUMLEN(prime_bytes))) != in dh_genkey_pair() 166 CHARLEN2BIGNUMLEN(bkey->base_bytes))) != BIG_OK) { in dh_genkey_pair() 202 if ((brv = big_extend(&(dhkey.y), CHARLEN2BIGNUMLEN(prime_bytes))) in dh_genkey_pair() 289 if ((brv = big_extend(&(dhkey.p), CHARLEN2BIGNUMLEN(prime_bytes))) != in dh_key_derive() 297 if ((brv = big_extend(&(dhkey.x), CHARLEN2BIGNUMLEN(value_bytes))) != in dh_key_derive() 305 if ((brv = big_extend(&(dhkey.y), CHARLEN2BIGNUMLEN(prime_bytes))) != in dh_key_derive() 316 if ((brv = big_extend(&(dhkey.g), CHARLEN2BIGNUMLEN(prime_bytes))) != in dh_key_derive()
|
/titanic_44/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 435 CHARLEN2BIGNUMLEN(bkey->pubexpo_bytes)) != BIG_OK) { in rsa_genkey_pair() 519 if (big_init(&msg, CHARLEN2BIGNUMLEN(in_len)) != BIG_OK) { in rsa_encrypt() 586 if (big_init(&msg, CHARLEN2BIGNUMLEN(in_len)) != BIG_OK) { in rsa_decrypt()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.c | 5565 if (big_init(&a, CHARLEN2BIGNUMLEN(*dhvallen)) != BIG_OK) { in emlxs_BIGNUM_get_pubkey() 5568 CHARLEN2BIGNUMLEN(*dhvallen)); in emlxs_BIGNUM_get_pubkey() 5581 if (big_init(&e, CHARLEN2BIGNUMLEN(hash_size)) != BIG_OK) { in emlxs_BIGNUM_get_pubkey() 5584 CHARLEN2BIGNUMLEN(hash_size)); in emlxs_BIGNUM_get_pubkey() 5640 if (big_init(&n, CHARLEN2BIGNUMLEN(plen)) != BIG_OK) { in emlxs_BIGNUM_get_pubkey() 5643 CHARLEN2BIGNUMLEN(plen)); in emlxs_BIGNUM_get_pubkey() 5649 if (big_init(&result, CHARLEN2BIGNUMLEN(512)) != BIG_OK) { in emlxs_BIGNUM_get_pubkey() 5652 CHARLEN2BIGNUMLEN(512)); in emlxs_BIGNUM_get_pubkey() 5712 if (big_init(&result1, CHARLEN2BIGNUMLEN(512)) != BIG_OK) { in emlxs_BIGNUM_get_pubkey() 5715 CHARLEN2BIGNUMLEN(512)); in emlxs_BIGNUM_get_pubkey() [all …]
|
/titanic_44/usr/src/common/bignum/ |
H A D | bignum.h | 68 #define CHARLEN2BIGNUMLEN(x) ((x) > 0 ? \ macro
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAttributeUtil.c | 1583 if (big_init(&n, (int)CHARLEN2BIGNUMLEN( 1586 if (big_init(&n, CHARLEN2BIGNUMLEN( 2312 (int)CHARLEN2BIGNUMLEN(value.big_value_len)) 2316 CHARLEN2BIGNUMLEN(value.big_value_len)) 2324 (int)CHARLEN2BIGNUMLEN(subprime.big_value_len)) 2328 CHARLEN2BIGNUMLEN(subprime.big_value_len))
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 2544 #define DSA_PRIME_BUFSIZE CHARLEN2BIGNUMLEN(1024) /* 8192 bits */
|