/mbedtls-3.7.0/programs/psa/ |
D | key_ladder_demo.c | 359 size_t ciphertext_size; in wrap_data() local 406 &ciphertext_size)); in wrap_data() 414 SYS_CHECK(fwrite(buffer, 1, ciphertext_size, in wrap_data() 415 output_file) == ciphertext_size); in wrap_data() 443 size_t ciphertext_size = 0; in unwrap_data() local 467 ciphertext_size = in unwrap_data() 470 if (ciphertext_size < header.payload_size) { in unwrap_data() 477 SYS_CHECK((buffer = calloc(1, ciphertext_size)) != NULL); in unwrap_data() 478 SYS_CHECK(fread(buffer, 1, ciphertext_size, in unwrap_data() 479 input_file) == ciphertext_size); in unwrap_data() [all …]
|
/mbedtls-3.7.0/tests/src/drivers/ |
D | test_driver_aead.c | 32 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) in mbedtls_test_transparent_aead_encrypt() argument 50 ciphertext, ciphertext_size, ciphertext_length); in mbedtls_test_transparent_aead_encrypt() 59 ciphertext, ciphertext_size, ciphertext_length); in mbedtls_test_transparent_aead_encrypt() 72 (void) ciphertext_size; in mbedtls_test_transparent_aead_encrypt() 340 size_t ciphertext_size, in mbedtls_test_transparent_aead_finish() argument 356 ciphertext_size, ciphertext_length, in mbedtls_test_transparent_aead_finish() 360 mbedtls_psa_aead_finish(operation, ciphertext, ciphertext_size, in mbedtls_test_transparent_aead_finish() 366 (void) ciphertext_size; in mbedtls_test_transparent_aead_finish()
|
/mbedtls-3.7.0/library/ |
D | psa_crypto_aead.c | 124 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) in mbedtls_psa_aead_encrypt() argument 139 if (ciphertext_size < (plaintext_length + operation.tag_length)) { in mbedtls_psa_aead_encrypt() 552 size_t ciphertext_size, in mbedtls_psa_aead_finish() argument 569 ciphertext, ciphertext_size, ciphertext_length, in mbedtls_psa_aead_finish() 603 (void) ciphertext_size; in mbedtls_psa_aead_finish()
|
D | psa_crypto_aead.h | 74 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 466 size_t ciphertext_size,
|
D | psa_crypto_driver_wrappers.h | 1976 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument 1999 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2011 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2024 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt() 2396 size_t ciphertext_size, in psa_driver_wrapper_aead_finish() argument 2408 ciphertext_size, in psa_driver_wrapper_aead_finish() 2419 ciphertext, ciphertext_size, in psa_driver_wrapper_aead_finish() 2429 ciphertext, ciphertext_size, in psa_driver_wrapper_aead_finish() 2436 (void)ciphertext_size; in psa_driver_wrapper_aead_finish()
|
D | psa_crypto.c | 4750 size_t ciphertext_size, argument 4777 LOCAL_OUTPUT_ALLOC(ciphertext_external, ciphertext_size, ciphertext); 4790 ciphertext, ciphertext_size, ciphertext_length); 4792 if (status != PSA_SUCCESS && ciphertext_size != 0) { 4793 memset(ciphertext, 0, ciphertext_size); 5327 size_t ciphertext_size, argument 5338 LOCAL_OUTPUT_ALLOC(ciphertext_external, ciphertext_size, ciphertext); 5355 ciphertext_size,
|
/mbedtls-3.7.0/tests/include/test/drivers/ |
D | aead.h | 54 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 103 size_t ciphertext_size,
|
/mbedtls-3.7.0/include/psa/ |
D | crypto.h | 2115 size_t ciphertext_size, 2707 size_t ciphertext_size,
|
D | crypto_se_driver.h | 734 size_t ciphertext_size,
|
/mbedtls-3.7.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.h.jinja | 1683 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) 1703 ciphertext, ciphertext_size, ciphertext_length ); 1717 ciphertext, ciphertext_size, ciphertext_length ) ); 2025 size_t ciphertext_size, 2037 ciphertext_size, 2048 ciphertext, ciphertext_size, 2058 (void)ciphertext_size;
|
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_psa_crypto.function | 5479 size_t ciphertext_size = 0; 5499 ciphertext_size = PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg); 5501 TEST_LE_U(ciphertext_size, PSA_AEAD_FINISH_OUTPUT_MAX_SIZE); 5503 TEST_CALLOC(ciphertext, ciphertext_size); 5544 PSA_ASSERT(psa_aead_finish(&operation, ciphertext, ciphertext_size, 5580 size_t ciphertext_size = 0; 5602 ciphertext_size = PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg); 5604 TEST_LE_U(ciphertext_size, PSA_AEAD_FINISH_OUTPUT_MAX_SIZE); 5606 TEST_CALLOC(ciphertext, ciphertext_size); 5665 TEST_EQUAL(psa_aead_finish(&operation, ciphertext, ciphertext_size, [all …]
|