Home
last modified time | relevance | path

Searched refs:nonce (Results 1 – 7 of 7) sorted by relevance

/fs/crypto/
Dpolicy.c112 if (mode->ivsize < offsetofend(union fscrypt_iv, nonce)) { in supported_direct_key_modes()
327 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE]) in fscrypt_new_context()
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() local
497 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in set_encryption_policy()
498 ctxsize = fscrypt_new_context(&ctx, policy, nonce); in set_encryption_policy()
Dfscrypt_private.h63 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; member
74 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; member
122 return ctx->v1.nonce; in fscrypt_context_nonce()
124 return ctx->v2.nonce; in fscrypt_context_nonce()
343 u8 nonce[FSCRYPT_FILE_NONCE_SIZE]; member
Dkeysetup.c604 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], in fscrypt_setup_encryption_info()
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() local
781 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_prepare_new_inode()
782 return fscrypt_setup_encryption_info(inode, policy, nonce, in fscrypt_prepare_new_inode()
Dkeysetup_v1.c48 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], in derive_key_aes()
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()
Dinline_crypt.c49 return offsetofend(union fscrypt_iv, nonce); in fscrypt_get_dun_bytes()
/fs/ceph/
Ddebugfs.c359 ceph_pr_addr(client_addr), le32_to_cpu(client_addr->nonce)); in status_show()