/third_party/mbedtls/programs/psa/ |
D | key_ladder_demo.c | 370 size_t ciphertext_size; in wrap_data() local 417 &ciphertext_size ) ); in wrap_data() 423 SYS_CHECK( fwrite( buffer, 1, ciphertext_size, in wrap_data() 424 output_file ) == ciphertext_size ); in wrap_data() 449 size_t ciphertext_size = 0; in unwrap_data() local 473 ciphertext_size = in unwrap_data() 476 if( ciphertext_size < header.payload_size ) in unwrap_data() 484 SYS_CHECK( ( buffer = calloc( 1, ciphertext_size ) ) != NULL ); in unwrap_data() 485 SYS_CHECK( fread( buffer, 1, ciphertext_size, in unwrap_data() 486 input_file ) == ciphertext_size ); in unwrap_data() [all …]
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_aead.c | 38 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in mbedtls_test_transparent_aead_encrypt() argument 57 ciphertext, ciphertext_size, ciphertext_length ); in mbedtls_test_transparent_aead_encrypt() 70 (void) ciphertext_size; in mbedtls_test_transparent_aead_encrypt() 314 size_t ciphertext_size, in mbedtls_test_transparent_aead_finish() argument 331 mbedtls_psa_aead_finish( operation, ciphertext, ciphertext_size, in mbedtls_test_transparent_aead_finish() 337 (void) ciphertext_size; in mbedtls_test_transparent_aead_finish()
|
/third_party/mbedtls/library/ |
D | psa_crypto_aead.h | 86 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 478 size_t ciphertext_size,
|
D | psa_crypto_aead.c | 148 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in mbedtls_psa_aead_encrypt() argument 162 if( ciphertext_size < ( plaintext_length + operation.tag_length ) ) in mbedtls_psa_aead_encrypt() 598 size_t ciphertext_size, in mbedtls_psa_aead_finish() argument 615 ciphertext, ciphertext_size, ciphertext_length, in mbedtls_psa_aead_finish() 652 ( void ) ciphertext_size; in mbedtls_psa_aead_finish()
|
D | psa_crypto_driver_wrappers.c | 1521 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument 1541 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 1555 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt() 1863 size_t ciphertext_size, in psa_driver_wrapper_aead_finish() argument 1875 ciphertext_size, in psa_driver_wrapper_aead_finish() 1886 ciphertext, ciphertext_size, in psa_driver_wrapper_aead_finish() 1896 (void)ciphertext_size; in psa_driver_wrapper_aead_finish()
|
D | psa_crypto_driver_wrappers.h | 219 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 268 size_t ciphertext_size,
|
D | psa_crypto.c | 3723 size_t ciphertext_size, in psa_aead_encrypt() argument 3753 ciphertext, ciphertext_size, ciphertext_length ); in psa_aead_encrypt() 3755 if( status != PSA_SUCCESS && ciphertext_size != 0 ) in psa_aead_encrypt() 3756 memset( ciphertext, 0, ciphertext_size ); in psa_aead_encrypt() 4203 size_t ciphertext_size, in psa_aead_finish() argument 4225 ciphertext_size, in psa_aead_finish()
|
/third_party/mbedtls/tests/include/test/drivers/ |
D | aead.h | 66 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 115 size_t ciphertext_size,
|
/third_party/mbedtls/include/psa/ |
D | crypto.h | 2139 size_t ciphertext_size, 2740 size_t ciphertext_size,
|
D | crypto_se_driver.h | 746 size_t ciphertext_size,
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto.function | 4036 size_t ciphertext_size = 0; 4056 ciphertext_size = PSA_AEAD_FINISH_OUTPUT_SIZE( key_type, alg ); 4058 TEST_ASSERT( ciphertext_size <= PSA_AEAD_FINISH_OUTPUT_MAX_SIZE ); 4060 ASSERT_ALLOC( ciphertext, ciphertext_size ); 4102 PSA_ASSERT( psa_aead_finish( &operation, ciphertext, ciphertext_size, 4137 size_t ciphertext_size = 0; 4158 ciphertext_size = PSA_AEAD_FINISH_OUTPUT_SIZE( key_type, alg ); 4160 TEST_ASSERT( ciphertext_size <= PSA_AEAD_FINISH_OUTPUT_MAX_SIZE ); 4162 ASSERT_ALLOC( ciphertext, ciphertext_size ); 4216 PSA_ASSERT( psa_aead_finish( &operation, ciphertext, ciphertext_size, [all …]
|