/mbedtls-development/tests/src/drivers/ |
A D | test_driver_cipher.c | 47 size_t *output_length ) in mbedtls_test_transparent_cipher_encrypt() argument 72 output, output_size, output_length ) ); in mbedtls_test_transparent_cipher_encrypt() 84 size_t *output_length ) in mbedtls_test_transparent_cipher_decrypt() argument 185 size_t *output_length) in mbedtls_test_transparent_cipher_update() argument 214 size_t *output_length) in mbedtls_test_transparent_cipher_finish() argument 256 (void) output_length; in mbedtls_test_opaque_cipher_encrypt() 275 (void) output_length; in mbedtls_test_opaque_cipher_decrypt() 331 size_t *output_length) in mbedtls_test_opaque_cipher_update() argument 338 (void) output_length; in mbedtls_test_opaque_cipher_update() 346 size_t *output_length) in mbedtls_test_opaque_cipher_finish() argument [all …]
|
A D | test_driver_aead.c | 209 size_t *output_length ) in mbedtls_test_transparent_aead_update() argument 222 output_size, output_length ); in mbedtls_test_transparent_aead_update()
|
/mbedtls-development/library/ |
A D | psa_crypto_cipher.c | 292 size_t *output_length ) in psa_cipher_update_ecb() argument 297 *output_length = 0; in psa_cipher_update_ecb() 351 *output_length += internal_output_length; in psa_cipher_update_ecb() 413 if( *output_length > output_size ) in cipher_update() 441 output_length ) ); in cipher_finish() 445 if( *output_length == 0 ) in cipher_finish() 447 else if( output_size >= *output_length ) in cipher_finish() 514 *output_length = accumulated_length + olength; in cipher_encrypt() 563 *output_length = accumulated_length + olength; in cipher_decrypt() 720 size_t *output_length ) in mbedtls_transparent_test_driver_cipher_encrypt() argument [all …]
|
A D | psa_crypto_cipher.h | 153 uint8_t *output, size_t output_size, size_t *output_length ); 183 uint8_t *output, size_t output_size, size_t *output_length ); 256 size_t *output_length ); 305 size_t *output_length ); 331 uint8_t *output, size_t output_size, size_t *output_length ); 335 uint8_t *output, size_t output_size, size_t *output_length ); 349 size_t *output_length ); 360 size_t *output_length );
|
A D | psa_crypto_driver_wrappers.c | 842 size_t *output_length ) in psa_driver_wrapper_cipher_encrypt() argument 910 (void)output_length; in psa_driver_wrapper_cipher_encrypt() 924 size_t *output_length ) in psa_driver_wrapper_cipher_decrypt() argument 992 (void)output_length; in psa_driver_wrapper_cipher_decrypt() 1181 size_t *output_length ) in psa_driver_wrapper_cipher_update() argument 1216 (void)output_length; in psa_driver_wrapper_cipher_update() 1225 size_t *output_length ) in psa_driver_wrapper_cipher_finish() argument 1254 (void)output_length; in psa_driver_wrapper_cipher_finish() 1774 size_t *output_length ) in psa_driver_wrapper_aead_update() argument 1793 output_length ) ); in psa_driver_wrapper_aead_update() [all …]
|
A D | psa_crypto_driver_wrappers.h | 120 size_t *output_length ); 131 size_t *output_length ); 156 size_t *output_length ); 162 size_t *output_length ); 255 size_t *output_length );
|
A D | psa_crypto.c | 3058 *output_length = 0; in psa_asymmetric_encrypt() 3167 *output_length = 0; in psa_asymmetric_decrypt() 3489 *output_length = 0; in psa_cipher_finish() 3529 *output_length = 0; in psa_cipher_encrypt() 3583 *output_length = 0; in psa_cipher_decrypt() 4071 *output_length = 0; in psa_aead_update() 4385 while( output_length != 0 ) in psa_key_derivation_hkdf_read() 4393 output_length -= n; in psa_key_derivation_hkdf_read() 4561 size_t output_length ) in psa_key_derivation_tls12_prf_read() argument 4612 size_t output_length ) in psa_key_derivation_output_bytes() argument [all …]
|
A D | gcm.c | 425 size_t *output_length ) in mbedtls_gcm_update() argument 435 GCM_VALIDATE_RET( output_length != NULL ); in mbedtls_gcm_update() 436 *output_length = input_length; in mbedtls_gcm_update() 512 size_t *output_length, in mbedtls_gcm_finish() argument 527 *output_length = 0; in mbedtls_gcm_finish()
|
A D | psa_crypto_aead.h | 409 size_t *output_length );
|
A D | psa_crypto_aead.c | 503 size_t *output_length ) in mbedtls_psa_aead_update() argument 543 *output_length = update_output_length; in mbedtls_psa_aead_update()
|
A D | cipher.c | 1148 size_t output_length; in mbedtls_cipher_write_tag() local 1152 NULL, 0, &output_length, in mbedtls_cipher_write_tag() 1201 size_t output_length; in mbedtls_cipher_check_tag() local 1210 NULL, 0, &output_length, in mbedtls_cipher_check_tag()
|
/mbedtls-development/tests/include/test/drivers/ |
A D | cipher.h | 57 uint8_t *output, size_t output_size, size_t *output_length); 64 uint8_t *output, size_t output_size, size_t *output_length); 88 uint8_t *output, size_t output_size, size_t *output_length); 92 uint8_t *output, size_t output_size, size_t *output_length); 102 uint8_t *output, size_t output_size, size_t *output_length); 109 uint8_t *output, size_t output_size, size_t *output_length); 133 uint8_t *output, size_t output_size, size_t *output_length); 137 uint8_t *output, size_t output_size, size_t *output_length);
|
A D | aead.h | 110 size_t *output_length );
|
/mbedtls-development/include/psa/ |
A D | crypto.h | 1643 size_t *output_length); 1690 size_t *output_length); 1983 size_t *output_length); 2034 size_t *output_length); 2655 size_t *output_length); 3143 size_t *output_length); 3204 size_t *output_length); 3655 size_t output_length); 3865 size_t output_length); 4014 size_t *output_length);
|
A D | crypto_extra.h | 714 uint8_t *output, size_t output_size, size_t *output_length ); 1577 size_t *output_length);
|
/mbedtls-development/tests/src/ |
A D | fake_external_rng_for_test.c | 43 uint8_t *output, size_t output_size, size_t *output_length ) in mbedtls_psa_external_get_random() argument 53 *output_length = output_size; in mbedtls_psa_external_get_random()
|
A D | psa_exercise_key.c | 552 size_t output_length; in mbedtls_test_psa_raw_key_agreement_with_self() local 571 output, sizeof( output ), &output_length ); in mbedtls_test_psa_raw_key_agreement_with_self() 574 TEST_ASSERT( output_length <= in mbedtls_test_psa_raw_key_agreement_with_self() 577 TEST_ASSERT( output_length <= in mbedtls_test_psa_raw_key_agreement_with_self()
|
/mbedtls-development/include/mbedtls/ |
A D | gcm.h | 317 size_t *output_length ); 354 size_t *output_length,
|
/mbedtls-development/tests/suites/ |
A D | test_suite_psa_crypto_driver_wrappers.function | 793 size_t output_length = 0; 835 output, output_length ); 1033 size_t output_length = 0; 1065 &output_length ); 1102 size_t output_length = 0; 1129 &output_length ); 1499 size_t output_length; 1536 size_t output_length; 1582 size_t output_length; 1638 size_t output_length; [all …]
|
A D | test_suite_psa_crypto.function | 341 size_t output_length = 0; 1246 size_t output_length; 1309 size_t output_length; 2575 size_t output_length; 2835 size_t output_length = 0; 2912 size_t output_length = 0; 3285 size_t output_length = 0; 3339 size_t output_length = 0; 5561 output_length = ~0; 5709 output_length = ~0; [all …]
|
A D | test_suite_pkcs1_v15.function | 195 size_t output_length = 0x7EA0; 219 &rnd_info, &output_length, 224 TEST_ASSERT( output_length == expected_plaintext_length ); 225 TEST_ASSERT( memcmp( original + sizeof( N ) - output_length, 227 output_length ) == 0 ); 242 TEST_ASSERT( output_length == max_payload_length ); 249 TEST_ASSERT( output_length != 0x7EA0 );
|
/mbedtls-development/docs/ |
A D | getting_started.md | 702 size_t output_length = 0; 738 &output_length); 774 size_t output_length = 0; 813 &output_length);
|
/mbedtls-development/docs/proposed/ |
A D | psa-driver-interface.md | 563 size_t *output_length); 569 * `output`: on success (including partial success), the first `*output_length` bytes of this buffer… 571 * `*output_length`: on success (including partial success), the number of bytes of random data that… 575 * `PSA_SUCCESS`: the `output` buffer contains `*output_length` bytes of cryptographic-quality rando…
|