Lines Matching defs:nonce
4671 /* Helper function to perform common nonce length checks. */
4680 /* Not checking max nonce size here as GCM spec allows almost
4739 LOCAL_INPUT_DECLARE(nonce_external, nonce);
4757 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce);
4770 nonce, nonce_length,
4780 LOCAL_INPUT_FREE(nonce_external, nonce);
4805 LOCAL_INPUT_DECLARE(nonce_external, nonce);
4823 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce);
4837 nonce, nonce_length,
4847 LOCAL_INPUT_FREE(nonce_external, nonce);
4989 const uint8_t *nonce,
5010 status = psa_driver_wrapper_aead_set_nonce(operation, nonce,
5023 /* Generate a random nonce / IV for multipart AEAD operation */
5033 LOCAL_OUTPUT_DECLARE(nonce_external, nonce);
5034 LOCAL_OUTPUT_ALLOC(nonce_external, nonce_size, nonce);
5052 * integer >= 2 where pLen < 2^(8L). The nonce length is then 15 - L bytes.
5074 memcpy(nonce, local_nonce, required_nonce_size);
5080 LOCAL_OUTPUT_FREE(nonce_external, nonce);
5085 /* Set the nonce for a multipart authenticated encryption or decryption
5093 LOCAL_INPUT_DECLARE(nonce_external, nonce);
5094 LOCAL_INPUT_ALLOC(nonce_external, nonce_length, nonce);
5096 status = psa_aead_set_nonce_internal(operation, nonce, nonce_length);
5103 LOCAL_INPUT_FREE(nonce_external, nonce);