Searched refs:nonce (Results 1 – 7 of 7) sorted by relevance
/fs/crypto/ |
D | policy.c | 112 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()
|
D | fscrypt_private.h | 63 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
|
D | keysetup.c | 604 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()
|
D | keysetup_v1.c | 48 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()
|
D | crypto.c | 102 memcpy(iv->nonce, ci->ci_nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_generate_iv()
|
D | inline_crypt.c | 49 return offsetofend(union fscrypt_iv, nonce); in fscrypt_get_dun_bytes()
|
/fs/ceph/ |
D | debugfs.c | 359 ceph_pr_addr(client_addr), le32_to_cpu(client_addr->nonce)); in status_show()
|