Home
last modified time | relevance | path

Searched refs:d_hmac_key (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dderive.c141 krb5_keyblock **d_hmac_key) in init_derived_keydata() argument
196 *d_hmac_key = cached_key; in init_derived_keydata()
198 *d_hmac_key = krb5_create_derived_keyblock(key->length); in init_derived_keydata()
199 if (*d_hmac_key == NULL) { in init_derived_keydata()
202 (*d_hmac_key)->enctype = key->enctype; in init_derived_keydata()
212 rv = krb5_derive_key(context, enc, key, *d_hmac_key, &d1); in init_derived_keydata()
214 krb5_free_keyblock(context, *d_hmac_key); in init_derived_keydata()
215 *d_hmac_key = NULL; in init_derived_keydata()
225 if ((*d_hmac_key)->kef_mt != context->kef_hash_mt) { in init_derived_keydata()
226 (*d_hmac_key)->kef_mt = context->kef_hash_mt; in init_derived_keydata()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dcryptmod.h185 crypto_key_t d_hmac_key; /* derived hmac key */ member
/titanic_41/usr/src/uts/common/io/
H A Dcryptmod.c244 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()
1030 rv = crypto_mac(&mac_mech, &dd, &cdata->d_hmac_key, in kef_decr_hmac()
1089 rv = crypto_mac(&mac_mech, &dd, &cdata->d_hmac_key, in kef_encr_hmac()
1604 &tmi->dec_data.d_hmac_key, in aes_decrypt()
1683 &tmi->enc_data.d_hmac_key, in aes_encrypt()
2831 if (cd->d_hmac_key.ck_data != NULL) { in setup_crypto()
2832 bzero(cd->d_hmac_key.ck_data, cd->keylen); in setup_crypto()
2833 kmem_free(cd->d_hmac_key.ck_data, cd->keylen); in setup_crypto()
[all …]