Lines Matching defs:mac_key

52     crypto_data_t *pt, crypto_key_t *encr_key, crypto_key_t *mac_key,
73 mac_mech->cm_type, mac_key, pd, &real_provider,
135 &lencr_mech, encr_key, &lmac_mech, mac_key, pt, ct,
141 sid, encr_key, mac_key, pt, ct, mac, spi_encr_tmpl,
174 crypto_key_t *encr_key, crypto_key_t *mac_key,
197 pd = kcf_get_dual_provider(encr_mech, encr_key, mac_mech, mac_key,
264 KCF_OP_ATOMIC, NULL, mac_mech, mac_key,
309 mac_key, mac_tmpl, mac, (crq == NULL) ? NULL :
374 &lencr_mech, encr_key, &lmac_mech, mac_key, pt, ct,
380 pd->pd_sid, encr_key, mac_key, pt, ct, mac, spi_encr_tmpl,
417 crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl,
440 mac_mech->cm_type, mac_key, pd, &real_provider,
509 encr_key, &lmac_mech, mac_key, spi_encr_tmpl, spi_mac_tmpl,
515 sid, encr_key, mac_key, NULL, NULL, NULL,
554 crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl,
579 pd = kcf_get_dual_provider(encr_mech, encr_key, mac_mech, mac_key,
708 error = crypto_mac_init(mac_mech, mac_key, mac_tmpl,
740 pd->pd_sid, encr_key, mac_key, NULL, NULL, NULL,
824 encr_key, &lmac_mech, mac_key, spi_encr_tmpl, spi_mac_tmpl,
830 pd->pd_sid, encr_key, mac_key, NULL, NULL, NULL,
1071 crypto_key_t *mac_key, crypto_key_t *decr_key,
1075 return (crypto_mac_decrypt_common(mac_mech, decr_mech, ct, mac_key,
1082 crypto_dual_data_t *ct, crypto_key_t *mac_key, crypto_key_t *decr_key,
1087 decr_mech, ct, mac_key, decr_key, mac_tmpl, decr_tmpl, mac, pt,
1100 crypto_key_t *mac_key, crypto_key_t *decr_key,
1104 return (crypto_mac_decrypt_common(mac_mech, decr_mech, ct, mac_key,
1112 crypto_key_t *mac_key, crypto_key_t *decr_key,
1117 decr_mech, ct, mac_key, decr_key, mac_tmpl, decr_tmpl, mac, pt,
1128 crypto_key_t *mac_key, crypto_key_t *decr_key,
1154 pd = kcf_get_dual_provider(decr_mech, decr_key, mac_mech, mac_key,
1231 mac_key, mac_tmpl, mac,
1235 mac_key, mac_tmpl, mac,
1342 pd->pd_sid, &lmac_mech, mac_key, &ldecr_mech,
1347 &lmac_mech, mac_key, &ldecr_mech, decr_key,
1355 KCF_OP_ATOMIC, pd->pd_sid, mac_key, decr_key, ct, mac, pt,
1391 crypto_key_t *mac_key, crypto_key_t *decr_key,
1414 mac_mech->cm_type, mac_key, pd, &real_provider,
1475 real_provider, sid, &lmac_mech, mac_key,
1480 &lmac_mech, mac_key, &ldecr_mech, decr_key,
1488 KCF_OP_ATOMIC, sid, mac_key, decr_key, ct, mac, pt,
1521 crypto_mechanism_t *decr_mech, crypto_key_t *mac_key,
1548 pd = kcf_get_dual_provider(decr_mech, decr_key, mac_mech, mac_key,
1635 error = crypto_mac_init(mac_mech, mac_key, mac_tmpl,
1714 pd->pd_sid, mac_key, decr_key, NULL, NULL, NULL,
1797 mac_key, &ldecr_mech, decr_key, spi_mac_tmpl, spi_decr_tmpl,
1803 pd->pd_sid, mac_key, decr_key, NULL, NULL, NULL,
1838 crypto_mechanism_t *decr_mech, crypto_key_t *mac_key,
1863 mac_mech->cm_type, mac_key, pd, &real_provider,
1932 mac_key, &ldecr_mech, decr_key, spi_mac_tmpl, spi_decr_tmpl,
1938 sid, mac_key, decr_key, NULL, NULL, NULL,