Home
last modified time | relevance | path

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

/fs/crypto/
Dfscrypt_private.h21 #define FSCRYPT_FILE_NONCE_SIZE 16 macro
63 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
74 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
306 u8 ci_nonce[FSCRYPT_FILE_NONCE_SIZE];
343 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
Dkeysetup.c302 ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE, in fscrypt_derive_dirhash_key()
404 ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE, in fscrypt_setup_v2_file_key()
604 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], in fscrypt_setup_encryption_info() argument
622 memcpy(crypt_info->ci_nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_setup_encryption_info()
759 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; in fscrypt_prepare_new_inode()
781 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_prepare_new_inode()
Dpolicy.c327 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE]) in fscrypt_new_context() argument
345 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_new_context()
362 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_new_context()
459 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; in set_encryption_policy()
497 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in set_encryption_policy()
632 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.c102 memcpy(iv->nonce, ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_generate_iv()