aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto
AgeCommit message (Expand)AuthorFilesLines
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
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
2019-01-23fscrypt: return -EXDEV for incompatible rename or link into encrypted dirEric Biggers2-5/+4
2019-01-23fscrypt: remove filesystem specific build config optionChandan Rajendra2-3/+3
2019-01-23fscrypt: remove CRYPTO_CTR dependencyEric Biggers1-1/+0
2019-01-06fscrypt: add Adiantum supportEric Biggers5-110/+363
2018-09-04crypto: speck - remove SpeckJason A. Donenfeld2-14/+0
2018-06-11Merge tag 'f2fs-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ja...Linus Torvalds3-15/+29
2018-05-20fscrypt: log the crypto algorithm implementationsEric Biggers1-34/+68
2018-05-20fscrypt: add Speck128/256 supportEric Biggers2-0/+6
2018-05-20fscrypt: only derive the needed portion of the keyEric Biggers1-23/+16
2018-05-20fscrypt: separate key lookup from key derivationEric Biggers1-47/+73
2018-05-20fscrypt: use a common logging functionEric Biggers5-21/+57
2018-05-20fscrypt: remove internal key size constantsEric Biggers2-20/+7
2018-05-20fscrypt: remove unnecessary check for non-logon key typeEric Biggers1-6/+0
2018-05-20fscrypt: make fscrypt_operations.max_namelen an integerEric Biggers1-1/+1
2018-05-20fscrypt: drop empty name check from fname_decrypt()Eric Biggers1-3/+0
2018-05-20fscrypt: drop max_namelen check from fname_decrypt()Eric Biggers1-5/+2
2018-05-20fscrypt: don't special-case EOPNOTSUPP from fscrypt_get_encryption_info()Eric Biggers1-1/+1
2018-05-20fscrypt: don't clear flags on crypto transformEric Biggers1-1/+0
2018-05-20fscrypt: remove stale comment from fscrypt_d_revalidate()Eric Biggers1-1/+0
2018-05-20fscrypt: remove error messages for skcipher_request_alloc() failureEric Biggers2-13/+3
2018-05-20fscrypt: remove unnecessary NULL check when allocating skcipherEric Biggers1-2/+2
2018-05-20fscrypt: clean up after fscrypt_prepare_lookup() conversionsEric Biggers2-1/+1
2018-05-20fscrypt: use unbound workqueue for decryptionEric Biggers1-1/+10
2018-05-02fscrypt: allow synchronous bio decryptionEric Biggers3-15/+29
2018-02-01fscrypt: fix build with pre-4.6 gcc versionsEric Biggers1-1/+1
2018-01-11fscrypt: remove 'ci' parameter from fscrypt_put_encryption_info()Eric Biggers1-13/+3
2018-01-11fscrypt: fix up fscrypt_fname_encrypted_size() for internal useEric Biggers3-20/+22
2018-01-11fscrypt: define fscrypt_fname_alloc_buffer() to be for presented namesEric Biggers1-15/+14
2018-01-11fscrypt: calculate NUL-padding length in one place onlyEric Biggers3-35/+29
2018-01-11fscrypt: move fscrypt_symlink_data to fscrypt_private.hEric Biggers1-0/+9
2018-01-11fscrypt: remove fscrypt_fname_usr_to_disk()Eric Biggers1-29/+0
2018-01-11fscrypt: new helper function - fscrypt_get_symlink()Eric Biggers1-0/+73
2018-01-11fscrypt: new helper functions for ->symlink()Eric Biggers3-3/+99
2018-01-11fscrypt: trim down fscrypt.h includesEric Biggers3-0/+3
2018-01-11fscrypt: move fscrypt_is_dot_dotdot() to fs/crypto/fname.cEric Biggers1-0/+11
2018-01-11fscrypt: move fscrypt_valid_enc_modes() to fscrypt_private.hEric Biggers1-0/+14
2018-01-11fscrypt: move fscrypt_info_cachep declaration to fscrypt_private.hEric Biggers1-0/+1
2017-11-14Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-14/+123
2017-11-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-82/+13
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar5-0/+5
2017-11-03fscrypt: move to generic async completionGilad Ben-Yossef4-82/+13
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman5-0/+5
2017-10-31fscrypt: lock mutex before checking for bounce page poolEric Biggers1-5/+2
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-18fscrypt: new helper function - fscrypt_prepare_lookup()Eric Biggers1-0/+18
2017-10-18fscrypt: new helper function - fscrypt_prepare_rename()Eric Biggers1-0/+30