Home
last modified time | relevance | path

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

/Linux-v5.10/security/keys/trusted-keys/
Dtrusted_tpm2.c35 const u8 *nonce, u16 nonce_len, in tpm2_buf_append_auth() argument
39 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth()
41 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
43 if (nonce && nonce_len) in tpm2_buf_append_auth()
44 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth()
/Linux-v5.10/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()