Home
last modified time | relevance | path

Searched refs:ck_format (Results 1 – 25 of 34) sorted by relevance

12

/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c310 key->ck_format = CRYPTO_KEY_ATTR_LIST; in get_rsa_private_key()
443 key->ck_format = CRYPTO_KEY_ATTR_LIST; in get_rsa_public_key()
480 if (key->ck_format == CRYPTO_KEY_ATTR_LIST && in free_key_attributes()
521 key->ck_format = CRYPTO_KEY_ATTR_LIST; in get_dsa_private_key()
583 key->ck_format = CRYPTO_KEY_ATTR_LIST; in get_dsa_public_key()
646 key->ck_format = CRYPTO_KEY_ATTR_LIST; in get_ec_private_key()
718 key->ck_format = CRYPTO_KEY_ATTR_LIST; in get_ec_public_key()
H A DkernelVerify.c88 verify_init.vi_key.ck_format = CRYPTO_KEY_REFERENCE; in C_VerifyInit()
92 verify_init.vi_key.ck_format = CRYPTO_KEY_RAW; in C_VerifyInit()
511 vr_init.ri_key.ck_format = CRYPTO_KEY_REFERENCE; in C_VerifyRecoverInit()
H A DkernelEncrypt.c91 encrypt_init.ei_key.ck_format = CRYPTO_KEY_REFERENCE; in C_EncryptInit()
95 encrypt_init.ei_key.ck_format = CRYPTO_KEY_RAW; in C_EncryptInit()
H A DkernelSign.c91 sign_init.si_key.ck_format = CRYPTO_KEY_REFERENCE; in C_SignInit()
95 sign_init.si_key.ck_format = CRYPTO_KEY_RAW; in C_SignInit()
555 sr_init.ri_key.ck_format = CRYPTO_KEY_REFERENCE; in C_SignRecoverInit()
H A DkernelDecrypt.c71 decrypt_init.di_key.ck_format = CRYPTO_KEY_REFERENCE; in kernel_decrypt_init()
75 decrypt_init.di_key.ck_format = CRYPTO_KEY_RAW; in kernel_decrypt_init()
H A DkernelKeys.c1710 obj_wrapkey.wk_wrapping_key.ck_format = CRYPTO_KEY_REFERENCE; in C_WrapKey()
1893 obj_unwrapkey.uk_unwrapping_key.ck_format = CRYPTO_KEY_REFERENCE; in C_UnwrapKey()
2269 obj_ndk.ndk_base_key.ck_format = CRYPTO_KEY_ATTR_LIST; in derive_key_by_value()
2410 obj_dk.dk_base_key.ck_format = CRYPTO_KEY_REFERENCE; in C_DeriveKey()
H A DkernelDigest.c476 digest_key.dk_key.ck_format = CRYPTO_KEY_REFERENCE; in C_DigestKey()
/titanic_41/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c285 ASSERT(in_key->ck_format == CRYPTO_KEY_ATTR_LIST); in crypto_copy_key_to_ctx()
314 key->ck_format = CRYPTO_KEY_ATTR_LIST; in crypto_copy_key_to_ctx()
548 ASSERT(key->ck_format == CRYPTO_KEY_ATTR_LIST); in crypto_get_key_attr()
/titanic_41/usr/src/uts/common/sys/crypto/
H A Dcommon.h330 crypto_key_format_t ck_format; /* format identifier */ member
358 crypto_key_format_t ck_format; /* format identifier */ member
/titanic_41/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_ccmp.c245 crkey.ck_format = CRYPTO_KEY_RAW; in aes_ccm_encrypt()
298 crkey.ck_format = CRYPTO_KEY_RAW; in aes_ccm_decrypt()
H A Dnet80211_crypto_wep.c331 crkey.ck_format = CRYPTO_KEY_RAW; in rc4_init()
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c295 kssl_privkey->ck_format = kssl_params->kssl_privkey.ks_format; in extract_private_key()
298 switch (kssl_privkey->ck_format) { in extract_private_key()
754 s->key.ck_format = CRYPTO_KEY_REFERENCE; in kssl_get_obj_handle()
H A Dksslrec.c1174 S1.ck_format = CRYPTO_KEY_RAW; in kssl_tls_PRF()
1178 S2.ck_format = CRYPTO_KEY_RAW; in kssl_tls_PRF()
1542 spec->hmac_key.ck_format = CRYPTO_KEY_RAW; in kssl_spec_init()
1561 spec->hmac_key.ck_format = CRYPTO_KEY_RAW; in kssl_spec_init()
1572 spec->cipher_key.ck_format = CRYPTO_KEY_RAW; in kssl_spec_init()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c95 key->kef_key.ck_format = CRYPTO_KEY_RAW; in init_key_kef()
/titanic_41/usr/src/cmd/mdb/common/modules/crypto/
H A Dcommon.c230 switch (key.ck_format) { in crypto_key()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dmd5_mod.c913 if (key->ck_format != CRYPTO_KEY_RAW) in md5_mac_init()
1125 if (key->ck_format != CRYPTO_KEY_RAW) in md5_mac_atomic()
1245 if (key->ck_format != CRYPTO_KEY_RAW) in md5_mac_verify_atomic()
1437 if (key->ck_format != CRYPTO_KEY_RAW) in md5_create_ctx_template()
H A Dsha1_mod.c856 if (key->ck_format != CRYPTO_KEY_RAW) in sha1_mac_init()
1067 if (key->ck_format != CRYPTO_KEY_RAW) in sha1_mac_atomic()
1187 if (key->ck_format != CRYPTO_KEY_RAW) in sha1_mac_verify_atomic()
1379 if (key->ck_format != CRYPTO_KEY_RAW) in sha1_create_ctx_template()
H A Dsha2_mod.c944 if (key->ck_format != CRYPTO_KEY_RAW) in sha2_mac_init()
1190 if (key->ck_format != CRYPTO_KEY_RAW) in sha2_mac_atomic()
1332 if (key->ck_format != CRYPTO_KEY_RAW) in sha2_mac_verify_atomic()
1550 if (key->ck_format != CRYPTO_KEY_RAW) in sha2_create_ctx_template()
H A Dblowfish.c246 switch (key->ck_format) { in init_keysched()
286 if (key->ck_format != CRYPTO_KEY_RAW) { in blowfish_common_init()
H A Decc.c355 if (key->ck_format != CRYPTO_KEY_ATTR_LIST) { in check_mech_and_key()
1198 if ((base_key->ck_format != CRYPTO_KEY_ATTR_LIST) || in ecc_nostore_key_derive()
H A Darcfour.c209 if (key->ck_format != CRYPTO_KEY_RAW) in rc4_common_init()
H A Daes.c307 switch (key->ck_format) { in init_keysched()
367 if (key->ck_format != CRYPTO_KEY_RAW) { in aes_common_init()
/titanic_41/usr/src/uts/common/des/
H A Ddes_crypt.c396 switch (key->ck_format) { in init_keysched()
446 if (key->ck_format != CRYPTO_KEY_RAW) { in des_common_init()
1093 if (key->ck_format != CRYPTO_KEY_RAW) in des_key_check()
/titanic_41/usr/src/uts/common/io/
H A Dcryptmod.c923 enckey->ck_format = CRYPTO_KEY_RAW; in create_derived_keys()
958 hmackey->ck_format = CRYPTO_KEY_RAW; in create_derived_keys()
1131 crkey.ck_format = CRYPTO_KEY_RAW; in kef_crypt()
1837 k1.ck_format = CRYPTO_KEY_RAW; in arcfour_hmac_md5_decrypt()
1841 tmi->dec_data.d_encr_key.ck_format = CRYPTO_KEY_RAW; in arcfour_hmac_md5_decrypt()
1922 k2.ck_format = CRYPTO_KEY_RAW; in arcfour_hmac_md5_decrypt()
2082 k2.ck_format = CRYPTO_KEY_RAW; in arcfour_hmac_md5_encrypt()
2114 k1.ck_format = CRYPTO_KEY_RAW; in arcfour_hmac_md5_encrypt()
2117 key->ck_format = CRYPTO_KEY_RAW; in arcfour_hmac_md5_encrypt()
2739 cd->ckey->ck_format = CRYPTO_KEY_RAW; in setup_crypto()
/titanic_41/usr/src/uts/common/crypto/api/
H A Dkcf_miscapi.c514 (key->ck_format == CRYPTO_KEY_REFERENCE)) in crypto_key_check()
592 (key->ck_format == CRYPTO_KEY_REFERENCE)) in crypto_key_check_prov()

12