Home
last modified time | relevance | path

Searched refs:krb_ctx_hSession (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Dd3_cbc.c53 rv = init_key_uef(krb_ctx_hSession(context), key); in mit_des3_cbc_encrypt()
69 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey); in mit_des3_cbc_encrypt()
71 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, key->hKey); in mit_des3_cbc_encrypt()
81 rv = C_Encrypt(krb_ctx_hSession(context), (CK_BYTE_PTR)in, in mit_des3_cbc_encrypt()
85 rv = C_Decrypt(krb_ctx_hSession(context), (CK_BYTE_PTR)in, in mit_des3_cbc_encrypt()
H A Df_cbc.c56 rv = init_key_uef(krb_ctx_hSession(context), key);
72 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
74 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
84 rv = C_Encrypt(krb_ctx_hSession(context), (CK_BYTE_PTR)in,
88 rv = C_Decrypt(krb_ctx_hSession(context), (CK_BYTE_PTR)in,
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dk5_md5des.c103 if ((rv = C_DigestInit(krb_ctx_hSession(context), &mechanism)) != CKR_OK) { in k5_md5des_hash()
110 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_md5des_hash()
118 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_md5des_hash()
125 if ((rv = C_DigestFinal(krb_ctx_hSession(context), in k5_md5des_hash()
229 if ((rv = C_DigestInit(krb_ctx_hSession(context), &mechanism)) != CKR_OK) { in k5_md5des_verify()
237 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_md5des_verify()
245 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_md5des_verify()
252 if ((rv = C_DigestFinal(krb_ctx_hSession(context), in k5_md5des_verify()
H A Dhmac_md5.c95 if ((rv = C_DigestInit(krb_ctx_hSession(context), &mechanism)) != CKR_OK) { in k5_hmac_md5_hash()
101 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_hmac_md5_hash()
108 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_hmac_md5_hash()
116 if ((rv = C_DigestFinal(krb_ctx_hSession(context), in k5_hmac_md5_hash()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c321 rv = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key); in krb5int_aes_encrypt()
340 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey); in krb5int_aes_encrypt()
362 rv = C_Encrypt(krb_ctx_hSession(context), in krb5int_aes_encrypt()
409 rv = C_EncryptUpdate(krb_ctx_hSession(context), in krb5int_aes_encrypt()
430 rv = C_EncryptUpdate(krb_ctx_hSession(context), in krb5int_aes_encrypt()
451 rv = C_EncryptFinal(krb_ctx_hSession(context), in krb5int_aes_encrypt()
768 rv = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key); in krb5int_aes_decrypt()
826 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, in krb5int_aes_decrypt()
840 rv = C_Decrypt(krb_ctx_hSession(context), in krb5int_aes_decrypt()
872 rv = C_DecryptInit(krb_ctx_hSession(context), in krb5int_aes_decrypt()
[all …]
H A Darcfour_provider.c115 session = krb_ctx_hSession(context); in k5_arcfour_decrypt()
220 session = krb_ctx_hSession(context); in k5_arcfour_encrypt()
317 ret = init_key_uef(krb_ctx_hSession(context), key); in k5_arcfour_make_key()
H A Ddes.c113 ret = init_key_uef(krb_ctx_hSession(context), key); in k5_des_make_key()
H A Ddes3.c122 ret = init_key_uef(krb_ctx_hSession(context), key); in k5_des3_make_key()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_ef_generic.c22 if ((rv = C_DigestInit(krb_ctx_hSession(context), mechanism)) != in k5_ef_hash()
30 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_ef_hash()
39 if ((rv = C_DigestFinal(krb_ctx_hSession(context), in k5_ef_hash()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c114 rv = C_GenerateKey(krb_ctx_hSession(context), &mechanism, tmpl, in krb5int_pbkdf2_hmac_sha1()
124 rv = C_GetAttributeValue(krb_ctx_hSession(context), hKey, in krb5int_pbkdf2_hmac_sha1()
128 (void) C_DestroyObject(krb_ctx_hSession(context), hKey); in krb5int_pbkdf2_hmac_sha1()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dprng.c54 (void) C_SeedRandom(krb_ctx_hSession(context), in krb5_c_random_seed()
98 rv = C_GenerateRandom(krb_ctx_hSession(context), (CK_BYTE_PTR)data->data, in krb5_c_random_make_octets()
H A Dmake_checksum.c104 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_make_checksum()
124 ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key); in krb5_c_make_checksum()
H A Ddecrypt.c66 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_decrypt()
H A Dencrypt.c204 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_encrypt()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dafsstring2key.c162 (void) C_DestroyObject(krb_ctx_hSession(context), usekey.hKey); in mit_afs_string_to_key()
175 (void) C_DestroyObject(krb_ctx_hSession(context), usekey.hKey); in mit_afs_string_to_key()
H A Dstring2key.c176 (void)C_DestroyObject(krb_ctx_hSession(context), keyblock->hKey); in mit_des_string_to_key_int()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5unseal.c239 (void)C_DestroyObject(krb_ctx_hSession(context),
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dkfree.c449 rv = C_DestroyObject(krb_ctx_hSession(context), key->hKey); in krb5_free_keyblock_contents()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h1613 #define krb_ctx_hSession(ctx) \ macro