Lines Matching defs:ciphertext

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);
2419 dprov_encrypt_final(crypto_ctx_t *ctx, crypto_data_t *ciphertext,
2434 req, NULL, NULL, NULL, ciphertext, ctx, 0, KM_NOSLEEP);
2445 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext,
2467 req, mechanism, key, plaintext, ciphertext, NULL, session_id,
2511 dprov_decrypt(crypto_ctx_t *ctx, crypto_data_t *ciphertext,
2526 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2536 dprov_decrypt_update(crypto_ctx_t *ctx, crypto_data_t *ciphertext,
2551 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2587 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext,
2609 req, mechanism, key, plaintext, ciphertext, NULL, session_id,
3095 crypto_data_t *ciphertext, crypto_req_handle_t req)
3112 softc, req, digest_ctx, encrypt_ctx, plaintext, ciphertext);
3122 crypto_data_t *ciphertext, crypto_data_t *plaintext,
3140 softc, req, digest_ctx, decrypt_ctx, plaintext, ciphertext);
3150 crypto_data_t *plaintext, crypto_data_t *ciphertext,
3168 softc, req, sign_ctx, encrypt_ctx, plaintext, ciphertext);
3178 crypto_data_t *ciphertext, crypto_data_t *plaintext,
3196 softc, req, verify_ctx, decrypt_ctx, plaintext, ciphertext);
3255 crypto_dual_data_t *ciphertext, crypto_data_t *mac, crypto_req_handle_t req)
3273 ciphertext, plaintext, mac, KM_NOSLEEP);
3283 crypto_dual_data_t *ciphertext, crypto_req_handle_t req)
3298 ciphertext, plaintext, NULL, KM_NOSLEEP);
3308 crypto_dual_data_t *ciphertext, crypto_data_t *mac,
3324 ciphertext, NULL, mac, KM_NOSLEEP);
3337 crypto_dual_data_t *ciphertext, crypto_data_t *mac,
3371 mac_key, ciphertext, plaintext, mac, KM_SLEEP);
3425 dprov_mac_decrypt(crypto_ctx_t *ctx, crypto_dual_data_t *ciphertext,
3441 ciphertext, plaintext, mac, KM_NOSLEEP);
3450 dprov_mac_decrypt_update(crypto_ctx_t *ctx, crypto_dual_data_t *ciphertext,
3466 ciphertext, plaintext, NULL, KM_NOSLEEP);
3503 crypto_key_t *decrypt_key, crypto_dual_data_t *ciphertext,
3538 mac_key, ciphertext, plaintext, mac, KM_SLEEP);
3550 crypto_key_t *decrypt_key, crypto_dual_data_t *ciphertext,
3585 mac_key, ciphertext, plaintext, mac, KM_SLEEP);
5149 crypto_data_t *ciphertext)
5160 taskq_req->dr_dual_req.dr_ciphertext = ciphertext;
5205 crypto_data_t *ciphertext, crypto_ctx_t *ctx, crypto_session_id_t sid,
5217 taskq_req->dr_cipher_req.dr_ciphertext = ciphertext;
6445 * Do a mac update on the resulting ciphertext, but with no
6461 /* Set the total size of the ciphertext, when successful */
6497 * Do a mac update on the resulting ciphertext, but with no
6502 * zero bytes in the ciphertext. Only the portion between
6515 /* Set the total size of the ciphertext, when successful */
6533 * If ciphertext length is different from zero, do a mac
6607 /* do a mac update and final on the ciphertext */
7801 crypto_data_t ciphertext;
7896 ciphertext.cd_format = CRYPTO_DATA_RAW;
7897 ciphertext.cd_offset = 0;
7898 ciphertext.cd_length = *lenp;
7899 ciphertext.cd_raw.iov_base =
7901 ciphertext.cd_raw.iov_len = ciphertext.cd_length;
7902 ciphertext.cd_miscdata = NULL;
7905 NULL, &ciphertext, NULL);
7910 *lenp = ciphertext.cd_length;
7924 crypto_data_t ciphertext;
7968 ciphertext.cd_format = CRYPTO_DATA_RAW;
7969 ciphertext.cd_offset = 0;
7970 ciphertext.cd_length = wrapped_key_len;
7971 ciphertext.cd_raw.iov_base = (char *)wrapped_key;
7972 ciphertext.cd_raw.iov_len = wrapped_key_len;
7973 ciphertext.cd_miscdata = NULL;
7977 * the length of the ciphertext.
7987 error = crypto_decrypt_prov(pd, 0, &mech, &ciphertext, keyp,