Home
last modified time | relevance | path

Searched refs:FSCRYPT_FILE_NONCE_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/crypto/
Dfscrypt_private.h21 #define FSCRYPT_FILE_NONCE_SIZE 16 macro
42 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
52 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
254 u8 ci_nonce[FSCRYPT_FILE_NONCE_SIZE];
290 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
Dkeysetup.c259 ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE, in fscrypt_derive_dirhash_key()
353 ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE, in fscrypt_setup_v2_file_key()
521 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], in fscrypt_setup_encryption_info() argument
539 memcpy(crypt_info->ci_nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_setup_encryption_info()
671 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; in fscrypt_prepare_new_inode()
693 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_prepare_new_inode()
Dpolicy.c291 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE]) in fscrypt_new_context() argument
309 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_new_context()
325 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_new_context()
421 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; in set_encryption_policy()
459 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in set_encryption_policy()
594 FSCRYPT_FILE_NONCE_SIZE)) in fscrypt_ioctl_get_nonce()
Dkeysetup_v1.c48 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], in derive_key_aes() argument
71 res = crypto_skcipher_setkey(tfm, nonce, FSCRYPT_FILE_NONCE_SIZE); in derive_key_aes()
Dcrypto.c95 memcpy(iv->nonce, ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_generate_iv()
/linux-6.1.9/Documentation/filesystems/
Dfscrypt.rst1231 #define FSCRYPT_FILE_NONCE_SIZE 16
1240 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
1251 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];