Searched refs:encr_mech (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c51 crypto_mechanism_t *encr_mech, crypto_mechanism_t *mac_mech,
72 rv = kcf_get_hardware_provider(encr_mech->cm_type, encr_key,
92 if (kcf_get_mech_entry(encr_mech->cm_type, &me) !=
126 lencr_mech = *encr_mech;
127 KCF_SET_PROVIDER_MECHNUM(encr_mech->cm_type, real_provider,
147 cmops->em_encr_mech = *encr_mech;
148 KCF_SET_PROVIDER_MECHNUM(encr_mech->cm_type, real_provider,
150 cmops->em_framework_encr_mechtype = encr_mech->cm_type;
172 crypto_encrypt_mac(crypto_mechanism_t *encr_mech, argument
197 pd = kcf_get_dual_provider(encr_mech, encr_ke
50 crypto_encrypt_mac_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *encr_mech, crypto_mechanism_t *mac_mech, crypto_data_t *pt, crypto_key_t *encr_key, crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl, crypto_ctx_template_t mac_tmpl, crypto_dual_data_t *ct, crypto_data_t *mac, crypto_call_req_t *crq) argument
414 crypto_encrypt_mac_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *encr_mech, crypto_mechanism_t *mac_mech, crypto_key_t *encr_key, crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl, crypto_ctx_template_t mac_tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr) argument
552 crypto_encrypt_mac_init(crypto_mechanism_t *encr_mech, crypto_mechanism_t *mac_mech, crypto_key_t *encr_key, crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl, crypto_ctx_template_t mac_tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dapi.h210 extern int crypto_encrypt_mac(crypto_mechanism_t *encr_mech,
220 extern int crypto_encrypt_mac_init(crypto_mechanism_t *encr_mech,
H A Dimpl.h924 #define KCF_PROV_ENCRYPT_MAC_INIT(pd, ctx, encr_mech, encr_key, mac_mech, \
929 ctx, encr_mech, encr_key, mac_mech, mac_key, encr_ctx_template, \
954 #define KCF_PROV_ENCRYPT_MAC_ATOMIC(pd, session, encr_mech, encr_key, \
960 (pd)->pd_prov_handle, session, encr_mech, encr_key, \
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c981 crypto_mechanism_t encr_mech; local
1008 encr_mech.cm_type = cdata->mech_type;
1009 encr_mech.cm_param = cdata->block;
1012 encr_mech.cm_param_len = cdata->blocklen;
1014 encr_mech.cm_param_len = 0;
1016 rv = crypto_decrypt(&encr_mech, &dd, &cdata->d_encr_key,
1050 crypto_mechanism_t encr_mech; local
1077 encr_mech.cm_type = cdata->mech_type;
1078 encr_mech.cm_param = cdata->block;
1081 encr_mech
[all...]

Completed in 54 milliseconds