Home
last modified time | relevance | path

Searched refs:CKA_PUBLIC_EXPONENT (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c1120 found = template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, &attr); in rsa_publ_check_required_attributes()
1174 public_exp_attr->type = CKA_PUBLIC_EXPONENT; in rsa_publ_set_default_attributes()
1214 case CKA_PUBLIC_EXPONENT: in rsa_publ_validate_attribute()
1256 found = template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, &attr); in rsa_priv_check_required_attributes()
1338 public_exp_attr->type = CKA_PUBLIC_EXPONENT; in rsa_priv_set_default_attributes()
1369 case CKA_PUBLIC_EXPONENT: in rsa_priv_validate_attribute()
1445 if (template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, in rsa_priv_wrap_get_data()
H A Dutility.c299 case CKA_PUBLIC_EXPONENT: in is_attribute_defined()
H A Dasn1.c1174 rc = build_attribute(CKA_PUBLIC_EXPONENT, tmp, len, &e_attr); in ber_decode_RSAPrivateKey()
H A Dtpm_specific.c464 flag = template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, in util_check_public_exponent()
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c63 CKA_PUBLIC_EXPONENT,
102 CKA_PUBLIC_EXPONENT,
125 CKA_PUBLIC_EXPONENT,
1136 case CKA_PUBLIC_EXPONENT: in kernel_build_public_key_object()
1538 case CKA_PUBLIC_EXPONENT: in kernel_build_private_key_object()
2360 case CKA_PUBLIC_EXPONENT: in kernel_get_public_key_attribute()
2549 case CKA_PUBLIC_EXPONENT: in kernel_get_private_key_attribute()
3001 case CKA_PUBLIC_EXPONENT: in kernel_set_public_key_attribute()
3092 case CKA_PUBLIC_EXPONENT: in kernel_set_private_key_attribute()
3913 case CKA_PUBLIC_EXPONENT: in kernel_find_match_attrs()
H A DkernelKeys.c573 has_pub_exponent = attribute_in_template(CKA_PUBLIC_EXPONENT, in key_gen_rsa_by_value()
605 pubTemplate[n].type = CKA_PUBLIC_EXPONENT; in key_gen_rsa_by_value()
805 rv = copy_attribute(CKA_PUBLIC_EXPONENT, pubTemplate, in key_gen_rsa_by_value()
H A DkernelUtil.c451 ENCODE_ATTR(CKA_PUBLIC_EXPONENT, big->big_value, big->big_value_len); in get_rsa_public_key()
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c55 rv = soft_get_public_value(key, CKA_PUBLIC_EXPONENT, expo, in soft_rsa_encrypt()
764 case CKA_PUBLIC_EXPONENT: in soft_genRSAkey_set_attribute()
870 rv = soft_get_public_value(pubkey, CKA_PUBLIC_EXPONENT, pub_expo, in soft_rsa_genkey_pair()
924 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_PUBLIC_EXPONENT, in soft_rsa_genkey_pair()
H A DsoftAttributeUtil.c67 CKA_PUBLIC_EXPONENT,
107 CKA_PUBLIC_EXPONENT,
130 CKA_PUBLIC_EXPONENT,
1319 CK_ATTRIBUTE defpubexpo = { CKA_PUBLIC_EXPONENT,
1446 case CKA_PUBLIC_EXPONENT:
2044 case CKA_PUBLIC_EXPONENT:
3916 case CKA_PUBLIC_EXPONENT:
4124 case CKA_PUBLIC_EXPONENT:
4851 case CKA_PUBLIC_EXPONENT:
4948 case CKA_PUBLIC_EXPONENT:
[all …]
/titanic_50/usr/src/uts/common/crypto/io/
H A Ddca_rsa.c442 if (dca_find_attribute(attr, key->ck_count, CKA_PUBLIC_EXPONENT)) in dca_rsainit()
443 expname = CKA_PUBLIC_EXPONENT; in dca_rsainit()
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrMasters.h404 { { CKA_PUBLIC_EXPONENT, NULL, 0 },
575 { { CKA_PUBLIC_EXPONENT, NULL, 0 },
H A DmetaObjectManager.c930 template[i].type = CKA_PUBLIC_EXPONENT; in create_wrap_unwrap_key()
/titanic_50/usr/src/uts/common/sys/crypto/
H A Ddca.h806 #define CKA_PUBLIC_EXPONENT 0x00000122 macro
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c814 SETATTR(rsaTemplate, 3, CKA_PUBLIC_EXPONENT, in KMFPK11_EncodePubKeyData()
838 SETATTR(rsaTemplate, 3, CKA_PUBLIC_EXPONENT, in KMFPK11_EncodePubKeyData()
1532 CKA_PUBLIC_EXPONENT, in genrsa_keypair()
1537 CKA_PUBLIC_EXPONENT, &PubExpo, sizeof (PubExpo)); in genrsa_keypair()
2456 { CKA_PUBLIC_EXPONENT, NULL, 0 } in get_raw_rsa()
3356 SETATTR(templ, i, CKA_PUBLIC_EXPONENT, in store_raw_key()
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c281 MAX_PUBLIC_KEY_TEMPLATES, CKA_PUBLIC_EXPONENT, in PKCS_CreatePublicKey()
/titanic_50/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h509 #define CKA_PUBLIC_EXPONENT 0x00000122 macro