Searched refs:mdops (Results 1 – 2 of 2) sorted by relevance
1536 kcf_mac_decrypt_ops_params_t *mdops; in crypto_mac_decrypt_init() local1717 mdops = &(params.rp_u.mac_decrypt_params); in crypto_mac_decrypt_init()1720 mdops->md_decr_mech = *decr_mech; in crypto_mac_decrypt_init()1725 mdops->md_framework_decr_mechtype = decr_mech->cm_type; in crypto_mac_decrypt_init()1726 mdops->md_mac_mech = *mac_mech; in crypto_mac_decrypt_init()1732 mdops->md_framework_mac_mechtype = mac_mech->cm_type; in crypto_mac_decrypt_init()1806 mdops = &(params.rp_u.mac_decrypt_params); in crypto_mac_decrypt_init()1809 mdops->md_decr_mech = *decr_mech; in crypto_mac_decrypt_init()1810 mdops->md_decr_mech.cm_type = prov_decr_mechid; in crypto_mac_decrypt_init()1811 mdops->md_framework_decr_mechtype = decr_mech->cm_type; in crypto_mac_decrypt_init()[all …]
1799 kcf_mac_decrypt_ops_params_t *mdops = in kcf_emulate_dual() local1811 err = crypto_mac_init(&mdops->md_mac_mech, in kcf_emulate_dual()1812 mdops->md_mac_key, mdops->md_mac_templ, in kcf_emulate_dual()1821 pd->pd_sid, &mdops->md_decr_mech, in kcf_emulate_dual()1822 mdops->md_decr_key, NULL, NULL, in kcf_emulate_dual()1823 mdops->md_decr_templ); in kcf_emulate_dual()1843 crypto_dual_data_t *ct = mdops->md_ciphertext; in kcf_emulate_dual()1844 crypto_data_t *pt = mdops->md_plaintext; in kcf_emulate_dual()1872 crypto_data_t *pt = mdops->md_plaintext; in kcf_emulate_dual()1873 crypto_data_t *mac = mdops->md_mac; in kcf_emulate_dual()