aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto
AgeCommit message (Expand)AuthorFilesLines
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
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-48/+74
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-21/+23
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
2017-10-18fscrypt: new helper function - fscrypt_prepare_link()Eric Biggers1-0/+15
2017-10-18fscrypt: new helper function - fscrypt_file_open()Eric Biggers2-1/+50
2017-10-18fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED()Eric Biggers4-7/+6
2017-10-18fscrypt: clean up include file messDave Chinner1-1/+2
2017-10-12fscrypt: fix dereference of NULL user_key_payloadEric Biggers1-0/+5
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-1/+1
2017-07-09Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2017-07-09Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds6-61/+162
2017-07-06ext4: fix __ext4_new_inode() journal credits calculationTahsin Erdogan1-0/+1
2017-06-23fscrypt: add support for AES-128-CBCDaniel Walter5-52/+162
2017-06-23fscrypt: inline fscrypt_free_filename()Eric Biggers1-9/+0
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-1/+1
2017-05-04fscrypt: introduce helper function for filename matchingEric Biggers2-22/+70
2017-05-04fscrypt: avoid collisions when presenting long encrypted filenamesEric Biggers1-1/+1
2017-05-04fscrypt: fix context consistency check when key(s) unavailableEric Biggers1-19/+68
2017-04-30fscrypt: Move key structure and constants to uapiJoe Richey1-11/+0
2017-04-30fscrypt: remove unnecessary checks for NULL operationsEric Biggers2-13/+1
2017-03-25Merge tag 'fscrypt-for-linus_stable' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds5-64/+11
2017-03-15fscrypt: eliminate ->prepare_context() operationEric Biggers1-7/+0
2017-03-15fscrypt: remove broken support for detecting keyring key revocationEric Biggers4-57/+11
2017-03-02KEYS: Differentiate uses of rcu_dereference_key() and user_key_payload()David Howells1-1/+1
2017-02-06fscrypt: properly declare on-stack completionRichard Weinberger1-1/+1
2017-02-06fscrypt: split supp and notsupp declarations into their own headersEric Biggers1-1/+1
2017-02-06fscrypt: remove redundant assignment of resColin Ian King1-1/+0
2017-01-08fscrypt: make fscrypt_operations.key_prefix a stringEric Biggers1-20/+11
2017-01-02fscrypt: make test_dummy_encryption require a keyring keyTheodore Ts'o2-24/+13
2017-01-01fscrypt: factor out bio specific functionsRichard Weinberger5-143/+177
2016-12-31fscrypt: pass up error codes from ->get_context()Eric Biggers1-31/+23
2016-12-31fscrypt: remove user-triggerable warning messagesEric Biggers1-13/+2
2016-12-31fscrypt: use EEXIST when file already uses different policyEric Biggers1-1/+1
2016-12-31fscrypt: use ENOTDIR when setting encryption policy on nondirectoryEric Biggers1-1/+1
2016-12-31fscrypt: use ENOKEY when file cannot be created w/o keyEric Biggers1-2/+2
2016-12-31fscrypt: fix renaming and linking special filesEric Biggers1-0/+5
2016-12-27fscrypt: fix the test_dummy_encryption mount optionTheodore Ts'o1-1/+2
2016-12-11fscrypt: Rename FS_WRITE_PATH_FL to FS_CTX_HAS_BOUNCE_BUFFER_FLDavid Gstir2-4/+4
2016-12-11fscrypt: Delay bounce page pool allocation until neededDavid Gstir3-4/+9
2016-12-11fscrypt: Cleanup page locking requirements for fscrypt_{decrypt,encrypt}_page()David Gstir1-3/+8
2016-12-11fscrypt: Cleanup fscrypt_{decrypt,encrypt}_page()David Gstir1-41/+52