Home
last modified time | relevance | path

Searched refs:ck_data (Results 1 – 25 of 33) sorted by relevance

12

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c89 if (key->kef_key.ck_data == NULL) { in init_key_kef()
90 key->kef_key.ck_data = key->contents; in init_key_kef()
198 if (key->kef_key.ck_data == NULL) { in krb5_c_encrypt()
H A Ddecrypt.c60 if (key->kef_key.ck_data == NULL) in krb5_c_decrypt()
H A Dmake_checksum.c98 if (key->kef_key.ck_data == NULL) { in krb5_c_make_checksum()
/titanic_41/usr/src/uts/common/io/
H A Dcryptmod.c239 if (cd->d_encr_key.ck_data != NULL) { in cleanup()
240 bzero(cd->d_encr_key.ck_data, cd->keylen); in cleanup()
241 kmem_free(cd->d_encr_key.ck_data, cd->keylen); in cleanup()
244 if (cd->d_hmac_key.ck_data != NULL) { in cleanup()
245 bzero(cd->d_hmac_key.ck_data, cd->keylen); in cleanup()
246 kmem_free(cd->d_hmac_key.ck_data, cd->keylen); in cleanup()
924 enckey->ck_data = kmem_zalloc(cdata->keylen, KM_SLEEP); in create_derived_keys()
950 enckey->ck_data, keybytes, cdata->blocklen); in create_derived_keys()
959 hmackey->ck_data = kmem_zalloc(cdata->keylen, KM_SLEEP); in create_derived_keys()
962 hmackey->ck_data, keybytes, in create_derived_keys()
[all …]
H A Dlofi.c304 if (lsp->ls_key.ck_data != NULL) { in lofi_free_crypto()
305 bzero(lsp->ls_key.ck_data, in lofi_free_crypto()
307 kmem_free(lsp->ls_key.ck_data, in lofi_free_crypto()
309 lsp->ls_key.ck_data = NULL; in lofi_free_crypto()
1970 lsp->ls_key.ck_data = kmem_alloc( in lofi_init_crypto()
1972 bcopy(klip->li_key, lsp->ls_key.ck_data, in lofi_init_crypto()
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEncrypt.c96 encrypt_init.ei_key.ck_data = in C_EncryptInit()
98 if (encrypt_init.ei_key.ck_data == NULL) { in C_EncryptInit()
147 free(encrypt_init.ei_key.ck_data); in C_EncryptInit()
H A DkernelDecrypt.c76 decrypt_init.di_key.ck_data = in kernel_decrypt_init()
78 if (decrypt_init.di_key.ck_data == NULL) { in kernel_decrypt_init()
125 free(decrypt_init.di_key.ck_data); in kernel_decrypt_init()
H A DkernelVerify.c93 verify_init.vi_key.ck_data = in C_VerifyInit()
95 if (verify_init.vi_key.ck_data == NULL) { in C_VerifyInit()
159 free(verify_init.vi_key.ck_data); in C_VerifyInit()
H A DkernelSign.c96 sign_init.si_key.ck_data = in C_SignInit()
98 if (sign_init.si_key.ck_data == NULL) { in C_SignInit()
155 free(sign_init.si_key.ck_data); in C_SignInit()
H A DkernelEmulate.c129 rv = do_soft_hmac_init(get_spp(opp), pMechanism, keyp->ck_data, in emulate_init()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dmd5_mod.c937 key->ck_data, keylen_in_bytes, digested_key); in md5_mac_init()
942 key->ck_data, keylen_in_bytes); in md5_mac_init()
1140 key->ck_data, keylen_in_bytes, digest); in md5_mac_atomic()
1144 md5_mac_init_ctx(&md5_hmac_ctx, key->ck_data, in md5_mac_atomic()
1260 key->ck_data, keylen_in_bytes, digest); in md5_mac_verify_atomic()
1264 md5_mac_init_ctx(&md5_hmac_ctx, key->ck_data, in md5_mac_verify_atomic()
1457 key->ck_data, keylen_in_bytes, digested_key); in md5_create_ctx_template()
1461 md5_mac_init_ctx(md5_hmac_ctx_tmpl, key->ck_data, in md5_create_ctx_template()
H A Dsha1_mod.c880 key->ck_data, keylen_in_bytes, digested_key); in sha1_mac_init()
885 key->ck_data, keylen_in_bytes); in sha1_mac_init()
1082 key->ck_data, keylen_in_bytes, digest); in sha1_mac_atomic()
1086 sha1_mac_init_ctx(&sha1_hmac_ctx, key->ck_data, in sha1_mac_atomic()
1202 key->ck_data, keylen_in_bytes, digest); in sha1_mac_verify_atomic()
1206 sha1_mac_init_ctx(&sha1_hmac_ctx, key->ck_data, in sha1_mac_verify_atomic()
1399 key->ck_data, keylen_in_bytes, digested_key); in sha1_create_ctx_template()
1403 sha1_mac_init_ctx(sha1_hmac_ctx_tmpl, key->ck_data, in sha1_create_ctx_template()
H A Dsha2_mod.c970 key->ck_data, keylen_in_bytes, digested_key); in sha2_mac_init()
975 key->ck_data, keylen_in_bytes); in sha2_mac_init()
1207 key->ck_data, keylen_in_bytes, digest); in sha2_mac_atomic()
1211 sha2_mac_init_ctx(&sha2_hmac_ctx, key->ck_data, in sha2_mac_atomic()
1349 key->ck_data, keylen_in_bytes, digest); in sha2_mac_verify_atomic()
1353 sha2_mac_init_ctx(&sha2_hmac_ctx, key->ck_data, in sha2_mac_verify_atomic()
1573 key->ck_data, keylen_in_bytes, digested_key); in sha2_create_ctx_template()
1577 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, key->ck_data, in sha2_create_ctx_template()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk5_kmd5des.c134 newkey.kef_key.ck_data = NULL; in k5_md5des_hash()
204 newkey.kef_key.ck_data = NULL; in k5_md5des_verify()
H A Dk_hmac_md5.c90 if (key->kef_key.ck_data == NULL) { in k5_hmac_md5_hash()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c68 to->kef_key.ck_data = NULL; in krb5_copy_keyblock_data()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Ddes.c108 key->kef_key.ck_data = NULL; in k5_des_make_key()
H A Ddes3.c117 key->kef_key.ck_data = NULL; in k5_des3_make_key()
H A Darcfour_provider.c312 key->kef_key.ck_data = NULL; in k5_arcfour_make_key()
/titanic_41/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_ccmp.c246 crkey.ck_data = (char *)key; in aes_ccm_encrypt()
299 crkey.ck_data = (char *)key; in aes_ccm_decrypt()
H A Dnet80211_crypto_wep.c332 crkey.ck_data = (char *)key; in rc4_init()
/titanic_41/usr/src/uts/common/des/
H A Ddes_crypt.c411 if (key->ck_data == NULL) in init_keysched()
414 des_parity_fix(key->ck_data, strength, corrected_key); in init_keysched()
1099 bcopy(key->ck_data, keydata, CRYPTO_BITS2BYTES(expectedkeylen)); in des_key_check()
1101 if (des_keycheck(keydata, strength, key->ck_data) == B_FALSE) in des_key_check()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dchecksum.c141 if (key->kef_key.ck_data == NULL &&
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslrec.c1172 S1.ck_data = secret; in kssl_tls_PRF()
1176 S2.ck_data = secret + slen; in kssl_tls_PRF()
1543 spec->hmac_key.ck_data = ssl->mac_secret[dir]; in kssl_spec_init()
1562 spec->hmac_key.ck_data = ssl->mac_secret[dir]; in kssl_spec_init()
1588 spec->cipher_key.ck_data = in kssl_spec_init()
1604 spec->cipher_key.ck_data = in kssl_spec_init()
/titanic_41/usr/src/uts/common/sys/crypto/
H A Dcommon.h379 #define ck_data cku_data.cku_key_value.cku_v_data macro

12