Lines Matching defs:mac
55 * CRYPTO_INVALID_MAC: bogus 'mac' argument.
69 * mac: Storage for the MAC. The length needed depends on the mechanism.
80 * When complete and successful, 'mac' will contain the message
92 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq)
111 data, mac, tmpl);
125 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
173 mac, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq));
188 pd->pd_sid, mech, key, data, mac, spi_ctx_tmpl);
211 * 'data' and to verify that it matches the MAC specified by 'mac'.
217 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq)
236 key, data, mac, tmpl);
250 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
298 data, mac, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq));
309 key, data, mac, spi_ctx_tmpl);
553 * mac: Storage for the message authentication code.
567 crypto_mac_final(crypto_context_t context, crypto_data_t *mac,
586 rv = KCF_PROV_MAC_FINAL(pd, ctx, mac, NULL);
590 ctx->cc_session, NULL, NULL, NULL, mac, NULL);
604 crypto_data_t *mac, crypto_call_req_t *cr)
622 error = KCF_PROV_MAC(pd, ctx, data, mac, NULL);
626 NULL, NULL, data, mac, NULL);