/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDSA.c | 153 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 D | softObject.h | 81 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 D | softAttributeUtil.c | 1309 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 D | softKeystore.c | 584 * 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 D | dsa_impl.h | 92 uchar_t *subprime; /* q */ member in struct:__anon1955
|
H A D | dsa_impl.c | 135 * 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 D | kernelObject.h | 92 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 D | kernelAttributeUtil.c | 1025 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 D | pk11keys.c | 446 CK_ATTRIBUTE subprime = { CKA_SUBPRIME, NULL, 0 }; local 502 * subprime. 505 ckKeyHandle, &subprime, 1); 512 datalen = subprime.ulValueLen;
|
H A D | generalop.c | 1354 kmf_free_bigint(&key->subprime);
|
/illumos-gate/usr/src/lib/libkmf/include/ |
H A D | kmftypes.h | 194 KMF_BIGINT subprime; member in struct:__anon3429
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 2015 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 D | openssl_spi.c | 3197 if ((dsa->q = BN_bin2bn(key->subprime.val, key->subprime.len, 4135 if ((rv = sslBN2KMFBN(dsa->q, &kmfkey->subprime)) != KMF_OK)
|