Lines Matching defs:req
1623 #define DPROV_SOFTC_FROM_REQ(req, softc, instance) { \
1624 (softc) = (req)->dr_softc; \
1923 crypto_req_handle_t req)
1947 error = dprov_digest_submit_req(DPROV_REQ_DIGEST_INIT, softc, req,
1958 crypto_req_handle_t req)
1973 error = dprov_digest_submit_req(DPROV_REQ_DIGEST, softc, req,
1984 crypto_req_handle_t req)
1998 req, NULL, data, NULL, NULL, ctx, KM_NOSLEEP);
2007 dprov_digest_key(crypto_ctx_t *ctx, crypto_key_t *key, crypto_req_handle_t req)
2019 error = dprov_digest_submit_req(DPROV_REQ_DIGEST_KEY, softc, req, NULL,
2030 crypto_req_handle_t req)
2042 error = dprov_digest_submit_req(DPROV_REQ_DIGEST_FINAL, softc, req,
2056 crypto_req_handle_t req)
2083 error = dprov_digest_submit_req(DPROV_REQ_DIGEST_ATOMIC, softc, req,
2119 crypto_req_handle_t req)
2141 error = dprov_mac_submit_req(DPROV_REQ_MAC_INIT, softc, req,
2152 crypto_req_handle_t req)
2164 error = dprov_mac_submit_req(DPROV_REQ_MAC, softc, req,
2175 crypto_req_handle_t req)
2188 req, NULL, data, NULL, NULL, ctx, 0, KM_NOSLEEP);
2197 dprov_mac_final(crypto_ctx_t *ctx, crypto_data_t *mac, crypto_req_handle_t req)
2209 error = dprov_mac_submit_req(DPROV_REQ_MAC_FINAL, softc, req,
2222 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2243 error = dprov_mac_submit_req(DPROV_REQ_MAC_ATOMIC, softc, req,
2256 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2278 error = dprov_mac_submit_req(DPROV_REQ_MAC_VERIFY_ATOMIC, softc, req,
2339 crypto_req_handle_t req)
2360 req, mechanism, key, NULL, NULL, ctx, 0, KM_SLEEP);
2371 crypto_data_t *ciphertext, crypto_req_handle_t req)
2384 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2395 crypto_data_t *ciphertext, crypto_req_handle_t req)
2409 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2420 crypto_req_handle_t req)
2434 req, NULL, NULL, NULL, ciphertext, ctx, 0, KM_NOSLEEP);
2446 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2467 req, mechanism, key, plaintext, ciphertext, NULL, session_id,
2480 crypto_req_handle_t req)
2501 req, mechanism, key, NULL, NULL, ctx, 0, KM_SLEEP);
2512 crypto_data_t *plaintext, crypto_req_handle_t req)
2526 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2537 crypto_data_t *plaintext, crypto_req_handle_t req)
2551 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2562 crypto_req_handle_t req)
2576 req, NULL, NULL, plaintext, NULL, ctx, 0, KM_NOSLEEP);
2588 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2609 req, mechanism, key, plaintext, ciphertext, NULL, session_id,
2653 crypto_req_handle_t req)
2675 error = dprov_sign_submit_req(DPROV_REQ_SIGN_INIT, softc, req,
2686 crypto_data_t *signature, crypto_req_handle_t req)
2698 error = dprov_sign_submit_req(DPROV_REQ_SIGN, softc, req,
2709 crypto_req_handle_t req)
2721 error = dprov_sign_submit_req(DPROV_REQ_SIGN_UPDATE, softc, req,
2732 crypto_req_handle_t req)
2744 error = dprov_sign_submit_req(DPROV_REQ_SIGN_FINAL, softc, req,
2757 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2778 error = dprov_sign_submit_req(DPROV_REQ_SIGN_ATOMIC, softc, req,
2790 crypto_req_handle_t req)
2806 error = dprov_sign_submit_req(DPROV_REQ_SIGN_RECOVER_INIT, softc, req,
2817 crypto_data_t *signature, crypto_req_handle_t req)
2829 error = dprov_sign_submit_req(DPROV_REQ_SIGN_RECOVER, softc, req,
2842 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2857 error = dprov_sign_submit_req(DPROV_REQ_SIGN_RECOVER_ATOMIC, softc, req,
2873 crypto_req_handle_t req)
2894 error = dprov_verify_submit_req(DPROV_REQ_VERIFY_INIT, softc, req,
2905 crypto_req_handle_t req)
2917 error = dprov_verify_submit_req(DPROV_REQ_VERIFY, softc, req,
2928 crypto_req_handle_t req)
2941 error = dprov_verify_submit_req(DPROV_REQ_VERIFY_UPDATE, softc, req,
2952 crypto_req_handle_t req)
2964 error = dprov_verify_submit_req(DPROV_REQ_VERIFY_FINAL, softc, req,
2977 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
2999 error = dprov_verify_submit_req(DPROV_REQ_VERIFY_ATOMIC, softc, req,
3011 crypto_req_handle_t req)
3028 req, mechanism, key, NULL, NULL, ctx, 0, KM_SLEEP);
3038 crypto_data_t *data, crypto_req_handle_t req)
3051 error = dprov_verify_submit_req(DPROV_REQ_VERIFY_RECOVER, softc, req,
3064 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req)
3080 req, mechanism, key, data, signature, NULL, session_id, KM_SLEEP);
3095 crypto_data_t *ciphertext, crypto_req_handle_t req)
3112 softc, req, digest_ctx, encrypt_ctx, plaintext, ciphertext);
3123 crypto_req_handle_t req)
3140 softc, req, digest_ctx, decrypt_ctx, plaintext, ciphertext);
3151 crypto_req_handle_t req)
3168 softc, req, sign_ctx, encrypt_ctx, plaintext, ciphertext);
3179 crypto_req_handle_t req)
3196 softc, req, verify_ctx, decrypt_ctx, plaintext, ciphertext);
3213 crypto_req_handle_t req)
3244 softc, req, ctx, 0, encrypt_mech, encrypt_key, mac_mech, mac_key,
3255 crypto_dual_data_t *ciphertext, crypto_data_t *mac, crypto_req_handle_t req)
3272 softc, req, ctx, 0, NULL, NULL, NULL, NULL,
3283 crypto_dual_data_t *ciphertext, crypto_req_handle_t req)
3297 softc, req, ctx, 0, NULL, NULL, NULL, NULL,
3309 crypto_req_handle_t req)
3323 softc, req, ctx, 0, NULL, NULL, NULL, NULL,
3340 crypto_req_handle_t req)
3370 softc, req, NULL, session_id, encrypt_mech, encrypt_key, mac_mech,
3384 crypto_req_handle_t req)
3415 softc, req, ctx, 0, decrypt_mech, decrypt_key, mac_mech, mac_key,
3426 crypto_data_t *mac, crypto_data_t *plaintext, crypto_req_handle_t req)
3440 softc, req, ctx, 0, NULL, NULL, NULL, NULL,
3451 crypto_data_t *plaintext, crypto_req_handle_t req)
3465 softc, req, ctx, 0, NULL, NULL, NULL, NULL,
3476 crypto_data_t *plaintext, crypto_req_handle_t req)
3490 softc, req, ctx, 0, NULL, NULL, NULL, NULL,
3507 crypto_req_handle_t req)
3537 softc, req, NULL, session_id, decrypt_mech, decrypt_key, mac_mech,
3554 crypto_req_handle_t req)
3584 softc, req, NULL, session_id, decrypt_mech, decrypt_key, mac_mech,
3600 crypto_req_handle_t req)
3612 req, buf, len, sid, entropy_est, flags);
3622 crypto_session_id_t sid, uchar_t *buf, size_t len, crypto_req_handle_t req)
3634 req, buf, len, sid, 0, 0);
3648 crypto_session_id_t *session_id, crypto_req_handle_t req)
3660 req, session_id, 0, 0, NULL, 0);
3670 crypto_session_id_t session_id, crypto_req_handle_t req)
3682 req, 0, session_id, 0, NULL, 0);
3693 char *pin, size_t pin_len, crypto_req_handle_t req)
3705 req, 0, session_id, user_type, pin, pin_len);
3715 crypto_session_id_t session_id, crypto_req_handle_t req)
3727 req, 0, session_id, 0, NULL, 0);
3743 crypto_req_handle_t req)
3755 error = dprov_object_submit_req(DPROV_REQ_OBJECT_CREATE, softc, req,
3769 crypto_object_id_t *new_object, crypto_req_handle_t req)
3781 error = dprov_object_submit_req(DPROV_REQ_OBJECT_COPY, softc, req,
3794 crypto_req_handle_t req)
3806 error = dprov_object_submit_req(DPROV_REQ_OBJECT_DESTROY, softc, req,
3819 size_t *size, crypto_req_handle_t req)
3831 error = dprov_object_submit_req(DPROV_REQ_OBJECT_GET_SIZE, softc, req,
3845 crypto_req_handle_t req)
3858 softc, req, session_id, object, template, attribute_count,
3871 crypto_req_handle_t req)
3884 softc, req, session_id, object, template, attribute_count,
3897 crypto_req_handle_t req)
3909 error = dprov_object_submit_req(DPROV_REQ_OBJECT_FIND_INIT, softc, req,
3922 uint_t *object_count, crypto_req_handle_t req)
3934 error = dprov_object_submit_req(DPROV_REQ_OBJECT_FIND, softc, req,
3947 void *provider_private, crypto_req_handle_t req)
3959 error = dprov_object_submit_req(DPROV_REQ_OBJECT_FIND_FINAL, softc, req,
3977 crypto_object_id_t *object, crypto_req_handle_t req)
3989 error = dprov_key_submit_req(DPROV_REQ_KEY_GENERATE, softc, req,
4007 crypto_req_handle_t req)
4019 error = dprov_key_submit_req(DPROV_REQ_KEY_GENERATE_PAIR, softc, req,
4035 uchar_t *wrapped_key, size_t *wrapped_key_len_ptr, crypto_req_handle_t req)
4047 error = dprov_key_submit_req(DPROV_REQ_KEY_WRAP, softc, req,
4063 uint_t attribute_count, crypto_object_id_t *key, crypto_req_handle_t req)
4075 error = dprov_key_submit_req(DPROV_REQ_KEY_UNWRAP, softc, req,
4090 uint_t attribute_count, crypto_object_id_t *key, crypto_req_handle_t req)
4102 error = dprov_key_submit_req(DPROV_REQ_KEY_DERIVE, softc, req,
4118 crypto_provider_ext_info_t *ext_info, crypto_req_handle_t req)
4129 error = dprov_mgmt_submit_req(DPROV_REQ_MGMT_EXTINFO, softc, req,
4140 char *label, crypto_req_handle_t req)
4151 error = dprov_mgmt_submit_req(DPROV_REQ_MGMT_INITTOKEN, softc, req,
4163 crypto_req_handle_t req)
4174 error = dprov_mgmt_submit_req(DPROV_REQ_MGMT_INITPIN, softc, req,
4186 crypto_req_handle_t req)
4197 error = dprov_mgmt_submit_req(DPROV_REQ_MGMT_SETPIN, softc, req,
4912 crypto_req_handle_t req)
4925 softc, req, session_id, mechanism, template, attribute_count,
4946 crypto_req_handle_t req)
4959 softc, req, session_id, mechanism, public_key_template,
4976 uint_t out_attribute_count, crypto_req_handle_t req)
4988 error = dprov_key_submit_req(DPROV_REQ_NOSTORE_KEY_DERIVE, softc, req,
5042 dprov_state_t *softc, crypto_req_handle_t req,
5048 if ((taskq_req = dprov_alloc_req(req_type, softc, req, kmflag)) == NULL)
5067 dprov_state_t *softc, crypto_req_handle_t req,
5073 if ((taskq_req = dprov_alloc_req(req_type, softc, req, kmflag)) == NULL)
5093 dprov_state_t *softc, crypto_req_handle_t req,
5100 if ((taskq_req = dprov_alloc_req(req_type, softc, req, kmflag)) == NULL)
5120 dprov_state_t *softc, crypto_req_handle_t req,
5127 if ((taskq_req = dprov_alloc_req(req_type, softc, req, kmflag)) == NULL)
5147 crypto_req_handle_t req, crypto_ctx_t *signverify_ctx,
5153 if ((taskq_req = dprov_alloc_req(req_type, softc, req,
5172 dprov_state_t *softc, crypto_req_handle_t req, crypto_ctx_t *ctx,
5180 if ((taskq_req = dprov_alloc_req(req_type, softc, req, kmflag)) == NULL)
5203 dprov_state_t *softc, crypto_req_handle_t req,
5210 if ((taskq_req = dprov_alloc_req(req_type, softc, req, kmflag)) == NULL)
5230 dprov_state_t *softc, crypto_req_handle_t req, uchar_t *buf, size_t len,
5235 if ((taskq_req = dprov_alloc_req(req_type, softc, req,
5256 dprov_state_t *softc, crypto_req_handle_t req,
5262 if ((taskq_req = dprov_alloc_req(req_type, softc, req,
5282 dprov_state_t *softc, crypto_req_handle_t req,
5291 if ((taskq_req = dprov_alloc_req(req_type, softc, req,
5316 dprov_state_t *softc, crypto_req_handle_t req,
5329 if ((taskq_req = dprov_alloc_req(req_type, softc, req,
5361 dprov_state_t *softc, crypto_req_handle_t req,
5368 if ((taskq_req = dprov_alloc_req(req_type, softc, req,