Searched refs:nonce (Results 1 – 4 of 4) sorted by relevance
/tf-m-tests-3.4.0/test/secure_fw/suites/attestation/ |
D | attest_token_test.c | 72 struct q_useful_buf_c nonce, in token_main_alt() argument 82 if(nonce.len == 64 && (q_useful_buf_is_value(nonce, 0) == SIZE_MAX)) { in token_main_alt() 84 actual_nonce = q_useful_buf_copy(actual_nonce_storage, nonce); in token_main_alt() 90 actual_nonce = nonce; in token_main_alt() 155 struct q_useful_buf_c nonce; in minimal_get_size_test() local 157 nonce = TOKEN_TEST_VALUE_NONCE; in minimal_get_size_test() 162 return_value = psa_initial_attest_get_token_size(nonce.len, in minimal_get_size_test() 196 struct q_useful_buf_c nonce; in buffer_too_small_test() local 199 nonce = TOKEN_TEST_VALUE_NONCE; in buffer_too_small_test() 205 nonce, in buffer_too_small_test() [all …]
|
D | attest_token_decode.h | 278 struct q_useful_buf_c nonce; /* byte string */ member 340 struct q_useful_buf_c *nonce); 729 struct q_useful_buf_c *nonce) in attest_token_decode_get_nonce() argument 733 nonce); in attest_token_decode_get_nonce()
|
D | attest_token_decode_common.c | 295 items->nonce = list[NONCE_FLAG].item.val.string; in attest_token_decode_get_iat_simple()
|
/tf-m-tests-3.4.0/test/secure_fw/suites/crypto/ |
D | crypto_tests_common.c | 1591 const uint8_t nonce[] = "01234567890"; in psa_aead_test() local 1651 status = psa_aead_encrypt(key_id_local, alg, nonce, nonce_length, in psa_aead_test() 1686 status = psa_aead_decrypt(key_id_local, alg, nonce, nonce_length, in psa_aead_test() 1760 status = psa_aead_set_nonce(&encop, nonce, nonce_length); in psa_aead_test() 1879 status = psa_aead_set_nonce(&decop, nonce, nonce_length); in psa_aead_test()
|