Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_aead.c98 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length) in mbedtls_test_transparent_aead_decrypt() argument
116 plaintext, plaintext_size, plaintext_length); in mbedtls_test_transparent_aead_decrypt()
125 plaintext, plaintext_size, plaintext_length); in mbedtls_test_transparent_aead_decrypt()
138 (void) plaintext_size; in mbedtls_test_transparent_aead_decrypt()
391 size_t plaintext_size, in mbedtls_test_transparent_aead_verify() argument
410 plaintext_size, in mbedtls_test_transparent_aead_verify()
419 plaintext_size, in mbedtls_test_transparent_aead_verify()
427 (void) plaintext_size; in mbedtls_test_transparent_aead_verify()
/third_party/mbedtls/library/
Dconstant_time.c937 size_t plaintext_size = 0; in mbedtls_ct_rsaes_pkcs1_v15_unpadding() local
973 plaintext_size = mbedtls_ct_uint_if( in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
979 output_too_large = mbedtls_ct_size_gt(plaintext_size, in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
1008 plaintext_size = mbedtls_ct_uint_if(output_too_large, in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
1010 (unsigned) plaintext_size); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
1020 plaintext_max_size - plaintext_size); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
1037 *olen = plaintext_size; in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
Dpsa_crypto_aead.c230 size_t plaintext_size, in psa_aead_unpadded_locate_tag() argument
238 if (payload_length > plaintext_size) { in psa_aead_unpadded_locate_tag()
252 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length) in mbedtls_psa_aead_decrypt() argument
267 plaintext_size, &tag); in mbedtls_psa_aead_decrypt()
Dpsa_crypto_aead.h149 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length);
Dpsa_crypto_driver_wrappers.c1860 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in psa_driver_wrapper_aead_decrypt() argument
1880 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt()
1894 plaintext, plaintext_size, plaintext_length ) ); in psa_driver_wrapper_aead_decrypt()
2195 size_t plaintext_size, in psa_driver_wrapper_aead_verify() argument
2211 plaintext_size, in psa_driver_wrapper_aead_verify()
2237 plaintext, plaintext_size, in psa_driver_wrapper_aead_verify()
2247 (void)plaintext_size; in psa_driver_wrapper_aead_verify()
Dpsa_crypto_driver_wrappers.h264 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length);
313 size_t plaintext_size,
Dpsa_crypto.c4419 size_t plaintext_size, in psa_aead_decrypt() argument
4453 plaintext, plaintext_size, plaintext_length); in psa_aead_decrypt()
4455 if (status != PSA_SUCCESS && plaintext_size != 0) { in psa_aead_decrypt()
4456 memset(plaintext, 0, plaintext_size); in psa_aead_decrypt()
4922 size_t plaintext_size, in psa_aead_verify() argument
4942 plaintext_size, in psa_aead_verify()
/third_party/mbedtls/programs/psa/
Dkey_ladder_demo.c456 size_t plaintext_size; in unwrap_data() local
506 &plaintext_size)); in unwrap_data()
507 if (plaintext_size != header.payload_size) { in unwrap_data()
517 SYS_CHECK(fwrite(buffer, 1, plaintext_size, in unwrap_data()
518 output_file) == plaintext_size); in unwrap_data()
/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/include/psa/
Dcrypto.h2193 size_t plaintext_size,
2795 size_t plaintext_size,
Dcrypto_se_driver.h788 size_t plaintext_size,
/third_party/mbedtls/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja1845 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length )
1865 plaintext, plaintext_size, plaintext_length );
1879 plaintext, plaintext_size, plaintext_length ) );
2180 size_t plaintext_size,
2196 plaintext_size,
2222 plaintext, plaintext_size,
2232 (void)plaintext_size;
/third_party/ffmpeg/libavformat/
Dmxfdec.c624 uint64_t plaintext_size; in mxf_decrypt_triplet() local
643 plaintext_size = avio_rb64(pb); in mxf_decrypt_triplet()
657 if (orig_size < plaintext_size) in mxf_decrypt_triplet()
673 else if (size < plaintext_size) in mxf_decrypt_triplet()
675 size -= plaintext_size; in mxf_decrypt_triplet()
677 av_aes_crypt(mxf->aesc, &pkt->data[plaintext_size], in mxf_decrypt_triplet()
678 &pkt->data[plaintext_size], size >> 4, ivec, 1); in mxf_decrypt_triplet()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.function5500 size_t plaintext_size = 0;
5518 plaintext_size = PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg,
5521 ASSERT_ALLOC(plaintext, plaintext_size);
5555 plaintext, plaintext_size,