Home
last modified time | relevance | path

Searched refs:plaintext_size (Results 1 – 13 of 13) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_aead.c86 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_test_transparent_aead_decrypt() argument
105 plaintext, plaintext_size, plaintext_length ); in mbedtls_test_transparent_aead_decrypt()
118 (void) plaintext_size; in mbedtls_test_transparent_aead_decrypt()
352 size_t plaintext_size, in mbedtls_test_transparent_aead_verify() argument
373 plaintext_size, in mbedtls_test_transparent_aead_verify()
381 (void) plaintext_size; in mbedtls_test_transparent_aead_verify()
/third_party/mbedtls/library/
Dconstant_time.c697 size_t plaintext_size = 0; in mbedtls_ct_rsaes_pkcs1_v15_unpadding() local
734 plaintext_size = mbedtls_ct_uint_if( in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
740 output_too_large = mbedtls_ct_size_gt( plaintext_size, in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
768 plaintext_size = mbedtls_ct_uint_if( output_too_large, in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
770 (unsigned) plaintext_size ); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
780 plaintext_max_size - plaintext_size ); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
796 *olen = plaintext_size; in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
Dpsa_crypto_aead.c244 size_t plaintext_size, in psa_aead_unpadded_locate_tag() argument
251 if( payload_length > plaintext_size ) in psa_aead_unpadded_locate_tag()
264 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_psa_aead_decrypt() argument
278 plaintext_size, &tag ); in mbedtls_psa_aead_decrypt()
Dpsa_crypto_driver_wrappers.c1573 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in psa_driver_wrapper_aead_decrypt() argument
1593 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt()
1607 plaintext, plaintext_size, plaintext_length ) ); in psa_driver_wrapper_aead_decrypt()
1908 size_t plaintext_size, in psa_driver_wrapper_aead_verify() argument
1924 plaintext_size, in psa_driver_wrapper_aead_verify()
1950 plaintext, plaintext_size, in psa_driver_wrapper_aead_verify()
1960 (void)plaintext_size; in psa_driver_wrapper_aead_verify()
Dpsa_crypto_aead.h149 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
Dpsa_crypto_driver_wrappers.h228 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
277 size_t plaintext_size,
Dpsa_crypto.c3773 size_t plaintext_size, in psa_aead_decrypt() argument
3803 plaintext, plaintext_size, plaintext_length ); in psa_aead_decrypt()
3805 if( status != PSA_SUCCESS && plaintext_size != 0 ) in psa_aead_decrypt()
3806 memset( plaintext, 0, plaintext_size ); in psa_aead_decrypt()
4252 size_t plaintext_size, in psa_aead_verify() argument
4272 plaintext_size, in psa_aead_verify()
/third_party/mbedtls/tests/include/test/drivers/
Daead.h75 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
124 size_t plaintext_size,
/third_party/mbedtls/programs/psa/
Dkey_ladder_demo.c450 size_t plaintext_size; in unwrap_data() local
502 &plaintext_size ) ); in unwrap_data()
503 if( plaintext_size != header.payload_size ) in unwrap_data()
512 SYS_CHECK( fwrite( buffer, 1, plaintext_size, in unwrap_data()
513 output_file ) == plaintext_size ); in unwrap_data()
/third_party/mbedtls/include/psa/
Dcrypto.h2212 size_t plaintext_size,
2825 size_t plaintext_size,
Dcrypto_se_driver.h788 size_t plaintext_size,
/third_party/ffmpeg/libavformat/
Dmxfdec.c594 uint64_t plaintext_size; in mxf_decrypt_triplet() local
613 plaintext_size = avio_rb64(pb); in mxf_decrypt_triplet()
627 if (orig_size < plaintext_size) in mxf_decrypt_triplet()
643 else if (size < plaintext_size) in mxf_decrypt_triplet()
645 size -= plaintext_size; in mxf_decrypt_triplet()
647 av_aes_crypt(mxf->aesc, &pkt->data[plaintext_size], in mxf_decrypt_triplet()
648 &pkt->data[plaintext_size], size >> 4, ivec, 1); in mxf_decrypt_triplet()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.function4423 size_t plaintext_size = 0;
4441 plaintext_size = PSA_AEAD_UPDATE_OUTPUT_SIZE( key_type, alg,
4444 ASSERT_ALLOC( plaintext, plaintext_size );
4484 plaintext, plaintext_size,