Lines Matching defs:ciphertext

61  *	CRYPTO_INVALID_CIPHERTEXT: bogus 'ciphertext' argument.
297 * ciphertext: Storage for the encrypted message. The length needed
308 * When complete and successful, 'ciphertext' will contain the encrypted
320 crypto_ctx_template_t tmpl, crypto_data_t *ciphertext,
340 plaintext, ciphertext, tmpl);
355 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext,
402 plaintext, ciphertext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq));
406 mech, key, plaintext, ciphertext, spi_ctx_tmpl);
459 * ciphertext: Storage for the encrypted message part.
474 crypto_data_t *ciphertext, crypto_call_req_t *cr)
493 ciphertext, NULL);
508 ctx->cc_session, NULL, NULL, plaintext, ciphertext, NULL);
519 * ciphertext: Storage for the last part of encrypted message
533 crypto_encrypt_final(crypto_context_t context, crypto_data_t *ciphertext,
552 error = KCF_PROV_ENCRYPT_FINAL(pd, ctx, ciphertext, NULL);
556 ctx->cc_session, NULL, NULL, NULL, ciphertext, NULL);
577 * ciphertext: The message to be encrypted
587 * single-part decryption of 'ciphertext' with the mechanism 'mech', using
600 crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key,
621 ciphertext, plaintext, tmpl);
636 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext,
651 list, CRYPTO_FG_DECRYPT_ATOMIC, ciphertext->cd_length)) == NULL) {
684 ciphertext, plaintext, spi_ctx_tmpl, KCF_SWFP_RHNDL(crq));
688 mech, key, ciphertext, plaintext, spi_ctx_tmpl);
740 * ciphertext: The message part to be decrypted
755 crypto_decrypt_update(crypto_context_t context, crypto_data_t *ciphertext,
774 error = KCF_PROV_DECRYPT_UPDATE(pd, ctx, ciphertext,
782 if (ciphertext->cd_length < kcf_ctx->kc_mech->me_threshold &&
790 ctx->cc_session, NULL, NULL, ciphertext, plaintext, NULL);
853 crypto_data_t *ciphertext, crypto_call_req_t *cr)
870 ciphertext, NULL);
874 NULL, NULL, plaintext, ciphertext, NULL);
887 crypto_decrypt_single(crypto_context_t context, crypto_data_t *ciphertext,
904 error = KCF_PROV_DECRYPT(pd, ctx, ciphertext,
909 NULL, NULL, ciphertext, plaintext, NULL);