Searched refs:prime_bits (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c136 if (bkey->prime_bits == 0 || bkey->prime == NULL ||
140 prime_bytes = CRYPTO_BITS2BYTES(bkey->prime_bits);
151 if ((brv = DH_key_init(&dhkey, bkey->prime_bits)) != BIG_OK) {
267 if (bkey->prime_bits == 0 || bkey->prime == NULL ||
276 prime_bytes = CRYPTO_BITS2BYTES(bkey->prime_bits);
283 if ((brv = DH_key_init(&dhkey, bkey->prime_bits)) != BIG_OK) {
H A Ddh_impl.h79 uint32_t prime_bits; /* size */ member in struct:__anon1953
/illumos-gate/usr/src/common/crypto/dsa/
H A Ddsa_impl.h89 uint32_t prime_bits; /* size */ member in struct:__anon1955
H A Ddsa_impl.c174 prime_bytes = CRYPTO_BITS2BYTES(bkey->prime_bits);
182 * There is no check here that prime_bits must be a multiple of 64,
200 if ((brv = DSA_key_init(&dsakey, bkey->prime_bits)) != BIG_OK) {
265 prime_bytes = CRYPTO_BITS2BYTES(bkey->prime_bits);
282 if ((brv = DSA_key_init(&dsakey, bkey->prime_bits)) != BIG_OK) {
431 prime_bytes = CRYPTO_BITS2BYTES(bkey->prime_bits);
451 if (DSA_key_init(&dsakey, bkey->prime_bits) != BIG_OK) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDH.c149 k.prime_bits = CRYPTO_BYTES2BITS(prime_len);
182 CRYPTO_BITS2BYTES(k.prime_bits), B_FALSE)) != CKR_OK) {
233 k.prime_bits = CRYPTO_BYTES2BITS(privateprimelen);
H A DsoftDSA.c152 k.prime_bits = CRYPTO_BYTES2BITS(plen);
202 k.prime_bits = CRYPTO_BYTES2BITS(plen);
505 k.prime_bits = CRYPTO_BYTES2BITS(prime_len);
532 prime, CRYPTO_BITS2BYTES(k.prime_bits), B_FALSE)) != CKR_OK) {
H A DsoftObject.h204 CK_ULONG prime_bits; member in struct:dsa_dom_key
214 CK_ULONG prime_bits; member in struct:dh_dom_key
225 CK_ULONG prime_bits; member in struct:dh942_dom_key
618 ((o)->object_class_u.domain->key_type_u.dsa_dom_key.prime_bits)
634 ((o)->object_class_u.domain->key_type_u.dh_dom_key.prime_bits)
654 ((o)->object_class_u.domain->key_type_u.dh942_dom_key.prime_bits)
H A DsoftAttributeUtil.c6982 CK_ULONG prime_bits; local
6984 prime_bits =
6987 prime_bits =
6990 prime_bits =
6995 if (prime_bits !=

Completed in 83 milliseconds