Home
last modified time | relevance | path

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

12

/third_party/openssl/demos/evp/
Daesccm.c69 EVP_EncryptUpdate(ctx, NULL, &outlen, NULL, sizeof(ccm_pt)); in aes_ccm_encrypt()
71 EVP_EncryptUpdate(ctx, NULL, &outlen, ccm_adata, sizeof(ccm_adata)); in aes_ccm_encrypt()
73 EVP_EncryptUpdate(ctx, outbuf, &outlen, ccm_pt, sizeof(ccm_pt)); in aes_ccm_encrypt()
Daesgcm.c66 EVP_EncryptUpdate(ctx, NULL, &outlen, gcm_aad, sizeof(gcm_aad)); in aes_gcm_encrypt()
68 EVP_EncryptUpdate(ctx, outbuf, &outlen, gcm_pt, sizeof(gcm_pt)); in aes_gcm_encrypt()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genaes.c373 n = EVP_EncryptUpdate(ctx->ctx, NULL, &olen, in, (int)len); in lws_genaes_crypt()
393 n = EVP_EncryptUpdate(ctx->ctx, out, &outl, in, (int)len); in lws_genaes_crypt()
/third_party/openssl/crypto/cms/
Dcms_pwri.c264 if (!EVP_EncryptUpdate(ctx, out, &dummy, out, olen) in kek_wrap_key()
265 || !EVP_EncryptUpdate(ctx, out, &dummy, out, olen)) in kek_wrap_key()
/third_party/openssl/doc/man3/
DEVP_EncryptInit.pod9 EVP_EncryptUpdate,
63 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
146 EVP_EncryptUpdate() encrypts B<inl> bytes from the buffer B<in> and
168 calls to EVP_EncryptUpdate() should be made.
264 EVP_EncryptUpdate(), EVP_DecryptUpdate() calls for example). This function
291 EVP_EncryptInit_ex(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex()
350 EVP_EncryptUpdate() or EVP_DecryptUpdate() should be made with the output
409 EVP_CipherUpdate(), EVP_EncryptUpdate() or EVP_DecryptUpdate() with the output
545 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, intext, strlen(intext))) {
DEVP_SealInit.pod44 as the EVP_EncryptUpdate() and EVP_EncryptFinal() routines, as
DEVP_aes.pod164 only be one L<EVP_EncryptUpdate(3)> call per L<EVP_EncryptInit_ex(3)> call (and
DEVP_CIPHER_meth_new.pod194 EVP_EncryptUpdate(), EVP_DecryptUpdate(), EVP_CipherFinal(),
/third_party/mindspore/mindspore/ccsrc/fl/armour/secure_protocol/
Dencrypt.cc143 ret = EVP_EncryptUpdate(ctx, encrypt_data, &out_len, data, len); in evp_aes_encrypt()
/third_party/openssl/test/
Devp_extra_test.c1685 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &ctlen, msg, in test_decrypt_null_chunks()
1688 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext + ctlen, &tmp, NULL, in test_decrypt_null_chunks()
1691 || !TEST_true(EVP_EncryptUpdate(ctx, ciphertext + ctlen, &tmp, in test_decrypt_null_chunks()
1986 if (!TEST_true(EVP_EncryptUpdate(ctx2, buf, &len, msg, sizeof(msg))) in test_cipher_with_engine()
/third_party/openssl/crypto/evp/
Devp_enc.c214 return EVP_EncryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
397 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, in EVP_EncryptUpdate() function
/third_party/grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc309 if (!EVP_EncryptUpdate(aes_gcm_crypter->ctx, nullptr, in gsec_aes_gcm_aead_crypter_encrypt_iovec()
342 if (!EVP_EncryptUpdate(aes_gcm_crypter->ctx, ciphertext, &bytes_written, in gsec_aes_gcm_aead_crypter_encrypt_iovec()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c345 if (EVP_EncryptUpdate(c, crypt, &clen, plain, 16) != 1) { in aes_encrypt()
482 EVP_EncryptUpdate(ctx, data, &clen, data, data_len) == 1 && in aes_128_cbc_encrypt()
722 if (!EVP_EncryptUpdate(ctx->enc, crypt, &outl, plain, len)) in crypto_cipher_encrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c276 EVP_EncryptUpdate(ctx, cypher, &plen, clear, 8) == 1 && in des_encrypt()
418 if (EVP_EncryptUpdate(c, crypt, &clen, plain, 16) != 1) { in aes_encrypt()
555 EVP_EncryptUpdate(ctx, data, &clen, data, data_len) == 1 && in aes_128_cbc_encrypt()
795 if (!EVP_EncryptUpdate(ctx->enc, crypt, &outl, plain, len)) in crypto_cipher_encrypt()
/third_party/openssl/apps/
Dspeed.c938 rc = EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop()
978 EVP_EncryptUpdate(ctx, NULL, &outl, NULL, lengths[testnum]); in EVP_Update_loop_ccm()
980 EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop_ccm()
1018 EVP_EncryptUpdate(ctx, NULL, &outl, aad, sizeof(aad)); in EVP_Update_loop_aead()
1019 EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop_aead()
/third_party/mindspore/mindspore/core/utils/
Dcrypto.cc214 auto ret_evp = EVP_EncryptUpdate(ctx, cipher_data_buf.data(), &cipher_len, plain_data.data(), in BlockEncrypt()
/third_party/openssl/include/openssl/
Devp.h506 # define EVP_SealUpdate(a,b,c,d,e) EVP_EncryptUpdate(a,b,c,d,e)
586 /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
/third_party/openssl/crypto/pem/
Dpvkfmt.c847 if (!EVP_EncryptUpdate(cctx, p, &enctmplen, p, pklen - 8)) in i2b_PVK()
Dpem_lib.c386 || !EVP_EncryptUpdate(ctx, data, &j, data, i) in PEM_ASN1_write_bio()
/third_party/openssl/crypto/engine/
DREADME27 [ ... use EVP_EncryptUpdate() and EVP_EncryptFinal() ...]
/third_party/openssl/
DNEWS41 o Fixed an overflow in the EVP_CipherUpdate, EVP_EncryptUpdate and
255 o Fix EVP_EncryptUpdate overflow (CVE-2016-2106)
DCHANGES374 *) Fixed the EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate
1683 *) The EVP_EncryptUpdate() function has had its return type changed from void
2764 *) Fix EVP_EncryptUpdate overflow
2766 An overflow can occur in the EVP_EncryptUpdate() function. If an attacker
2768 EVP_EncryptUpdate() with a partial block then a length check can overflow
2770 internal usage of the EVP_EncryptUpdate() function all usage is one of two
2771 forms. The first form is where the EVP_EncryptUpdate() call is known to be
2774 EVP_EncryptUpdate() can be seen from the code to be some small value and
2778 EVP_DecryptUpdate() can call EVP_EncryptUpdate() in certain code paths.
2779 Also EVP_CipherUpdate() is a synonym for EVP_EncryptUpdate(). All instances
[all …]
/third_party/openssl/ssl/statem/
Dstatem_srvr.c3995 || !EVP_EncryptUpdate(ctx, encdata1, &len, senc, slen) in construct_stateless_ticket()
/third_party/grpc/src/boringssl/
Dboringssl_prefix_symbols.h1505 #define EVP_EncryptUpdate BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, EVP_EncryptUpdate) macro
/third_party/openssl/crypto/err/
Dopenssl.txt752 EVP_F_EVP_ENCRYPTUPDATE:167:EVP_EncryptUpdate

12