Lines Matching refs:ciphertext
320 crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, in crypto_encrypt_prov() argument
340 plaintext, ciphertext, tmpl); in crypto_encrypt_prov()
355 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, in crypto_encrypt() argument
402 plaintext, ciphertext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_encrypt()
406 mech, key, plaintext, ciphertext, spi_ctx_tmpl); in crypto_encrypt()
474 crypto_data_t *ciphertext, crypto_call_req_t *cr) in crypto_encrypt_update() argument
493 ciphertext, NULL); in crypto_encrypt_update()
508 ctx->cc_session, NULL, NULL, plaintext, ciphertext, NULL); in crypto_encrypt_update()
533 crypto_encrypt_final(crypto_context_t context, crypto_data_t *ciphertext, in crypto_encrypt_final() argument
552 error = KCF_PROV_ENCRYPT_FINAL(pd, ctx, ciphertext, NULL); in crypto_encrypt_final()
556 ctx->cc_session, NULL, NULL, NULL, ciphertext, NULL); in crypto_encrypt_final()
600 crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, in crypto_decrypt_prov() argument
621 ciphertext, plaintext, tmpl); in crypto_decrypt_prov()
636 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext, in crypto_decrypt() argument
651 list, CRYPTO_FG_DECRYPT_ATOMIC, ciphertext->cd_length)) == NULL) { in crypto_decrypt()
684 ciphertext, plaintext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq)); in crypto_decrypt()
688 mech, key, ciphertext, plaintext, spi_ctx_tmpl); in crypto_decrypt()
755 crypto_decrypt_update(crypto_context_t context, crypto_data_t *ciphertext, in crypto_decrypt_update() argument
774 error = KCF_PROV_DECRYPT_UPDATE(pd, ctx, ciphertext, in crypto_decrypt_update()
782 if (ciphertext->cd_length < kcf_ctx->kc_mech->me_threshold && in crypto_decrypt_update()
790 ctx->cc_session, NULL, NULL, ciphertext, plaintext, NULL); in crypto_decrypt_update()
853 crypto_data_t *ciphertext, crypto_call_req_t *cr) in crypto_encrypt_single() argument
870 ciphertext, NULL); in crypto_encrypt_single()
874 NULL, NULL, plaintext, ciphertext, NULL); in crypto_encrypt_single()
887 crypto_decrypt_single(crypto_context_t context, crypto_data_t *ciphertext, in crypto_decrypt_single() argument
904 error = KCF_PROV_DECRYPT(pd, ctx, ciphertext, in crypto_decrypt_single()
909 NULL, NULL, ciphertext, plaintext, NULL); in crypto_decrypt_single()