Home
last modified time | relevance | path

Searched refs:key_tmpl (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dchecksum.c94 if ((*outkey)->key_tmpl != NULL) { in derive_cksum_key()
95 crypto_destroy_ctx_template((*outkey)->key_tmpl); in derive_cksum_key()
96 (*outkey)->key_tmpl = NULL; in derive_cksum_key()
H A Dderive.c125 key->key_tmpl = NULL; in krb5_create_derived_keyblock()
228 if ((*d_hmac_key)->key_tmpl != NULL) { in init_derived_keydata()
229 crypto_destroy_ctx_template((*d_hmac_key)->key_tmpl); in init_derived_keydata()
230 (*d_hmac_key)->key_tmpl = NULL; in init_derived_keydata()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c60 &key->key_tmpl, in update_key_template()
68 key->key_tmpl = NULL; in update_key_template()
98 if (key->key_tmpl == NULL && mech_type != CRYPTO_MECH_INVALID) { in init_key_kef()
H A Dhmac.c80 key->key_tmpl, &mac, NULL); in krb5_hmac()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Def_crypto.c64 key->key_tmpl, in k5_ef_crypto()
70 key->key_tmpl, in k5_ef_crypto()
/titanic_41/usr/src/cmd/lofiadm/
H A Dmain.c999 CK_ATTRIBUTE key_tmpl[] = { in getkeyfromtoken() local
1006 CK_ULONG attrs = sizeof (key_tmpl) / sizeof (CK_ATTRIBUTE); in getkeyfromtoken()
1060 switch (key_tmpl[i].type) { in getkeyfromtoken()
1062 key_tmpl[i].pValue = &kclass; in getkeyfromtoken()
1063 key_tmpl[i].ulValueLen = sizeof (kclass); in getkeyfromtoken()
1066 key_tmpl[i].pValue = &ktype; in getkeyfromtoken()
1067 key_tmpl[i].ulValueLen = sizeof (ktype); in getkeyfromtoken()
1070 key_tmpl[i].pValue = token->key; in getkeyfromtoken()
1071 key_tmpl[i].ulValueLen = strlen(token->key); in getkeyfromtoken()
1074 key_tmpl[i].pValue = &trueval; in getkeyfromtoken()
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk5_kmd5des.c148 (void)crypto_destroy_ctx_template(newkey.key_tmpl); in k5_md5des_hash()
259 (void)crypto_destroy_ctx_template(newkey.key_tmpl); in k5_md5des_verify()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c69 to->key_tmpl = NULL; in krb5_copy_keyblock_data()
H A Dkfree.c444 if (key->key_tmpl != NULL) in krb5_free_keyblock_contents()
445 (void) crypto_destroy_ctx_template(key->key_tmpl); in krb5_free_keyblock_contents()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c286 (ulong_t) key->kef_mt, (ulong_t) key->key_tmpl); in k5_arcfour_encrypt()
313 key->key_tmpl = NULL; in k5_arcfour_make_key()
H A Ddes.c109 key->key_tmpl = NULL; in k5_des_make_key()
H A Ddes3.c118 key->key_tmpl = NULL; in k5_des3_make_key()
H A Daes_provider.c57 ASSERT(key->key_tmpl != NULL); in krb5int_aes_encrypt()
223 key->key_tmpl, &ct, NULL); in krb5int_aes_encrypt()
1026 key->key_tmpl = NULL; in k5_aes_make_key()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c135 rv = crypto_mac(&mech, &d1, &key->kef_key, key->key_tmpl, &d2, NULL); in k5_ef_mac()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dkrb5.h425 crypto_ctx_template_t key_tmpl; member