Home
last modified time | relevance | path

Searched refs:CKO_SECRET_KEY (Results 1 – 25 of 37) sorted by relevance

12

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c261 CKO_SECRET_KEY, key_type, keylen, SOFT_GEN_KEY, B_FALSE); in soft_genkey()
869 phKey, session_p, CKO_SECRET_KEY, (CK_KEY_TYPE)~0UL, 0, in soft_derivekey()
901 phKey, session_p, CKO_SECRET_KEY, (CK_KEY_TYPE)~0UL, 0, in soft_derivekey()
959 phKey, session_p, CKO_SECRET_KEY, in soft_derivekey()
1255 CK_OBJECT_CLASS keyclass = CKO_SECRET_KEY; in soft_create_hmac_key()
1288 CKO_SECRET_KEY, (CK_KEY_TYPE)CKK_GENERIC_SECRET, 0, in soft_create_hmac_key()
1431 if (hkey_p->class != CKO_SECRET_KEY && hkey_p->class != in soft_wrapkey()
1449 if (hkey_p->class != CKO_SECRET_KEY) in soft_wrapkey()
1456 if (hkey_p->class == CKO_SECRET_KEY) { in soft_wrapkey()
1492 if (wrappingKey_p->class == CKO_SECRET_KEY) { in soft_wrapkey()
[all …]
H A DsoftKeystore.c716 case CKO_SECRET_KEY: in soft_pack_object_size()
1238 case CKO_SECRET_KEY: in soft_pack_object()
1718 case CKO_SECRET_KEY: in soft_unpack_object()
1990 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_gen_crypt_key()
2060 CKO_SECRET_KEY, CKK_AES, 0, SOFT_GEN_KEY, B_TRUE); in soft_gen_crypt_key()
2115 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_gen_hmac_key()
2185 CKO_SECRET_KEY, CKK_GENERIC_SECRET, 0, SOFT_GEN_KEY, B_TRUE); in soft_gen_hmac_key()
H A DsoftSSL.c436 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_ssl_master_key_derive()
556 CKO_SECRET_KEY)) { in soft_ssl_master_key_derive()
631 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_ssl_key_and_mac_derive()
H A DsoftDigestUtil.c475 if (key_p->class != CKO_SECRET_KEY) in soft_digest_key()
H A DsoftAttributeUtil.c1149 case CKO_SECRET_KEY: in soft_cleanup_object_bigint_attrs()
2548 new_object->class = CKO_SECRET_KEY;
3630 case CKO_SECRET_KEY:
3719 case CKO_SECRET_KEY:
4668 case CKO_SECRET_KEY:
5115 case CKO_SECRET_KEY:
6441 CKO_SECRET_KEY;
6673 if (obj->class == CKO_SECRET_KEY) {
6684 case CKO_SECRET_KEY:
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey_mgr.c282 if (class != CKO_SECRET_KEY) { in key_mgr_wrap_key()
383 keyclass = CKO_SECRET_KEY; in key_mgr_unwrap_key()
409 if (keyclass != CKO_SECRET_KEY) { in key_mgr_unwrap_key()
477 case CKO_SECRET_KEY: in key_mgr_unwrap_key()
H A Dtemplate.c384 case CKO_SECRET_KEY: in template_add_default_attributes()
501 } else if (class == CKO_SECRET_KEY) { in template_check_required_attributes()
960 if (class != CKO_PRIVATE_KEY && class != CKO_SECRET_KEY) in template_check_exportability()
978 } else if (class == CKO_SECRET_KEY) { in template_check_exportability()
1137 } else if (class == CKO_SECRET_KEY) { in template_validate_attribute()
H A Ddig_mgr.c465 if (class != CKO_SECRET_KEY) in digest_mgr_digest_key()
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c75 case CKO_SECRET_KEY: in get_master_attributes_by_object()
131 case CKO_SECRET_KEY: in get_master_attributes_by_template()
285 case CKO_SECRET_KEY: in get_master_template_by_type()
424 if (class == CKO_SECRET_KEY) { in get_master_attributes_by_type()
H A DmetaObjectManager.c56 {CKO_SECRET_KEY, CKK_AES, 16, CKM_AES_CBC_PAD, 16, B_FALSE, B_FALSE},
57 {CKO_SECRET_KEY, CKK_DES3, 24, CKM_DES3_CBC_PAD, 8, B_FALSE, B_FALSE},
58 {CKO_SECRET_KEY, CKK_DES, 8, CKM_DES_CBC_PAD, 8, B_FALSE, B_FALSE},
65 {CKO_SECRET_KEY, CKK_SKIPJACK, 12, CKM_SKIPJACK_WRAP, 0,
67 {CKO_SECRET_KEY, CKK_BATON, 40, CKM_BATON_WRAP, 0,
69 {CKO_SECRET_KEY, CKK_JUNIPER, 40, CKM_JUNIPER_WRAP, 0,
321 case CKO_SECRET_KEY: in meta_object_get_attr()
905 if (objclass == CKO_SECRET_KEY) { in create_wrap_unwrap_key()
1180 if (obj_class == CKO_SECRET_KEY) { in get_wrap_mechanism()
1299 if (wrap_info.class == CKO_SECRET_KEY) { in clone_by_wrap()
[all …]
H A DmetaAttrMasters.h749 unused, CKO_SECRET_KEY, { unused } },
770 unused, CKO_SECRET_KEY, { unused } },
H A Dpkcs11SUNWExtensions.c37 static CK_OBJECT_CLASS objclass = CKO_SECRET_KEY;
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelVerify.c91 if (key_p->class == CKO_SECRET_KEY) { in C_VerifyInit()
145 if (key_p->is_lib_obj && key_p->class == CKO_SECRET_KEY) { in C_VerifyInit()
158 if (key_p->class == CKO_SECRET_KEY) { in C_VerifyInit()
H A DkernelEncrypt.c94 if (key_p->class == CKO_SECRET_KEY) { in C_EncryptInit()
146 if (key_p->class == CKO_SECRET_KEY) { in C_EncryptInit()
H A DkernelSign.c94 if (key_p->class == CKO_SECRET_KEY) { in C_SignInit()
142 if (key_p->is_lib_obj && key_p->class == CKO_SECRET_KEY) { in C_SignInit()
154 if (key_p->class == CKO_SECRET_KEY) { in C_SignInit()
H A DkernelDecrypt.c74 if (key_p->class == CKO_SECRET_KEY) { in kernel_decrypt_init()
124 if (key_p->class == CKO_SECRET_KEY) { in kernel_decrypt_init()
H A DkernelObjectUtil.c78 if (objp->class == CKO_SECRET_KEY) { in kernel_cleanup_object()
164 case CKO_SECRET_KEY: in kernel_copy_object()
1034 case CKO_SECRET_KEY: in kernel_get_object_size()
H A DkernelSoftCommon.c130 key_p->class = CKO_SECRET_KEY; in do_soft_hmac_init()
H A DkernelAttributeUtil.c1869 new_object->class = CKO_SECRET_KEY; in kernel_build_secret_key_object()
2171 case CKO_SECRET_KEY: in kernel_build_object()
2862 case CKO_SECRET_KEY: in kernel_get_attribute()
3249 case CKO_SECRET_KEY: in kernel_set_attribute()
3656 CKO_SECRET_KEY; in kernel_process_find_attr()
3848 if (obj->class == CKO_SECRET_KEY) { in kernel_find_match_attrs()
3859 case CKO_SECRET_KEY: in kernel_find_match_attrs()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c59 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in krb5int_pbkdf2_hmac_sha1()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c115 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in init_key_uef()
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c237 uri->objecttype = CKO_SECRET_KEY; in pkcs11_parse_uri()
/titanic_41/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c285 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in get_token_key()
613 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in execute_cmd()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c29 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in setup_arcfour_crypto()
/titanic_41/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c343 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in get_token_key()
836 CK_OBJECT_CLASS objclass = CKO_SECRET_KEY; in execute_cmd()

12