Lines Matching refs:nonce_length
4871 size_t nonce_length) in psa_aead_check_nonce_length() argument
4884 if (nonce_length != 0) { in psa_aead_check_nonce_length()
4891 if (nonce_length >= 7 && nonce_length <= 13) { in psa_aead_check_nonce_length()
4898 if (nonce_length == 12) { in psa_aead_check_nonce_length()
4900 } else if (nonce_length == 8) { in psa_aead_check_nonce_length()
4906 (void) nonce_length; in psa_aead_check_nonce_length()
4925 size_t nonce_length, in psa_aead_encrypt() argument
4955 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce); in psa_aead_encrypt()
4960 status = psa_aead_check_nonce_length(alg, nonce_length); in psa_aead_encrypt()
4968 nonce, nonce_length, in psa_aead_encrypt()
4991 size_t nonce_length, in psa_aead_decrypt() argument
5021 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce); in psa_aead_decrypt()
5027 status = psa_aead_check_nonce_length(alg, nonce_length); in psa_aead_decrypt()
5035 nonce, nonce_length, in psa_aead_decrypt()
5195 size_t nonce_length) in psa_aead_set_nonce_internal() argument
5209 status = psa_aead_check_nonce_length(operation->alg, nonce_length); in psa_aead_set_nonce_internal()
5216 nonce_length); in psa_aead_set_nonce_internal()
5232 size_t *nonce_length) in psa_aead_generate_nonce() argument
5241 *nonce_length = 0; in psa_aead_generate_nonce()
5280 *nonce_length = required_nonce_size; in psa_aead_generate_nonce()
5294 size_t nonce_length) in psa_aead_set_nonce() argument
5299 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce); in psa_aead_set_nonce()
5301 status = psa_aead_set_nonce_internal(operation, nonce, nonce_length); in psa_aead_set_nonce()