aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto
AgeCommit message (Expand)AuthorFilesLines
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-307/+349
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-164/+444
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-44/+40
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
2019-08-12fscrypt: require that key be added when setting a v2 encryption policyEric Biggers3-1/+63
2019-08-12fscrypt: add FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS ioctlEric Biggers1-5/+24
2019-08-12fscrypt: allow unprivileged users to add/remove keys for v2 policiesEric Biggers3-33/+336
2019-08-12fscrypt: v2 encryption policy supportEric Biggers7-185/+684
2019-08-12fscrypt: add an HKDF-SHA512 implementationEric Biggers4-0/+199
2019-08-12fscrypt: add FS_IOC_GET_ENCRYPTION_KEY_STATUS ioctlEric Biggers1-0/+63
2019-08-12fscrypt: add FS_IOC_REMOVE_ENCRYPTION_KEY ioctlEric Biggers3-5/+411
2019-08-12fscrypt: add FS_IOC_ADD_ENCRYPTION_KEY ioctlEric Biggers5-3/+391
2019-08-12fscrypt: rename keyinfo.c to keysetup.cEric Biggers3-2/+2
2019-08-12fscrypt: move v1 policy key setup to keysetup_v1.cEric Biggers4-322/+369
2019-08-12fscrypt: refactor key setup code in preparation for v2 policiesEric Biggers2-112/+146
2019-08-12fscrypt: rename fscrypt_master_key to fscrypt_direct_keyEric Biggers2-69/+68
2019-08-12fscrypt: add ->ci_inode to fscrypt_infoEric Biggers2-0/+5
2019-08-12fscrypt: use FSCRYPT_* definitions, not FS_*Eric Biggers5-43/+44
2019-08-12fscrypt: use ENOPKG when crypto API support missingEric Biggers1-9/+11
2019-08-12fscrypt: improve warnings for missing crypto API supportEric Biggers1-5/+14
2019-08-12fscrypt: improve warning messages for unsupported encryption contextsEric Biggers1-3/+15
2019-08-12fscrypt: make fscrypt_msg() take inode instead of super_blockEric Biggers5-35/+28
2019-08-12fscrypt: clean up base64 encoding/decodingEric Biggers1-17/+17
2019-08-12fscrypt: remove loadable module related codeEric Biggers3-26/+1
2019-06-27fscrypt: remove selection of CONFIG_CRYPTO_SHA256Eric Biggers1-1/+0
2019-06-10fscrypt: remove unnecessary includes of ratelimit.hEric Biggers3-3/+0
2019-05-28fscrypt: don't set policy for a dead directoryHongjie Fang1-0/+2
2019-05-28fscrypt: decrypt only the needed blocks in __fscrypt_decrypt_bio()Eric Biggers1-2/+2
2019-05-28fscrypt: support decrypting multiple filesystem blocks per pageEric Biggers2-16/+33
2019-05-28fscrypt: introduce fscrypt_decrypt_block_inplace()Eric Biggers1-4/+27
2019-05-28fscrypt: handle blocksize < PAGE_SIZE in fscrypt_zeroout_range()Eric Biggers1-9/+6
2019-05-28fscrypt: support encrypting multiple filesystem blocks per pageEric Biggers1-28/+39
2019-05-28fscrypt: introduce fscrypt_encrypt_block_inplace()Eric Biggers1-19/+31
2019-05-28fscrypt: clean up some BUG_ON()s in block encryption/decryptionEric Biggers1-6/+9
2019-05-28fscrypt: rename fscrypt_do_page_crypto() to fscrypt_crypt_block()Eric Biggers3-21/+20
2019-05-28fscrypt: remove the "write" part of struct fscrypt_ctxEric Biggers2-13/+12
2019-05-28fscrypt: simplify bounce page handlingEric Biggers3-106/+40
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-07Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds6-67/+119
2019-05-07Merge tag 'for-5.2/block-20190507' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+1
2019-04-30block: remove the i argument to bio_for_each_segment_allChristoph Hellwig1-2/+1
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers1-1/+0
2019-04-17fscrypt: cache decrypted symlink target in ->i_linkEric Biggers2-7/+54
2019-04-17fscrypt: fix race where ->lookup() marks plaintext dentry as ciphertextEric Biggers2-5/+7
2019-04-17fscrypt: only set dentry_operations on ciphertext dentriesEric Biggers1-2/+1
2019-04-17fscrypt: fix race allowing rename() and link() of ciphertext dentriesEric Biggers1-1/+11
2019-04-17fscrypt: clean up and improve dentry revalidationEric Biggers2-30/+32
2019-04-16fscrypt: use READ_ONCE() to access ->i_crypt_infoEric Biggers4-8/+8
2019-04-16fscrypt: remove WARN_ON_ONCE() when decryption failsEric Biggers1-4/+2
2019-04-16fscrypt: drop inode argument from fscrypt_get_ctx()Eric Biggers2-12/+6
2019-03-09Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds4-9/+7
2019-03-08Merge tag 'for-5.1/block-20190302' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2019-02-15block: allow bio_for_each_segment_all() to iterate over multi-page bvecMing Lei1-1/+2
2019-01-25crypto: clarify name of WEAK_KEY request flagEric Biggers1-2/+2