Lines Matching defs:plaintext

2370 dprov_encrypt(crypto_ctx_t *ctx, crypto_data_t *plaintext,
2384 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP);
2394 dprov_encrypt_update(crypto_ctx_t *ctx, crypto_data_t *plaintext,
2409 req, NULL, NULL, plaintext, 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,
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);
2561 dprov_decrypt_final(crypto_ctx_t *ctx, crypto_data_t *plaintext,
2576 req, NULL, NULL, plaintext, NULL, 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,
3094 crypto_ctx_t *encrypt_ctx, crypto_data_t *plaintext,
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);
3254 dprov_encrypt_mac(crypto_ctx_t *ctx, crypto_data_t *plaintext,
3269 * Careful! cihertext/plaintext order inversion
3273 ciphertext, plaintext, mac, KM_NOSLEEP);
3282 dprov_encrypt_mac_update(crypto_ctx_t *ctx, crypto_data_t *plaintext,
3298 ciphertext, plaintext, NULL, KM_NOSLEEP);
3336 crypto_key_t *mac_key, crypto_data_t *plaintext,
3371 mac_key, ciphertext, plaintext, mac, KM_SLEEP);
3426 crypto_data_t *mac, crypto_data_t *plaintext, crypto_req_handle_t req)
3441 ciphertext, plaintext, mac, KM_NOSLEEP);
3451 crypto_data_t *plaintext, crypto_req_handle_t req)
3466 ciphertext, plaintext, NULL, KM_NOSLEEP);
3476 crypto_data_t *plaintext, crypto_req_handle_t req)
3491 NULL, plaintext, mac, KM_NOSLEEP);
3504 crypto_data_t *mac, crypto_data_t *plaintext,
3538 mac_key, ciphertext, plaintext, mac, KM_SLEEP);
3551 crypto_data_t *mac, crypto_data_t *plaintext,
3585 mac_key, ciphertext, plaintext, mac, KM_SLEEP);
5148 crypto_ctx_t *cipher_ctx, crypto_data_t *plaintext,
5159 taskq_req->dr_dual_req.dr_plaintext = plaintext;
5204 crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *plaintext,
5216 taskq_req->dr_cipher_req.dr_plaintext = plaintext;
7800 crypto_data_t plaintext;
7889 plaintext.cd_format = CRYPTO_DATA_RAW;
7890 plaintext.cd_offset = 0;
7891 plaintext.cd_length = plaintext_key_len;
7892 plaintext.cd_raw.iov_base = plaintext_key;
7893 plaintext.cd_raw.iov_len = plaintext_key_len;
7894 plaintext.cd_miscdata = NULL;
7904 error = crypto_encrypt_prov(pd, 0, &mech, &plaintext, keyp,
7923 crypto_data_t plaintext;
7980 plaintext.cd_format = CRYPTO_DATA_RAW;
7981 plaintext.cd_offset = 0;
7982 plaintext.cd_length = wrapped_key_len;
7983 plaintext.cd_raw.iov_base = plaintext_buf;
7984 plaintext.cd_raw.iov_len = wrapped_key_len;
7985 plaintext.cd_miscdata = NULL;
7988 NULL, &plaintext, NULL);
8004 unwrapped_key.oa_value_len = plaintext.cd_length;
8015 unwrapped_key.oa_value_len = plaintext.cd_length;