Home
last modified time | relevance | path

Searched refs:output_length (Results 1 – 23 of 23) sorted by relevance

/mbedtls-development/tests/src/drivers/
A Dtest_driver_cipher.c47 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 Dtest_driver_aead.c209 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 Dpsa_crypto_cipher.c292 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 Dpsa_crypto_cipher.h153 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 Dpsa_crypto_driver_wrappers.c842 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 Dpsa_crypto_driver_wrappers.h120 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 Dpsa_crypto.c3058 *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 Dgcm.c425 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 Dpsa_crypto_aead.h409 size_t *output_length );
A Dpsa_crypto_aead.c503 size_t *output_length ) in mbedtls_psa_aead_update() argument
543 *output_length = update_output_length; in mbedtls_psa_aead_update()
A Dcipher.c1148 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 Dcipher.h57 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 Daead.h110 size_t *output_length );
/mbedtls-development/include/psa/
A Dcrypto.h1643 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 Dcrypto_extra.h714 uint8_t *output, size_t output_size, size_t *output_length );
1577 size_t *output_length);
/mbedtls-development/tests/src/
A Dfake_external_rng_for_test.c43 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 Dpsa_exercise_key.c552 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 Dgcm.h317 size_t *output_length );
354 size_t *output_length,
/mbedtls-development/tests/suites/
A Dtest_suite_psa_crypto_driver_wrappers.function793 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 Dtest_suite_psa_crypto.function341 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 Dtest_suite_pkcs1_v15.function195 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 Dgetting_started.md702 size_t output_length = 0;
738 &output_length);
774 size_t output_length = 0;
813 &output_length);
/mbedtls-development/docs/proposed/
A Dpsa-driver-interface.md563 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…

Completed in 53 milliseconds