Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c130 lmac_mech = *mac_mech; in crypto_encrypt_mac_prov()
152 cmops->em_mac_mech = *mac_mech; in crypto_encrypt_mac_prov()
370 lmac_mech = *mac_mech; in crypto_encrypt_mac()
389 cmops->em_mac_mech = *mac_mech; in crypto_encrypt_mac()
504 lmac_mech = *mac_mech; in crypto_encrypt_mac_init_prov()
526 cmops->em_mac_mech = *mac_mech; in crypto_encrypt_mac_init_prov()
820 lmac_mech = *mac_mech; in crypto_encrypt_mac_init()
1337 lmac_mech = *mac_mech; in crypto_mac_decrypt_common()
1469 lmac_mech = *mac_mech; in crypto_mac_decrypt_common_prov()
1793 lmac_mech = *mac_mech; in crypto_mac_decrypt_init()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dhmac.c48 crypto_mechanism_t mac_mech; in krb5_hmac() local
74 mac_mech.cm_type = context->kef_hash_mt; in krb5_hmac()
75 mac_mech.cm_param = NULL; in krb5_hmac()
76 mac_mech.cm_param_len = 0; in krb5_hmac()
78 rv = crypto_mac(&mac_mech, &dd, in krb5_hmac()
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dapi.h211 crypto_mechanism_t *mac_mech, crypto_data_t *pt,
221 crypto_mechanism_t *mac_mech, crypto_key_t *encr_key,
237 extern int crypto_mac_decrypt(crypto_mechanism_t *mac_mech,
243 crypto_mechanism_t *mac_mech, crypto_mechanism_t *decr_mech,
247 extern int crypto_mac_verify_decrypt(crypto_mechanism_t *mac_mech,
253 crypto_session_id_t, crypto_mechanism_t *mac_mech,
258 extern int crypto_mac_decrypt_init(crypto_mechanism_t *mac_mech,
264 crypto_session_id_t, crypto_mechanism_t *mac_mech,
H A Dimpl.h924 #define KCF_PROV_ENCRYPT_MAC_INIT(pd, ctx, encr_mech, encr_key, mac_mech, \ argument
929 ctx, encr_mech, encr_key, mac_mech, mac_key, encr_ctx_template, \
955 mac_mech, mac_key, plaintext, ciphertext, mac, \ argument
961 mac_mech, mac_key, plaintext, ciphertext, mac, \
965 #define KCF_PROV_MAC_DECRYPT_INIT(pd, ctx, mac_mech, mac_key, decr_mech, \ argument
970 ctx, mac_mech, mac_key, decr_mech, decr_key, mac_ctx_template, \
995 #define KCF_PROV_MAC_DECRYPT_ATOMIC(pd, session, mac_mech, mac_key, \ argument
1001 (pd)->pd_prov_handle, session, mac_mech, mac_key, \
1006 #define KCF_PROV_MAC_VERIFY_DECRYPT_ATOMIC(pd, session, mac_mech, mac_key, \ argument
1013 (pd)->pd_prov_handle, session, mac_mech, mac_key, \
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c985 crypto_mechanism_t mac_mech; in kef_decr_hmac() local
1026 mac_mech.cm_type = sha1_hmac_mech; in kef_decr_hmac()
1027 mac_mech.cm_param = NULL; in kef_decr_hmac()
1028 mac_mech.cm_param_len = 0; in kef_decr_hmac()
1054 crypto_mechanism_t mac_mech; in kef_encr_hmac() local
1089 mac_mech.cm_param = NULL; in kef_encr_hmac()
1090 mac_mech.cm_param_len = 0; in kef_encr_hmac()
1188 crypto_mechanism_t mac_mech; in do_hmac() local
1193 mac_mech.cm_type = mech; in do_hmac()
1194 mac_mech.cm_param = NULL; in do_hmac()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c3258 if (!dprov_valid_mac_mech(mac_mech->cm_type)) { in dprov_encrypt_mac_init()
3261 (unsigned long long)mac_mech->cm_type); in dprov_encrypt_mac_init()
3384 if (!dprov_valid_mac_mech(mac_mech->cm_type)) { in dprov_encrypt_mac_atomic()
3387 (unsigned long long)mac_mech->cm_type); in dprov_encrypt_mac_atomic()
3429 if (!dprov_valid_mac_mech(mac_mech->cm_type)) { in dprov_mac_decrypt_init()
3432 (unsigned long long)mac_mech->cm_type); in dprov_mac_decrypt_init()
3551 if (!dprov_valid_mac_mech(mac_mech->cm_type)) { in dprov_mac_decrypt_atomic()
3554 (unsigned long long)mac_mech->cm_type); in dprov_mac_decrypt_atomic()
3598 if (!dprov_valid_mac_mech(mac_mech->cm_type)) { in dprov_mac_verify_decrypt_atomic()
3601 (unsigned long long)mac_mech->cm_type); in dprov_mac_verify_decrypt_atomic()
[all …]