aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto
AgeCommit message (Expand)AuthorFilesLines
2026-04-13Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds6-164/+54
2026-03-25fscrypt: use AES library for v1 key derivationEric Biggers2-60/+29
2026-03-09fscrypt: pass a real sector_t to fscrypt_zeroout_rangeChristoph Hellwig1-3/+2
2026-03-09fscrypt: pass a byte length to fscrypt_zeroout_rangeChristoph Hellwig1-5/+6
2026-03-09fscrypt: pass a byte offset to fscrypt_zeroout_rangeChristoph Hellwig1-4/+3
2026-03-09fscrypt: pass a byte length to fscrypt_zeroout_range_inline_cryptChristoph Hellwig1-8/+4
2026-03-09fscrypt: pass a byte offset to fscrypt_zeroout_range_inline_cryptChristoph Hellwig1-3/+3
2026-03-09fscrypt: pass a byte offset to fscrypt_set_bio_crypt_ctxChristoph Hellwig2-7/+7
2026-03-09fscrypt: pass a byte offset to fscrypt_mergeable_bioChristoph Hellwig2-4/+5
2026-03-09fscrypt: pass a byte offset to fscrypt_generate_dunChristoph Hellwig3-11/+4
2026-03-09fscrypt: move fscrypt_set_bio_crypt_ctx_bh to buffer.cChristoph Hellwig1-45/+0
2026-03-09ext4, fscrypt: merge fscrypt_mergeable_bio_bh into io_submit_need_new_bioChristoph Hellwig1-23/+0
2026-03-06treewide: change inode->i_ino from unsigned long to u64Jeff Layton4-5/+5
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds4-6/+6
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook4-6/+6
2026-02-16Merge tag 'vfs-7.0-rc1.misc.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2026-01-29fs: add helpers name_is_dot{,dot,_dotdot}Amir Goldstein1-1/+1
2026-01-11blk-crypto: handle the fallback above the block layerChristoph Hellwig1-1/+1
2026-01-11fscrypt: keep multiple bios in flight in fscrypt_zeroout_range_inline_cryptChristoph Hellwig1-32/+54
2026-01-11fscrypt: pass a real sector_t to fscrypt_zeroout_range_inline_cryptChristoph Hellwig1-5/+4
2025-12-06Merge tag 'mm-nonmm-stable-2025-12-06-11-14' of git://git.kernel.org/pub/scm/...Linus Torvalds1-83/+6
2025-12-01Merge tag 'vfs-6.19-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-2/+2
2025-11-20fscrypt: replace local base64url helpers with lib/base64Guan-Chun Wu1-83/+6
2025-11-04fscrypt: fix left shift underflow when inode->i_blkbits > PAGE_SHIFTYongpeng Yang1-2/+1
2025-10-20Coccinelle-based conversion to use ->i_state accessorsMateusz Guzik2-2/+2
2025-09-29Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds9-159/+81
2025-09-05fscrypt: use HMAC-SHA512 library for HKDFEric Biggers8-158/+80
2025-08-21fscrypt: add support for info in fs-specific part of inodeEric Biggers2-19/+28
2025-08-21fscrypt: replace raw loads of info pointer with helper functionEric Biggers6-21/+27
2025-08-11fscrypt: Remove redundant __GFP_NOWARNQianfeng Rong1-1/+1
2025-07-10fscrypt: Remove gfp_t argument from fscrypt_encrypt_block_inplace()Eric Biggers1-2/+1
2025-07-10fscrypt: Remove gfp_t argument from fscrypt_crypt_data_unit()Eric Biggers3-13/+7
2025-07-10fscrypt: Switch to sync_skcipher and on-stack requestsEric Biggers5-94/+60
2025-07-10fscrypt: Drop FORBID_WEAK_KEYS flag for AES-ECBEric Biggers1-1/+0
2025-07-10fscrypt: Don't use asynchronous CryptoAPI algorithmsEric Biggers4-21/+18
2025-07-04fscrypt: Don't use problematic non-inline crypto enginesEric Biggers4-3/+22
2025-06-20fscrypt: Explicitly include <linux/export.h>Eric Biggers9-11/+24
2025-04-08fscrypt: add support for hardware-wrapped keysEric Biggers6-65/+257
2025-03-26Merge tag 'for-6.15/block-20250322' of git://git.kernel.dk/linuxLinus Torvalds3-70/+18
2025-03-25Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds1-12/+8
2025-03-20crypto,fs: Separate out hkdf_extract() and hkdf_expand()Hannes Reinecke2-69/+15
2025-03-05fscrypt: Change fscrypt_encrypt_pagecache_blocks() to take a folioMatthew Wilcox (Oracle)1-12/+10
2025-02-17Revert "fscrypt: relax Kconfig dependencies for crypto API algorithms"Eric Biggers1-12/+8
2025-02-10blk-crypto: add basic hardware-wrapped key supportEric Biggers1-1/+3
2025-01-27fscrypt_d_revalidate(): use stable parent inode passed by callerAl Viro1-16/+5
2025-01-27Pass parent directory inode and expected name to ->d_revalidate()Al Viro1-1/+2
2024-11-19Merge tag 'random-6.13-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2024-10-03fscrypt: Include <linux/once.h> in fs/crypto/keyring.cUros Bizjak1-0/+1
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+3
2024-05-08fscrypt: try to avoid refing parent dentry in fscrypt_file_openMateusz Guzik1-6/+26
2024-05-05fscrypt: convert bh_get_inode_and_lblk_num to use a folioMatthew Wilcox (Oracle)1-3/+3
2024-03-12Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds3-12/+21
2024-03-07Merge tag 'for-next-6.9' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Christian Brauner1-10/+5
2024-02-27fscrypt: Factor out a helper to configure the lookup dentryGabriel Krisman Bertazi1-10/+5
2024-02-23fscrypt: shrink the size of struct fscrypt_inode_info slightlyEric Biggers1-6/+8
2024-02-23fscrypt: write CBC-CTS instead of CTS-CBCEric Biggers1-3/+3
2024-02-06fscrypt: clear keyring before calling key_put()Luis Henriques1-2/+6
2024-01-31fscrypt: explicitly require that inode->i_blkbits be setXiubo Li1-1/+4
2024-01-23Merge tag 'exportfs-6.9' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Christian Brauner1-7/+1
2024-01-23fs: Create a generic is_dot_dotdot() utilityChuck Lever1-7/+1
2023-12-26fscrypt: document that CephFS supports fscrypt nowEric Biggers1-1/+1
2023-12-09fscrypt: update comment for do_remove_key()Eric Biggers1-3/+3
2023-11-02Merge tag 'v6.7-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-1/+1
2023-10-16fscrypt: track master key presence separately from secretEric Biggers4-66/+93
2023-10-08fscrypt: rename fscrypt_info => fscrypt_inode_infoJosef Bacik10-75/+84
2023-09-25fscrypt: support crypto data unit size less than filesystem block sizeEric Biggers6-101/+186
2023-09-25fscrypt: replace get_ino_and_lblk_bits with just has_32bit_inodesEric Biggers1-18/+15
2023-09-25fscrypt: compute max_lblk_bits from s_maxbytes and block sizeEric Biggers3-13/+22
2023-09-24fscrypt: make the bounce page pool opt-in instead of opt-outEric Biggers1-1/+8
2023-09-24fscrypt: make it clearer that key_prefix is deprecatedEric Biggers1-2/+3
2023-09-15fscrypt: Do not include crypto/algapi.hHerbert Xu1-1/+1
2023-05-23fscrypt: Replace 1-element array with flexible arrayKees Cook2-6/+6
2023-04-06fscrypt: optimize fscrypt_initialize()Eric Biggers3-9/+14
2023-03-27fscrypt: use WARN_ON_ONCE instead of WARN_ONEric Biggers8-25/+25
2023-03-27fscrypt: new helper function - fscrypt_prepare_lookup_partial()Luís Henriques1-0/+30
2023-03-18fscrypt: check for NULL keyring in fscrypt_put_master_key_activeref()Eric Biggers1-0/+2
2023-03-18fscrypt: improve fscrypt_destroy_keyring() documentationEric Biggers1-10/+11
2023-02-20Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linuxLinus Torvalds2-19/+19
2023-02-20Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds4-23/+33
2023-02-07fscrypt: clean up fscrypt_add_test_dummy_key()Eric Biggers3-22/+11
2023-02-07fscrypt: add the test dummy encryption key on-demandEric Biggers3-4/+25
2023-01-28fscrypt: support decrypting data from large foliosEric Biggers2-19/+19
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-1/+1
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-9/+5
2022-12-01fscrypt: Add SM4 XTS/CTS symmetric algorithm supportTianjia Zhang2-0/+20
2022-11-25fscrypt: add comment for fscrypt_valid_enc_modes_v1()Eric Biggers1-0/+7
2022-11-21blk-crypto: add a blk_crypto_config_supported_natively helperChristoph Hellwig1-4/+2
2022-11-21blk-crypto: don't use struct request_queue for public interfacesChristoph Hellwig1-5/+3
2022-11-15fscrypt: pass super_block to fscrypt_put_master_key_activeref()Eric Biggers3-18/+11
2022-10-19fscrypt: fix keyring memory leak on mount failureEric Biggers1-6/+11
2022-10-03Merge tag 'statx-dioalign-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-25/+24
2022-09-21fscrypt: work on block_devices instead of request_queuesChristoph Hellwig1-40/+41
2022-09-21fscrypt: stop holding extra request_queue referencesEric Biggers5-60/+64
2022-09-21fscrypt: stop using keyrings subsystem for fscrypt_master_keyEric Biggers5-306/+348
2022-09-11fscrypt: change fscrypt_dio_supported() to prepare for STATX_DIOALIGNEric Biggers1-25/+24
2022-09-06fscrypt: stop using PG_error to track error statusEric Biggers1-6/+10
2022-08-22fscrypt: remove fscrypt_set_test_dummy_encryption()Eric Biggers1-13/+0
2022-08-11Merge tag 'ceph-for-5.20-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds4-21/+65
2022-08-03fscrypt: add fscrypt_context_for_new_inodeJeff Layton1-6/+29
2022-08-03fscrypt: export fscrypt_fname_encrypt and fscrypt_fname_encrypted_sizeJeff Layton3-15/+36
2022-06-10fscrypt: Add HCTR2 support for filename encryptionNathan Huckleberry3-4/+19
2022-05-09fscrypt: add new helper functions for test_dummy_encryptionEric Biggers3-68/+112
2022-05-09fscrypt: factor out fscrypt_policy_to_key_spec()Eric Biggers3-17/+25
2022-04-13fscrypt: log when starting to use inline encryptionEric Biggers3-3/+36
2022-04-13fscrypt: split up FS_CRYPTO_BLOCK_SIZEEric Biggers2-7/+14
2022-04-01fs: Remove ->readpages address space operationMatthew Wilcox (Oracle)1-1/+1
2022-03-22Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds2-0/+101
2022-02-08fscrypt: add functions for direct I/O supportEric Biggers2-0/+101
2022-02-02block: pass a block_device and opf to bio_resetChristoph Hellwig1-6/+2
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-6/+7
2021-10-25fscrypt: improve a few commentsEric Biggers2-3/+13
2021-09-22fscrypt: allow 256-bit master keys with AES-256-XTSEric Biggers3-17/+56
2021-09-20fscrypt: clean up comments in bio.cEric Biggers1-15/+17
2021-09-20fscrypt: remove fscrypt_operations::max_namelenEric Biggers1-2/+1
2021-07-25fscrypt: align Base64 encoding with RFC 4648 base64urlEric Biggers1-41/+65
2021-07-25fscrypt: add fscrypt_symlink_getattr() for computing st_sizeEric Biggers1-0/+44
2021-06-05fscrypt: fix derivation of SipHash keys on big endian CPUsEric Biggers1-8/+32
2021-06-05fscrypt: don't ignore minor_hash when hash is 0Eric Biggers1-7/+3
2021-04-26Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-8/+22
2021-04-22fscrypt: relax Kconfig dependencies for crypto API algorithmsArd Biesheuvel1-8/+22
2021-03-11block: rename BIO_MAX_PAGES to BIO_MAX_VECSChristoph Hellwig1-3/+3
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-17Merge tag 'f2fs-for-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-6/+0
2020-12-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-2/+2
2020-12-02fscrypt: Have filesystems handle their d_opsDaniel Rosenberg3-6/+0
2020-12-02fscrypt: allow deleting files with unsupported encryption policyEric Biggers5-16/+41
2020-12-02fscrypt: unexport fscrypt_get_encryption_info()Eric Biggers2-1/+2
2020-12-02fscrypt: move fscrypt_require_key() to fscrypt_private.hEric Biggers1-0/+26
2020-12-02fscrypt: move body of fscrypt_prepare_setattr() out-of-lineEric Biggers1-0/+8
2020-12-02fscrypt: introduce fscrypt_prepare_readdir()Eric Biggers1-0/+6
2020-11-24fscrypt: simplify master key lockingEric Biggers4-34/+21
2020-11-24fscrypt: remove unnecessary calls to fscrypt_require_key()Eric Biggers1-18/+8
2020-11-24fscrypt: add fscrypt_is_nokey_name()Eric Biggers1-2/+3
2020-11-20crypto: sha - split sha.h into sha1.h and sha2.hEric Biggers2-2/+2
2020-11-16fscrypt: remove kernel-internal constants from UAPI headerEric Biggers4-6/+14
2020-11-11fscrypt: fix inline encryption not used on new filesEric Biggers1-1/+1
2020-11-06fscrypt: remove reachable WARN in fscrypt_setup_iv_ino_lblk_32_key()Eric Biggers1-3/+1
2020-09-28fscrypt: export fscrypt_d_revalidate()Eric Biggers1-1/+2
2020-09-23fscrypt: rename DCACHE_ENCRYPTED_NAME to DCACHE_NOKEY_NAMEEric Biggers2-5/+4
2020-09-23fscrypt: don't call no-key names "ciphertext names"Eric Biggers2-11/+11
2020-09-22fscrypt: use sha256() instead of open codingEric Biggers1-16/+7
2020-09-22fscrypt: make fscrypt_set_test_dummy_encryption() take a 'const char *'Eric Biggers1-14/+6
2020-09-22fscrypt: handle test_dummy_encryption in more logical wayEric Biggers5-93/+100
2020-09-22fscrypt: move fscrypt_prepare_symlink() out-of-lineEric Biggers1-4/+35
2020-09-22fscrypt: make "#define fscrypt_policy" user-onlyEric Biggers1-1/+0
2020-09-22fscrypt: stop pretending that key setup is nofs-safeEric Biggers3-10/+7
2020-09-22fscrypt: require that fscrypt_encrypt_symlink() already has keyEric Biggers1-3/+7
2020-09-22fscrypt: remove fscrypt_inherit_context()Eric Biggers1-37/+0
2020-09-22fscrypt: adjust logging for in-creation inodesEric Biggers2-3/+10
2020-09-22fscrypt: add fscrypt_prepare_new_inode() and fscrypt_set_context()Eric Biggers3-54/+206
2020-09-07fscrypt: restrict IV_INO_LBLK_32 to ino_bits <= 32Eric Biggers1-2/+7
2020-09-07fscrypt: drop unused inode argument from fscrypt_fname_alloc_bufferJeff Layton2-5/+2
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long3-7/+8
2020-07-30fscrypt: don't load ->i_crypt_info before it's known to be validEric Biggers1-1/+2
2020-07-21fscrypt: use smp_load_acquire() for ->i_crypt_infoEric Biggers2-3/+13
2020-07-21fscrypt: use smp_load_acquire() for ->s_master_keysEric Biggers1-3/+12
2020-07-21fscrypt: use smp_load_acquire() for fscrypt_prepared_keyEric Biggers3-10/+17
2020-07-21fscrypt: switch fscrypt_do_sha256() to use the SHA-256 libraryEric Biggers2-32/+11
2020-07-21fscrypt: restrict IV_INO_LBLK_* to AES-256-XTSEric Biggers1-0/+14
2020-07-20fscrypt: rename FS_KEY_DERIVATION_NONCE_SIZEEric Biggers5-14/+13
2020-07-20fscrypt: add comments that describe the HKDF info stringsEric Biggers1-7/+7
2020-07-08fscrypt: add inline encryption supportSatya Tangirala10-47/+588
2020-06-01Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds7-163/+443
2020-05-19fscrypt: add support for IV_INO_LBLK_32 policiesEric Biggers5-41/+126
2020-05-18fscrypt: make test_dummy_encryption use v2 by defaultEric Biggers1-1/+1
2020-05-18fscrypt: support test_dummy_encryption=v2Eric Biggers2-9/+131
2020-05-15fscrypt: add fscrypt_add_test_dummy_key()Eric Biggers2-43/+77
2020-05-12fscrypt: remove unnecessary extern keywordsEric Biggers1-43/+39
2020-05-12fscrypt: fix all kerneldoc warningsEric Biggers6-27/+70
2020-05-08fscrypt: use crypto_shash_tfm_digest()Eric Biggers2-11/+2
2020-03-31Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds3-15/+42
2020-03-19fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctlEric Biggers3-15/+42
2020-03-07fscrypt: don't evict dirty inodes after removing keyEric Biggers1-0/+9
2020-01-22fscrypt: improve format of no-key namesDaniel Rosenberg2-51/+168
2020-01-22fscrypt: clarify what is meant by a per-file keyEric Biggers3-24/+25
2020-01-22fscrypt: derive dirhash key for casefolded directoriesDaniel Rosenberg4-14/+90
2020-01-22fscrypt: don't allow v1 policies with casefoldingDaniel Rosenberg2-0/+35
2020-01-22fscrypt: add "fscrypt_" prefix to fname_encrypt()Eric Biggers3-8/+10
2020-01-22fscrypt: don't print name of busy file when removing keyEric Biggers1-13/+2
2020-01-14fscrypt: document gfp_flags for bounce page allocationEric Biggers1-1/+6
2020-01-14fscrypt: optimize fscrypt_zeroout_range()Eric Biggers1-31/+81
2019-12-31fscrypt: remove redundant bi_status checkEric Biggers1-2/+0
2019-12-31fscrypt: Allow modular crypto algorithmsHerbert Xu1-7/+14
2019-12-31fscrypt: remove fscrypt_is_direct_key_policy()Eric Biggers1-6/+0
2019-12-31fscrypt: move fscrypt_valid_enc_modes() to policy.cEric Biggers2-18/+17
2019-12-31fscrypt: check for appropriate use of DIRECT_KEY flag earlierEric Biggers4-30/+35
2019-12-31fscrypt: split up fscrypt_supported_policy() by policy versionEric Biggers1-57/+59
2019-12-31fscrypt: move fscrypt_d_revalidate() to fname.cEric Biggers3-51/+50
2019-12-31fscrypt: constify inode parameter to filename encryption functionsEric Biggers2-11/+11
2019-12-31fscrypt: constify struct fscrypt_hkdf parameter to fscrypt_hkdf_expand()Eric Biggers2-2/+2
2019-12-31fscrypt: verify that the crypto_skcipher has the correct ivsizeEric Biggers1-0/+4
2019-12-31fscrypt: use crypto_skcipher_driver_name()Eric Biggers1-2/+1
2019-12-31fscrypt: support passing a keyring key to FS_IOC_ADD_ENCRYPTION_KEYEric Biggers1-8/+124
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-11-06fscrypt: add support for IV_INO_LBLK_64 policiesEric Biggers5-18/+100
2019-11-06fscrypt: avoid data race on fscrypt_mode::logged_impl_nameEric Biggers2-5/+3
2019-10-21fscrypt: zeroize fscrypt_info before freeingEric Biggers1-0/+1
2019-10-21fscrypt: remove struct fscrypt_ctxEric Biggers3-131/+10
2019-10-21fscrypt: invoke crypto API for ESSIV handlingEric Biggers4-114/+11