Home
last modified time | relevance | path

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

/mbedtls-latest/tests/src/drivers/
Dtest_driver_aead.c29 const uint8_t *nonce, size_t nonce_length, in mbedtls_test_transparent_aead_encrypt() argument
47 nonce, nonce_length, in mbedtls_test_transparent_aead_encrypt()
56 nonce, nonce_length, in mbedtls_test_transparent_aead_encrypt()
66 (void) nonce_length; in mbedtls_test_transparent_aead_encrypt()
85 const uint8_t *nonce, size_t nonce_length, in mbedtls_test_transparent_aead_decrypt() argument
103 nonce, nonce_length, in mbedtls_test_transparent_aead_decrypt()
112 nonce, nonce_length, in mbedtls_test_transparent_aead_decrypt()
122 (void) nonce_length; in mbedtls_test_transparent_aead_decrypt()
213 size_t nonce_length) in mbedtls_test_transparent_aead_set_nonce() argument
224 libtestdriver1_mbedtls_psa_aead_set_nonce(operation, nonce, nonce_length); in mbedtls_test_transparent_aead_set_nonce()
[all …]
/mbedtls-latest/library/
Dpsa_crypto_aead.c121 const uint8_t *nonce, size_t nonce_length, in mbedtls_psa_aead_encrypt() argument
150 nonce, nonce_length, in mbedtls_psa_aead_encrypt()
163 nonce, nonce_length, in mbedtls_psa_aead_encrypt()
189 (void) nonce_length; in mbedtls_psa_aead_encrypt()
233 const uint8_t *nonce, size_t nonce_length, in mbedtls_psa_aead_decrypt() argument
261 nonce, nonce_length, in mbedtls_psa_aead_decrypt()
273 nonce, nonce_length, in mbedtls_psa_aead_decrypt()
299 (void) nonce_length; in mbedtls_psa_aead_decrypt()
365 size_t nonce_length) in mbedtls_psa_aead_set_nonce() argument
376 nonce_length)); in mbedtls_psa_aead_set_nonce()
[all …]
Dpsa_crypto_aead.h71 const uint8_t *nonce, size_t nonce_length,
134 const uint8_t *nonce, size_t nonce_length,
256 size_t nonce_length);
Dpsa_crypto_driver_wrappers.h1974 const uint8_t *nonce, size_t nonce_length, in psa_driver_wrapper_aead_encrypt() argument
1997 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
2009 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
2022 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
2040 const uint8_t *nonce, size_t nonce_length, in psa_driver_wrapper_aead_decrypt() argument
2063 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
2075 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
2088 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
2228 size_t nonce_length ) in psa_driver_wrapper_aead_set_nonce() argument
2236 nonce_length ) ); in psa_driver_wrapper_aead_set_nonce()
[all …]
Dpsa_crypto.c4729 size_t nonce_length) argument
4742 if (nonce_length != 0) {
4749 if (nonce_length >= 7 && nonce_length <= 13) {
4756 if (nonce_length == 12) {
4758 } else if (nonce_length == 8) {
4764 (void) nonce_length;
4783 size_t nonce_length, argument
4813 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce);
4818 status = psa_aead_check_nonce_length(alg, nonce_length);
4826 nonce, nonce_length,
[all …]
/mbedtls-latest/tests/include/test/drivers/
Daead.h51 const uint8_t *nonce, size_t nonce_length,
60 const uint8_t *nonce, size_t nonce_length,
80 size_t nonce_length);
/mbedtls-latest/tests/include/test/
Dpsa_crypto_helpers.h304 nonce_length) \ argument
310 ((nonce_length) != 12)) \
/mbedtls-latest/include/psa/
Dcrypto.h2112 size_t nonce_length,
2185 size_t nonce_length,
2408 size_t *nonce_length);
2447 size_t nonce_length);
Dcrypto_se_driver.h728 size_t nonce_length,
770 size_t nonce_length,
/mbedtls-latest/tests/src/
Dpsa_exercise_key.c269 size_t nonce_length; in exercise_aead_key() local
285 nonce_length = PSA_AEAD_NONCE_LENGTH(key_type, alg); in exercise_aead_key()
289 nonce, nonce_length, in exercise_aead_key()
307 nonce, nonce_length, in exercise_aead_key()
/mbedtls-latest/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja1681 const uint8_t *nonce, size_t nonce_length,
1701 nonce, nonce_length,
1715 nonce, nonce_length,
1733 const uint8_t *nonce, size_t nonce_length,
1753 nonce, nonce_length,
1767 nonce, nonce_length,
1882 size_t nonce_length )
1890 nonce_length ) );
1899 nonce, nonce_length ) );
1908 (void)nonce_length;
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto.function2346 size_t nonce_length = nonce_length_arg;
2351 TEST_LE_U(nonce_length, sizeof(nonce));
2369 nonce, nonce_length,
2391 nonce, nonce_length,
5437 int nonce_length,
5492 MBEDTLS_TEST_PSA_SKIP_IF_ALT_GCM_NOT_12BYTES_NONCE(alg, nonce_length);
5498 nonce_length,
5558 size_t nonce_length;
5604 nonce_length = 0;
5607 nonce_length = (size_t) nonce_length_arg;
[all …]