Searched refs:FSCRYPT_FILE_NONCE_SIZE (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/crypto/ |
D | fscrypt_private.h | 21 #define FSCRYPT_FILE_NONCE_SIZE 16 macro 37 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; 47 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; 249 u8 ci_nonce[FSCRYPT_FILE_NONCE_SIZE]; 285 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
|
D | keysetup.c | 250 ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE, in fscrypt_derive_dirhash_key() 344 ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE, in fscrypt_setup_v2_file_key() 536 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], in fscrypt_setup_encryption_info() argument 554 memcpy(crypt_info->ci_nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_setup_encryption_info() 678 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; in fscrypt_prepare_new_inode() 700 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_prepare_new_inode()
|
D | policy.c | 262 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE]) in fscrypt_new_context() argument 280 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_new_context() 296 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_new_context() 392 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; in set_encryption_policy() 430 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in set_encryption_policy() 565 FSCRYPT_FILE_NONCE_SIZE)) in fscrypt_ioctl_get_nonce()
|
D | keysetup_v1.c | 48 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()
|
D | crypto.c | 87 memcpy(iv->nonce, ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_generate_iv()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | fscrypt.rst | 1159 #define FSCRYPT_FILE_NONCE_SIZE 16 1168 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; 1179 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
|