Home
last modified time | relevance | path

Searched refs:enc_key (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5unseal.c216 krb5_keyblock *enc_key; local
222 code = krb5_copy_keyblock (context, ctx->enc, &enc_key);
231 ((char *) enc_key->contents)[i] ^=0xf0;
238 if (enc_key->hKey != CK_INVALID_HANDLE) {
240 enc_key->hKey);
241 enc_key->hKey = CK_INVALID_HANDLE;
245 enc_key->enctype);
248 enc_key, 0,
252 krb5_free_keyblock (context, enc_key);
H A Dk5seal.c307 krb5_keyblock *enc_key; in make_seal_token_v1() local
313 code = krb5_copy_keyblock (context, enc, &enc_key); in make_seal_token_v1()
321 ((char *) enc_key->contents)[i] ^=0xf0; in make_seal_token_v1()
322 code = kg_arcfour_docrypt (context, enc_key, 0, in make_seal_token_v1()
326 krb5_free_keyblock (context, enc_key); in make_seal_token_v1()
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c155 static soft_object_t *enc_key = NULL; variable
1321 if (soft_keystore_crypt(enc_key, old_iv, B_FALSE, buf, nread, in reencrypt_obj()
1333 if (soft_keystore_crypt(enc_key, old_iv, B_FALSE, buf, nread, in reencrypt_obj()
1454 if ((enc_key == NULL) || in soft_keystore_setpin()
1455 (enc_key->magic_marker != SOFTTOKEN_OBJECT_MAGIC)) { in soft_keystore_setpin()
1723 (void) soft_cleanup_object(enc_key); in soft_keystore_setpin()
1728 enc_key = new_crypt_key; in soft_keystore_setpin()
1749 (void) soft_cleanup_object(enc_key); in soft_keystore_setpin()
1751 enc_key = NULL; in soft_keystore_setpin()
1828 if (soft_gen_crypt_key(pin, &enc_key, (CK_BYTE **)&crypt_salt) in soft_keystore_authpin()
[all …]
/titanic_50/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c590 char enc_key[RAW_KEY_SIZE]; in dst_s_write_public_key() local
618 b64_ntop(&out_key[6], len - 6, enc_key, sizeof(enc_key)); in dst_s_write_public_key()
620 b64_ntop(&out_key[4], len - 4, enc_key, sizeof(enc_key)); in dst_s_write_public_key()
623 key->dk_flags, key->dk_proto, key->dk_alg, enc_key); in dst_s_write_public_key()
/titanic_50/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_services.h66 extern int enc_password(struct data pwd, struct data *enc_key, struct data *enc_pass);
/titanic_50/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c6565 M_ASN1_STRING_data(ri->enc_key),
6566 (unsigned int) M_ASN1_STRING_length(ri->enc_key),
6589 M_ASN1_STRING_data(ri->enc_key),
6590 (unsigned int) M_ASN1_STRING_length(ri->enc_key),