Home
last modified time | relevance | path

Searched refs:EVP_EncryptUpdate (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/crypto/openssl/demos/cipher/
H A Daesccm.c115 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, NULL, sizeof(ccm_pt))) in aes_ccm_encrypt()
119 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, ccm_adata, sizeof(ccm_adata))) in aes_ccm_encrypt()
123 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, ccm_pt, sizeof(ccm_pt))) in aes_ccm_encrypt()
H A Daesgcm.c110 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, gcm_aad, sizeof(gcm_aad))) in aes_gcm_encrypt()
114 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, gcm_pt, sizeof(gcm_pt))) in aes_gcm_encrypt()
H A Daeskeywrap.c88 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, wrap_pt, sizeof(wrap_pt))) in aes_wrap_encrypt()
H A Dariacbc.c83 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt))) in aria_cbc_encrypt()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_siv_hw.c74 if (!EVP_EncryptUpdate(ctx->ecb_ctx, output, &out_len, data.block, BLOCK_SIZE)) in aes_gcm_siv_initkey()
89 if (!EVP_EncryptUpdate(ctx->ecb_ctx, output, &out_len, data.block, BLOCK_SIZE)) in aes_gcm_siv_initkey()
189 error |= !EVP_EncryptUpdate(ctx->ecb_ctx, ctx->tag, &out_len, S_s, sizeof(S_s)); in aes_gcm_siv_encrypt()
259 error |= !EVP_EncryptUpdate(ctx->ecb_ctx, ctx->tag, &out_len, S_s, sizeof(S_s)); in aes_gcm_siv_decrypt()
368 … error |= !EVP_EncryptUpdate(ctx->ecb_ctx, keystream, &out_len, (uint8_t *)&block, sizeof(block)); in aes_gcm_siv_ctr32()
/freebsd/crypto/openssl/doc/man7/
H A DEVP_CIPHER-AES.pod69 means to obtain correct results there can be only one L<EVP_EncryptUpdate(3)>
77 L<EVP_EncryptUpdate(3)> or L<EVP_DecryptUpdate(3)> call requires each input
78 to be a multiple of the blocksize. Only the final EVP_EncryptUpdate() or
H A DEVP_CIPHER-SM4.pod50 L<EVP_EncryptUpdate(3)> or L<EVP_DecryptUpdate(3)> call requires each input
51 to be a multiple of the blocksize. Only the final EVP_EncryptUpdate() or
H A Dlife_cycle-cipher.pod85 | EVP_DecryptUpdate | EVP_CipherUpdate EVP_EncryptUpdate |
100 v v v EVP_EncryptUpdate
138EVP_EncryptUpdate
238 <tr><th style="border:1px solid" align="left">EVP_EncryptUpdate</th>
H A Dprovider-cipher.pod85 L<EVP_EncryptUpdate(3)> and L<EVP_EncryptFinal(3)> (as well as the decrypt
189 locations, the requirements of L<EVP_EncryptUpdate(3)> and L<EVP_DecryptUpdate(3)>
191 Similarly, the requirements of L<EVP_EncryptUpdate(3)> and L<EVP_DecryptUpdate(3)>
/freebsd/crypto/openssl/test/
H A Daesgcmtest.c54 && TEST_true(EVP_EncryptUpdate(ctx, NULL, &outlen, gcm_aad, in do_encrypt()
57 && TEST_true(EVP_EncryptUpdate(ctx, ct, ct_len, gcm_pt, in do_encrypt()
H A Devp_libctx_test.c404 || !TEST_true(EVP_EncryptUpdate(ctx, out1, &out1_len, in, sizeof(in))) in test_cipher_reinit()
406 || !TEST_int_eq(EVP_EncryptUpdate(ctx, out2, &out2_len, in, sizeof(in)), in test_cipher_reinit()
410 || !TEST_int_eq(EVP_EncryptUpdate(ctx, out3, &out3_len, in, sizeof(in)), in test_cipher_reinit()
498 || !TEST_true(EVP_EncryptUpdate(ctx, out1, &out1_len, in, in_len)) in test_cipher_reinit_partialupdate()
500 || !TEST_true(EVP_EncryptUpdate(ctx, out2, &out2_len, in, in_len))) in test_cipher_reinit_partialupdate()
509 || !TEST_true(EVP_EncryptUpdate(ctx, out3, &out3_len, in, in_len))) in test_cipher_reinit_partialupdate()
H A Devp_extra_test.c4477 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &ctlen, msg, in test_decrypt_null_chunks()
4480 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext + ctlen, &tmp, NULL, in test_decrypt_null_chunks()
4483 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext + ctlen, &tmp, in test_decrypt_null_chunks()
5115 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &len, msg, in test_evp_iv_aes()
5232 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &len, msg, in test_evp_iv_des()
6716 if (!TEST_true(EVP_EncryptUpdate(ctx2, buf, &len, msg, sizeof(msg))) in test_cipher_with_engine()
6930 && !TEST_true(EVP_EncryptUpdate(ctx, NULL, &outlen, in aes_gcm_encrypt()
6932 || !TEST_true(EVP_EncryptUpdate(ctx, outbuf, &outlen, in aes_gcm_encrypt()
7066 || !TEST_true(EVP_EncryptUpdate(ctx, outbuf, &outlen, in rc4_encrypt()
7171 || !TEST_true(EVP_EncryptUpdate(ctx, NULL, &outl, aad, sizeof(aad))) /* AAD */ in test_aes_gcm_siv_empty_data()
[all …]
/freebsd/crypto/openssl/doc/life-cycles/
H A Dcipher.dot36 e_initialised -> e_updated [label="EVP_EncryptUpdate", weight=2];
37 e_updated -> e_updated [label="EVP_EncryptUpdate"];
/freebsd/crypto/openssl/providers/implementations/macs/
H A Dgmac_prov.c137 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, data, INT_MAX)) in gmac_update()
142 return EVP_EncryptUpdate(ctx, NULL, &outlen, data, datalen); in gmac_update()
/freebsd/crypto/krb5/src/lib/crypto/openssl/enc_provider/
H A Drc4.c98 ret = EVP_EncryptUpdate(ctx, in k5_arcfour_docrypt()
H A Ddes3.c109 ret = EVP_EncryptUpdate(ctx, oblock, &olen, iblock, DES3_BLOCK_SIZE); in k5_des3_encrypt()
/freebsd/crypto/openssl/demos/mac/
H A Dpoly1305.c153 if (!EVP_EncryptUpdate(aesctx, composite_key + 16, &aes_len, in main()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_pwri.c294 if (!EVP_EncryptUpdate(ctx, out, &dummy, out, olen) in kek_wrap_key()
295 || !EVP_EncryptUpdate(ctx, out, &dummy, out, olen)) in kek_wrap_key()
/freebsd/crypto/openssl/doc/man3/
H A DRC4_set_key.pod23 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
H A DEVP_SealInit.pod44 as the EVP_EncryptUpdate() and EVP_EncryptFinal() routines, as
H A DEVP_EncryptInit.pod15 EVP_EncryptUpdate,
126 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
398 =item EVP_EncryptUpdate()
431 calls to EVP_EncryptUpdate() should be made.
705 "used" (before any EVP_EncryptUpdate(), EVP_DecryptUpdate() calls for example).
1036 Determines if the input length I<inl> passed to EVP_EncryptUpdate(),
1384 EVP_EncryptInit_ex2(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex()
1482 EVP_EncryptUpdate() or EVP_DecryptUpdate() should be made with the output
1555 EVP_CipherUpdate(), EVP_EncryptUpdate() or EVP_DecryptUpdate() with the output
1592 EVP_CipherUpdate(), EVP_EncryptUpdate() or EVP_DecryptUpdate() should be made
[all …]
H A DEVP_aes_128_gcm.pod158 only be one L<EVP_EncryptUpdate(3)> call per L<EVP_EncryptInit_ex(3)> call (and
/freebsd/tools/tools/crypto/
H A Dcryptocheck.c1127 if (EVP_EncryptUpdate(ctx, NULL, &outl, (const u_char *)input, in openssl_gmac()
1355 if (EVP_EncryptUpdate(ctx, NULL, &outl, (const u_char *)aad, in openssl_aead_encrypt()
1363 if (EVP_EncryptUpdate(ctx, (u_char *)output, &outl, in openssl_aead_encrypt()
1482 if (EVP_EncryptUpdate(ctx, NULL, &outl, NULL, size) != 1) { in openssl_ccm_encrypt()
1490 if (EVP_EncryptUpdate(ctx, NULL, &outl, (const u_char *)aad, in openssl_ccm_encrypt()
1498 if (EVP_EncryptUpdate(ctx, (u_char *)output, &outl, in openssl_ccm_encrypt()
/freebsd/contrib/bsnmp/lib/
H A Dsnmpcrypto.c197 if (EVP_EncryptUpdate(ctx, pdu->scoped_ptr, &olen, pdu->scoped_ptr, in snmp_pdu_encrypt()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dkrb5kdf.c439 ret = EVP_EncryptUpdate(ctx, cipherblock, &olen, in KRB5KDF()

123