Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/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 …]
/openthread-latest/third_party/mbedtls/repo/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.h1717 const uint8_t *nonce, size_t nonce_length, in psa_driver_wrapper_aead_encrypt() argument
1737 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
1751 nonce, nonce_length, in psa_driver_wrapper_aead_encrypt()
1769 const uint8_t *nonce, size_t nonce_length, in psa_driver_wrapper_aead_decrypt() argument
1789 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
1803 nonce, nonce_length, in psa_driver_wrapper_aead_decrypt()
1918 size_t nonce_length ) in psa_driver_wrapper_aead_set_nonce() argument
1926 nonce_length ) ); in psa_driver_wrapper_aead_set_nonce()
1935 nonce, nonce_length ) ); in psa_driver_wrapper_aead_set_nonce()
1944 (void)nonce_length; in psa_driver_wrapper_aead_set_nonce()
Dpsa_crypto.c4677 size_t nonce_length) in psa_aead_check_nonce_length() argument
4690 if (nonce_length != 0) { in psa_aead_check_nonce_length()
4697 if (nonce_length >= 7 && nonce_length <= 13) { in psa_aead_check_nonce_length()
4704 if (nonce_length == 12) { in psa_aead_check_nonce_length()
4706 } else if (nonce_length == 8) { in psa_aead_check_nonce_length()
4712 (void) nonce_length; in psa_aead_check_nonce_length()
4731 size_t nonce_length, in psa_aead_encrypt() argument
4761 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce); in psa_aead_encrypt()
4766 status = psa_aead_check_nonce_length(alg, nonce_length); in psa_aead_encrypt()
4774 nonce, nonce_length, in psa_aead_encrypt()
[all …]
/openthread-latest/third_party/mbedtls/repo/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);
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dpsa_crypto_helpers.h302 nonce_length) \ argument
308 ((nonce_length) != 12)) \
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto.h2109 size_t nonce_length,
2182 size_t nonce_length,
2405 size_t *nonce_length);
2444 size_t nonce_length);
Dcrypto_se_driver.h728 size_t nonce_length,
770 size_t nonce_length,
/openthread-latest/third_party/mbedtls/repo/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()
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja1680 const uint8_t *nonce, size_t nonce_length,
1700 nonce, nonce_length,
1714 nonce, nonce_length,
1732 const uint8_t *nonce, size_t nonce_length,
1752 nonce, nonce_length,
1766 nonce, nonce_length,
1881 size_t nonce_length )
1889 nonce_length ) );
1898 nonce, nonce_length ) );
1907 (void)nonce_length;
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto.function2366 size_t nonce_length = nonce_length_arg;
2371 TEST_LE_U(nonce_length, sizeof(nonce));
2389 nonce, nonce_length,
2411 nonce, nonce_length,
5457 int nonce_length,
5512 MBEDTLS_TEST_PSA_SKIP_IF_ALT_GCM_NOT_12BYTES_NONCE(alg, nonce_length);
5518 nonce_length,
5578 size_t nonce_length;
5624 nonce_length = 0;
5627 nonce_length = (size_t) nonce_length_arg;
[all …]