Home
last modified time | relevance | path

Searched refs:nonce_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm2.c200 const u8 *nonce, u16 nonce_len, in tpm2_buf_append_auth() argument
204 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth()
206 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
208 if (nonce && nonce_len) in tpm2_buf_append_auth()
209 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth()
/linux-6.1.9/lib/crypto/
Dchacha20poly1305-selftest.c8864 const u8 *nonce, const size_t nonce_len, in chacha20poly1305_selftest_encrypt() argument
8867 if (nonce_len == 8) in chacha20poly1305_selftest_encrypt()
8870 else if (nonce_len == 12) in chacha20poly1305_selftest_encrypt()