Searched refs:subprime (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c153 k.subprime = q;
203 k.subprime = q;
469 uchar_t subprime[MAX_KEY_ATTR_BUFLEN]; local
470 uint32_t subprime_len = sizeof (subprime);
483 /* lookup prime, subprime and base */
490 rv = soft_get_public_value(pubkey, CKA_SUBPRIME, subprime,
506 k.subprime = subprime;
536 if ((rv = soft_genDSAkey_set_attribute(prikey, CKA_SUBPRIME, subprime,
H A DsoftObject.h81 biginteger_t subprime; member in struct:dsa_pub_key
103 biginteger_t subprime; member in struct:dh942_pub_key
149 biginteger_t subprime; member in struct:dsa_pri_key
171 biginteger_t subprime; member in struct:dh942_pri_key
202 biginteger_t subprime; member in struct:dsa_dom_key
224 biginteger_t subprime; member in struct:dh942_dom_key
418 &((o)->object_class_u.public_key->key_type_u.dsa_pub_key.subprime)
420 &((k)->key_type_u.dsa_pub_key.subprime)
462 &((o)->object_class_u.public_key->key_type_u.dh942_pub_key.subprime)
464 &((k)->key_type_u.dh942_pub_key.subprime)
[all...]
H A DsoftAttributeUtil.c1309 biginteger_t subprime; local
1328 (void) memset(&subprime, 0x0, sizeof (biginteger_t));
1464 rv = get_bigint_attr_from_template(&subprime,
1685 copy_bigint_attr(&subprime, KEY_PUB_DSA_SUBPRIME(pbk));
1756 copy_bigint_attr(&subprime, KEY_PUB_DH942_SUBPRIME(pbk));
1816 bigint_attr_cleanup(&subprime);
1882 biginteger_t subprime; local
1903 (void) memset(&subprime, 0x0, sizeof (biginteger_t));
2112 rv = get_bigint_attr_from_template(&subprime,
2307 * The private value x must be less than subprime
3190 biginteger_t subprime; local
[all...]
H A DsoftKeystore.c584 * prime_len + prime + subprime_len + subprime +
619 * subprime_len + subprime + value_len + value
663 * prime_len + prime + subprime_len + subprime +
700 * subprime_len + subprime + value_len + value
815 /* subprime_len + subprime */
933 /* subprime_len + subprime */
1085 /* subprime_len + subprime */
1208 /* subprime_len + subprime */
1335 biginteger_t subprime; local
1353 (void) memset(&subprime,
[all...]
/illumos-gate/usr/src/common/crypto/dsa/
H A Ddsa_impl.h92 uchar_t *subprime; /* q */ member in struct:__anon1955
H A Ddsa_impl.c135 * Generate DSA private x and public y from prime p, subprime q, and base g.
219 bytestring2bignum(&(dsakey.q), bkey->subprime, subprime_bytes);
298 bytestring2bignum(&(dsakey.q), bkey->subprime, subprime_bytes);
467 bytestring2bignum(&(dsakey.q), bkey->subprime, subprime_bytes);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.h92 biginteger_t subprime; member in struct:dsa_pub_key
147 biginteger_t subprime; member in struct:dsa_pri_key
294 &((o)->object_class_u.public_key->key_type_u.dsa_pub_key.subprime)
296 &((k)->key_type_u.dsa_pub_key.subprime)
385 &((o)->object_class_u.private_key->key_type_u.dsa_pri_key.subprime)
387 &((k)->key_type_u.dsa_pri_key.subprime)
H A DkernelAttributeUtil.c1025 biginteger_t subprime; local
1038 (void) memset(&subprime, 0x0, sizeof (biginteger_t));
1154 rv = get_bigint_attr_from_template(&subprime,
1276 copy_bigint_attr(&subprime, KEY_PUB_DSA_SUBPRIME(pbk));
1333 bigint_attr_cleanup(&subprime);
1399 biginteger_t subprime; local
1418 (void) memset(&subprime, 0x0, sizeof (biginteger_t));
1604 rv = get_bigint_attr_from_template(&subprime,
1739 copy_bigint_attr(&subprime, KEY_PRI_DSA_SUBPRIME(pvk));
1802 bigint_attr_cleanup(&subprime);
[all...]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c446 CK_ATTRIBUTE subprime = { CKA_SUBPRIME, NULL, 0 }; local
502 * subprime.
505 ckKeyHandle, &subprime, 1);
512 datalen = subprime.ulValueLen;
H A Dgeneralop.c1354 kmf_free_bigint(&key->subprime);
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h194 KMF_BIGINT subprime; member in struct:__anon3429
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2015 CK_ATTRIBUTE subprime = { CKA_SUBPRIME, NULL, 0 }; local
2048 * subprime.
2052 &subprime, 1);
2057 hashData.Length = subprime.ulValueLen;
2719 attr2bigint(&(dsa_pri_attrs[i++]), &rawdsa->subprime);
3402 rawkey->rawdata.dsa.subprime.val,
3403 rawkey->rawdata.dsa.subprime.len);
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c3197 if ((dsa->q = BN_bin2bn(key->subprime.val, key->subprime.len,
4135 if ((rv = sslBN2KMFBN(dsa->q, &kmfkey->subprime)) != KMF_OK)

Completed in 160 milliseconds