/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 310 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 D | kernelVerify.c | 88 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 D | kernelEncrypt.c | 91 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 D | kernelSign.c | 91 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 D | kernelDecrypt.c | 71 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 D | kernelKeys.c | 1710 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 D | kernelDigest.c | 476 digest_key.dk_key.ck_format = CRYPTO_KEY_REFERENCE; in C_DigestKey()
|
/titanic_41/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 285 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 D | common.h | 330 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 D | net80211_crypto_ccmp.c | 245 crkey.ck_format = CRYPTO_KEY_RAW; in aes_ccm_encrypt() 298 crkey.ck_format = CRYPTO_KEY_RAW; in aes_ccm_decrypt()
|
H A D | net80211_crypto_wep.c | 331 crkey.ck_format = CRYPTO_KEY_RAW; in rc4_init()
|
/titanic_41/usr/src/uts/common/inet/kssl/ |
H A D | ksslioctl.c | 295 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 D | ksslrec.c | 1174 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 D | encrypt.c | 95 key->kef_key.ck_format = CRYPTO_KEY_RAW; in init_key_kef()
|
/titanic_41/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | common.c | 230 switch (key.ck_format) { in crypto_key()
|
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | md5_mod.c | 913 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 D | sha1_mod.c | 856 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 D | sha2_mod.c | 944 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 D | blowfish.c | 246 switch (key->ck_format) { in init_keysched() 286 if (key->ck_format != CRYPTO_KEY_RAW) { in blowfish_common_init()
|
H A D | ecc.c | 355 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 D | arcfour.c | 209 if (key->ck_format != CRYPTO_KEY_RAW) in rc4_common_init()
|
H A D | aes.c | 307 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 D | des_crypt.c | 396 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 D | cryptmod.c | 923 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 D | kcf_miscapi.c | 514 (key->ck_format == CRYPTO_KEY_REFERENCE)) in crypto_key_check() 592 (key->ck_format == CRYPTO_KEY_REFERENCE)) in crypto_key_check_prov()
|