Home
last modified time | relevance | path

Searched refs:CKA_PRIME (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDH.c63 case CKA_PRIME: in soft_genDHkey_set_attribute()
137 rv = soft_get_public_value(pubkey, CKA_PRIME, prime, &prime_len); in soft_dh_genkey_pair()
181 if ((rv = soft_genDHkey_set_attribute(prikey, CKA_PRIME, prime, in soft_dh_genkey_pair()
219 rv = soft_get_private_value(basekey, CKA_PRIME, privateprime, in soft_dh_key_derive()
H A DsoftDSA.c131 rv = soft_get_private_value(key, CKA_PRIME, p, &plen); in local_dsa_sign()
181 rv = soft_get_public_value(key, CKA_PRIME, p, &plen); in local_dsa_verify()
422 case CKA_PRIME: in soft_genDSAkey_set_attribute()
484 rv = soft_get_public_value(pubkey, CKA_PRIME, prime, &prime_len); in soft_dsa_genkey_pair()
531 if ((rv = soft_genDSAkey_set_attribute(prikey, CKA_PRIME, in soft_dsa_genkey_pair()
H A DsoftAttributeUtil.c75 CKA_PRIME,
109 CKA_PRIME,
133 CKA_PRIME,
179 CKA_PRIME,
1443 case CKA_PRIME:
2091 case CKA_PRIME:
3215 case CKA_PRIME:
3923 case CKA_PRIME:
4193 case CKA_PRIME:
4428 case CKA_PRIME:
[all …]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrMasters.h423 { { CKA_PRIME, NULL, 0 },
477 { { CKA_PRIME, NULL, 0 },
504 { { CKA_PRIME, NULL, 0 },
534 { { CKA_PRIME, NULL, 0 },
609 { { CKA_PRIME, NULL, 0 },
662 { { CKA_PRIME, NULL, 0 },
692 { { CKA_PRIME, NULL, 0 },
722 { { CKA_PRIME, NULL, 0 },
801 { { CKA_PRIME, NULL, 0 },
829 { { CKA_PRIME, NULL, 0 },
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c70 CKA_PRIME,
103 CKA_PRIME,
127 CKA_PRIME,
174 CKA_PRIME,
1144 case CKA_PRIME: in kernel_build_public_key_object()
1594 case CKA_PRIME: in kernel_build_private_key_object()
2378 case CKA_PRIME: in kernel_get_public_key_attribute()
2629 case CKA_PRIME: in kernel_get_private_key_attribute()
3007 case CKA_PRIME: in kernel_set_public_key_attribute()
3105 case CKA_PRIME: in kernel_set_private_key_attribute()
[all …]
H A DkernelUtil.c418 ENCODE_ATTR(CKA_PRIME, big->big_value, big->big_value_len); in get_dsa_private_key()
480 ENCODE_ATTR(CKA_PRIME, big->big_value, big->big_value_len); in get_dsa_public_key()
H A DkernelKeys.c191 tmp.type = CKA_PRIME; in get_key_len_from_template()
948 attribute_in_template(CKA_PRIME, pPrivateKeyTemplate, in key_gen_dh_by_value()
1081 rv = copy_attribute(CKA_PRIME, pubTemplate, pub_attr_count, in key_gen_dh_by_value()
2109 tmp.type = CKA_PRIME; in get_base_key_attributes()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c306 case CKA_PRIME: in is_attribute_defined()
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Ddca.h813 #define CKA_PRIME 0x00000130UL macro
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_dsa.c410 if (dca_attr_lookup_uint8_array(attr, key->ck_count, CKA_PRIME, in dca_dsainit()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c889 SETATTR(dsaTemplate, 2, CKA_PRIME, Prime.Data, in KMFPK11_EncodePubKeyData()
934 SETATTR(dsaTemplate, 2, CKA_PRIME, Prime.Data, in KMFPK11_EncodePubKeyData()
1464 { CKA_PRIME, &ckDsaPrime, sizeof (ckDsaPrime) }, in gendsa_keypair()
2676 { CKA_PRIME, NULL, 0 }, in get_raw_dsa()
3398 SETATTR(templ, i, CKA_PRIME, in store_raw_key()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c290 MAX_PUBLIC_KEY_TEMPLATES, CKA_PRIME, in PKCS_CreatePublicKey()
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h485 #define CKA_PRIME 0x00000130UL macro