Lines Matching refs:crq
108 crypto_call_req_t *crq, crypto_func_group_t func) in crypto_cipher_init_prov() argument
134 if ((ctx = kcf_new_ctx(crq, real_provider, sid)) == NULL) { in crypto_cipher_init_prov()
141 if (CHECK_FASTPATH(crq, pd)) { in crypto_cipher_init_prov()
149 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); in crypto_cipher_init_prov()
154 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); in crypto_cipher_init_prov()
206 error = kcf_submit_request(real_provider, ctx, crq, ¶ms, in crypto_cipher_init_prov()
231 crypto_call_req_t *crq, crypto_func_group_t func) in crypto_cipher_init() argument
269 spi_ctx_tmpl, ctxp, crq, func); in crypto_cipher_init()
273 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) in crypto_cipher_init()
321 crypto_call_req_t *crq) in crypto_encrypt_prov() argument
342 error = kcf_submit_request(real_provider, NULL, crq, ¶ms, B_FALSE); in crypto_encrypt_prov()
356 crypto_call_req_t *crq) in crypto_encrypt() argument
395 if (CHECK_FASTPATH(crq, pd)) { in crypto_encrypt()
402 plaintext, ciphertext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_encrypt()
407 error = kcf_submit_request(pd, NULL, crq, ¶ms, B_FALSE); in crypto_encrypt()
413 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) in crypto_encrypt()
433 crypto_call_req_t *crq) in crypto_encrypt_init_prov() argument
435 return (crypto_cipher_init_prov(pd, sid, mech, key, tmpl, ctxp, crq, in crypto_encrypt_init_prov()
447 crypto_call_req_t *crq) in crypto_encrypt_init() argument
449 return (crypto_cipher_init(mech, key, tmpl, ctxp, crq, in crypto_encrypt_init()
602 crypto_call_req_t *crq) in crypto_decrypt_prov() argument
623 rv = kcf_submit_request(real_provider, NULL, crq, ¶ms, B_FALSE); in crypto_decrypt_prov()
638 crypto_call_req_t *crq) in crypto_decrypt() argument
677 if (CHECK_FASTPATH(crq, pd)) { in crypto_decrypt()
684 ciphertext, plaintext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_decrypt()
689 error = kcf_submit_request(pd, NULL, crq, ¶ms, B_FALSE); in crypto_decrypt()
695 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) in crypto_decrypt()
715 crypto_call_req_t *crq) in crypto_decrypt_init_prov() argument
717 return (crypto_cipher_init_prov(pd, sid, mech, key, tmpl, ctxp, crq, in crypto_decrypt_init_prov()
729 crypto_call_req_t *crq) in crypto_decrypt_init() argument
731 return (crypto_cipher_init(mech, key, tmpl, ctxp, crq, in crypto_decrypt_init()