Home
last modified time | relevance | path

Searched refs:nonce_length (Results 1 – 13 of 13) sorted by relevance

/mbedtls-3.4.0/tests/src/drivers/
Dtest_driver_aead.c39 const uint8_t *nonce, size_t nonce_length, in mbedtls_test_transparent_aead_encrypt() argument
60 nonce, nonce_length, in mbedtls_test_transparent_aead_encrypt()
69 nonce, nonce_length, in mbedtls_test_transparent_aead_encrypt()
79 (void) nonce_length; in mbedtls_test_transparent_aead_encrypt()
98 const uint8_t *nonce, size_t nonce_length, in mbedtls_test_transparent_aead_decrypt() argument
119 nonce, nonce_length, in mbedtls_test_transparent_aead_decrypt()
128 nonce, nonce_length, in mbedtls_test_transparent_aead_decrypt()
138 (void) nonce_length; in mbedtls_test_transparent_aead_decrypt()
233 size_t nonce_length ) in mbedtls_test_transparent_aead_set_nonce() argument
247 libtestdriver1_mbedtls_psa_aead_set_nonce( operation, nonce, nonce_length ); in mbedtls_test_transparent_aead_set_nonce()
[all …]
/mbedtls-3.4.0/library/
Dpsa_crypto_aead.c131 const uint8_t *nonce, size_t nonce_length, in mbedtls_psa_aead_encrypt() argument
161 nonce, nonce_length, in mbedtls_psa_aead_encrypt()
176 nonce, nonce_length, in mbedtls_psa_aead_encrypt()
206 (void) nonce_length; in mbedtls_psa_aead_encrypt()
247 const uint8_t *nonce, size_t nonce_length, in mbedtls_psa_aead_decrypt() argument
274 nonce, nonce_length, in mbedtls_psa_aead_decrypt()
288 nonce, nonce_length, in mbedtls_psa_aead_decrypt()
318 (void) nonce_length; in mbedtls_psa_aead_decrypt()
380 size_t nonce_length ) in mbedtls_psa_aead_set_nonce() argument
392 nonce_length ) ); in mbedtls_psa_aead_set_nonce()
[all …]
Dpsa_crypto_aead.h83 const uint8_t *nonce, size_t nonce_length,
146 const uint8_t *nonce, size_t nonce_length,
268 size_t nonce_length );
Dpsa_crypto_driver_wrappers.c1851 const uint8_t *nonce, size_t nonce_length, in psa_driver_wrapper_aead_encrypt() argument
1874 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
1886 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
1899 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
1917 const uint8_t *nonce, size_t nonce_length, in psa_driver_wrapper_aead_decrypt() argument
1940 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
1952 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
1965 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
2105 size_t nonce_length ) in psa_driver_wrapper_aead_set_nonce() argument
2113 nonce_length ) ); in psa_driver_wrapper_aead_set_nonce()
[all …]
Dpsa_crypto_driver_wrappers.h215 const uint8_t *nonce, size_t nonce_length,
224 const uint8_t *nonce, size_t nonce_length,
244 size_t nonce_length );
Dpsa_crypto.c3554 size_t nonce_length ) in psa_aead_check_nonce_length() argument
3568 if( nonce_length != 0 ) in psa_aead_check_nonce_length()
3574 if( nonce_length >= 7 && nonce_length <= 13 ) in psa_aead_check_nonce_length()
3580 if( nonce_length == 12 ) in psa_aead_check_nonce_length()
3582 else if( nonce_length == 8 ) in psa_aead_check_nonce_length()
3587 (void) nonce_length; in psa_aead_check_nonce_length()
3605 size_t nonce_length, in psa_aead_encrypt() argument
3632 status = psa_aead_check_nonce_length( alg, nonce_length ); in psa_aead_encrypt()
3639 nonce, nonce_length, in psa_aead_encrypt()
3656 size_t nonce_length, in psa_aead_decrypt() argument
[all …]
/mbedtls-3.4.0/tests/include/test/drivers/
Daead.h63 const uint8_t *nonce, size_t nonce_length,
72 const uint8_t *nonce, size_t nonce_length,
92 size_t nonce_length );
/mbedtls-3.4.0/tests/include/test/
Dpsa_crypto_helpers.h266 nonce_length ) \ argument
272 ( ( nonce_length ) != 12 ) ) \
/mbedtls-3.4.0/include/psa/
Dcrypto.h2114 size_t nonce_length,
2187 size_t nonce_length,
2410 size_t *nonce_length);
2449 size_t nonce_length);
Dcrypto_se_driver.h740 size_t nonce_length,
782 size_t nonce_length,
/mbedtls-3.4.0/tests/src/
Dpsa_exercise_key.c246 size_t nonce_length; in exercise_aead_key() local
262 nonce_length = PSA_AEAD_NONCE_LENGTH( key_type, alg ); in exercise_aead_key()
267 nonce, nonce_length, in exercise_aead_key()
281 nonce, nonce_length, in exercise_aead_key()
/mbedtls-3.4.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja1543 const uint8_t *nonce, size_t nonce_length,
1563 nonce, nonce_length,
1577 nonce, nonce_length,
1595 const uint8_t *nonce, size_t nonce_length,
1615 nonce, nonce_length,
1629 nonce, nonce_length,
1744 size_t nonce_length )
1752 nonce_length ) );
1761 nonce, nonce_length ) );
1770 (void)nonce_length;
/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto.function2071 size_t nonce_length = nonce_length_arg;
2076 TEST_LE_U( nonce_length, sizeof( nonce ) );
2094 nonce, nonce_length,
2114 nonce, nonce_length,
5172 int nonce_length,
5226 MBEDTLS_TEST_PSA_SKIP_IF_ALT_GCM_NOT_12BYTES_NONCE( alg, nonce_length );
5232 nonce_length,
5292 size_t nonce_length;
5340 nonce_length = 0;
5345 nonce_length = ( size_t ) nonce_length_arg;
[all …]