Lines Matching defs:ciphertext
524 crypto_data_t *ciphertext, crypto_req_handle_t req)
532 RSA_ARG_INPLACE(plaintext, ciphertext);
541 ciphertext);
553 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext,
560 RSA_ARG_INPLACE(plaintext, ciphertext);
563 ciphertext));
589 crypto_data_t *plaintext, crypto_data_t *ciphertext)
618 if (ciphertext->cd_length < modulus_len) {
619 ciphertext->cd_length = modulus_len;
641 /* copy out to ciphertext */
643 ciphertext, modulus_len)) != CRYPTO_SUCCESS)
646 ciphertext->cd_length = modulus_len;
695 rsaprov_decrypt(crypto_ctx_t *ctx, crypto_data_t *ciphertext,
704 RSA_ARG_INPLACE(ciphertext, plaintext);
708 ciphertext, plaintext);
720 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext,
727 RSA_ARG_INPLACE(ciphertext, plaintext);
729 return (rsa_decrypt_common(mechanism->cm_type, key, ciphertext,
735 crypto_data_t *ciphertext, crypto_data_t *plaintext)
754 if (ciphertext->cd_length != modulus_len)
757 ASSERT(ciphertext->cd_length <= sizeof (tmp_data));
758 if ((rv = crypto_get_input_data(ciphertext, &ctptr, tmp_data))