Home
last modified time | relevance | path

Searched refs:spi_ctx_tmpl (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_mac.c138 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_mac() local
165 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_mac()
177 mac, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_mac()
192 pd->pd_sid, mech, key, data, mac, spi_ctx_tmpl); in crypto_mac()
262 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_mac_verify() local
289 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_mac_verify()
301 data, mac, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_mac_verify()
312 key, data, mac, spi_ctx_tmpl); in crypto_mac_verify()
442 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_mac_init() local
470 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_mac_init()
[all …]
H A Dkcf_cipher.c237 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_cipher_init() local
264 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_cipher_init()
269 spi_ctx_tmpl, ctxp, crq, func); in crypto_cipher_init()
363 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_encrypt() local
390 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_encrypt()
402 plaintext, ciphertext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_encrypt()
406 mech, key, plaintext, ciphertext, spi_ctx_tmpl); in crypto_encrypt()
645 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_decrypt() local
672 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_decrypt()
684 ciphertext, plaintext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_decrypt()
[all …]
H A Dkcf_sign.c99 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_sign_init() local
125 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_sign_init()
129 error = crypto_sign_init_prov(pd, pd->pd_sid, mech, key, spi_ctx_tmpl, in crypto_sign_init()
267 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in sign_sr_atomic_common() local
293 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in sign_sr_atomic_common()
305 key, data, spi_ctx_tmpl, signature, in sign_sr_atomic_common()
309 &lmech, key, data, spi_ctx_tmpl, signature, in sign_sr_atomic_common()
317 mech, key, data, signature, spi_ctx_tmpl); in sign_sr_atomic_common()
H A Dkcf_verify.c100 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in crypto_verify_init() local
126 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_verify_init()
130 error = crypto_verify_init_prov(pd, pd->pd_sid, mech, key, spi_ctx_tmpl, in crypto_verify_init()
269 crypto_spi_ctx_template_t spi_ctx_tmpl = NULL; in verify_vr_atomic_common() local
295 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in verify_vr_atomic_common()
307 key, data, spi_ctx_tmpl, signature, in verify_vr_atomic_common()
312 &lmech, key, signature, spi_ctx_tmpl, data, in verify_vr_atomic_common()
320 mech, key, data, signature, spi_ctx_tmpl); in verify_vr_atomic_common()