aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys
AgeCommit message (Expand)AuthorFilesLines
2024-02-15ima: Move to LSM infrastructureRoberto Sassu1-8/+1
2024-02-15security: Introduce key_post_create_or_update hookRoberto Sassu1-1/+6
2024-01-24Revert "KEYS: encrypted: Add check for strsep"Mimi Zohar1-4/+0
2024-01-09Merge tag 'integrity-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/z...Linus Torvalds1-0/+4
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+2
2023-12-21keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiryDavid Howells4-22/+37
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-2/+2
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-2/+1
2023-11-27KEYS: encrypted: Add check for strsepChen Ni1-0/+4
2023-11-02Merge tag 'v6.7-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-1/+1
2023-11-01Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2023-10-24keys: Remove unused extern declarationsYueHaibing1-7/+0
2023-10-24KEYS: trusted: tee: Refactor register SHM usageSumit Garg1-44/+20
2023-10-24KEYS: trusted: Rollback init_trusted() consistentlyJarkko Sakkinen1-10/+10
2023-10-11security/keys: export key_lookup()Hannes Reinecke1-0/+1
2023-10-10KEYS: trusted: Remove redundant static calls usageSumit Garg1-8/+5
2023-09-15KEYS: encrypted: Do not include crypto/algapi.hHerbert Xu1-1/+1
2023-08-17KEYS: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-1/+1
2023-08-07sysctl: set variable key_sysctls storage-class-specifier to staticTom Rix1-1/+1
2023-07-28security: keys: perform capable check only on privileged operationsChristian Göttsche1-3/+8
2023-07-17security: keys: Modify mismatched function nameJiapeng Chong1-1/+1
2023-07-17keys: Fix linking a duplicate key to a keyring's assoc_arrayPetr Pavlu1-11/+24
2023-06-08sysctl: move security keys sysctl registration to its own fileLuis Chamberlain1-0/+7
2023-03-21keys: Do not cache key in task struct if key is requested from kernel threadDavid Howells1-3/+6
2023-02-21Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-25/+5
2023-02-13KEYS: DH: Use crypto_wait_reqHerbert Xu1-25/+5
2023-02-13KEYS: Add new function key_create()Thomas Weißschuh1-37/+100
2022-12-13Merge tag 'integrity-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/z...Linus Torvalds1-3/+3
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-08KEYS: trusted: tee: Make registered shm dependency explicitSumit Garg1-1/+2
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-10-19KEYS: encrypted: fix key instantiation with user-provided dataNikolaus Voss1-3/+3
2022-10-10Merge tag 'tpmdd-next-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-10-05security/keys: Remove inconsistent __user annotationVincenzo Frascino1-1/+1
2022-09-21KEYS: Move KEY_LOOKUP_ to include/linux/key.h and define KEY_LOOKUP_ALLRoberto Sassu1-2/+0
2022-06-08KEYS: trusted: tpm2: Fix migratable logicDavid Safford1-2/+2
2022-05-24Merge tag 'tpmdd-next-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds5-19/+172
2022-05-23KEYS: trusted: Introduce support for NXP CAAM-based trusted keysAhmad Fatoum4-2/+97
2022-05-23KEYS: trusted: allow use of kernel RNG for key materialAhmad Fatoum1-1/+34
2022-05-23KEYS: trusted: allow use of TEE as backend without TCG_TPM supportAhmad Fatoum4-17/+42
2022-05-16big_keys: Use struct for internal payloadKees Cook1-37/+36
2022-03-23Merge tag 'arm-drivers-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-14/+9
2022-03-21Merge tag 'integrity-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-23/+67
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+1
2022-03-08KEYS: trusted: Avoid calling null function trusted_key_exitDave Kleikamp1-1/+1
2022-03-08KEYS: trusted: Fix trusted key backends when building as moduleAndreas Rammhold1-2/+2
2022-03-08KEYS: fix length validation in keyctl_pkey_params_get_2()Eric Biggers1-3/+11
2022-03-03crypto: dh - constify struct dh's pointer membersNicolai Stange1-1/+1
2022-02-21KEYS: encrypted: Instantiate key with user-provided decrypted dataYael Tzur2-23/+67
2022-02-16KEYS: trusted: tee: use tee_shm_register_kernel_buf()Jens Wiklander1-14/+9
2021-11-26security: DH - use KDF implementation from crypto APIStephan Müller2-92/+19
2021-11-26security: DH - remove dead code for zero paddingStephan Müller1-21/+4
2021-10-20ucounts: Move get_ucounts from cred_alloc_blank to key_change_session_keyringEric W. Biederman1-0/+8
2021-05-12trusted-keys: match tpm_get_ops on all return pathsBen Boeckel1-3/+3
2021-05-12KEYS: trusted: Fix memory leak on object tdColin Ian King1-3/+5
2021-04-26Merge tag 'queue' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/tpmddLinus Torvalds2-13/+16
2021-04-26Merge tag 'tpmdd-next-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds7-327/+1038
2021-04-21KEYS: trusted: fix TPM trusted keys for generic frameworkJames Bottomley2-13/+16
2021-04-21KEYS: trusted: Fix TPM reservation for seal/unsealJames Bottomley1-1/+1
2021-04-14KEYS: trusted: Fix missing null return from kzalloc callColin Ian King1-2/+4
2021-04-14KEYS: trusted: Introduce TEE based Trusted KeysSumit Garg3-0/+324
2021-04-14KEYS: trusted: Add generic trusted keys frameworkSumit Garg3-297/+424
2021-04-14security: keys: trusted: Make sealed key properly interoperableJames Bottomley1-15/+38
2021-04-14security: keys: trusted: use ASN.1 TPM2 key format for the blobsJames Bottomley5-8/+221
2021-04-14security: keys: trusted: fix TPM2 authorizationsJames Bottomley2-10/+32
2021-02-23Merge tag 'keys-misc-20210126' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds7-18/+16
2021-02-16KEYS: trusted: Reserve TPM for seal and unseal operationsJarkko Sakkinen1-4/+18
2021-02-16KEYS: trusted: Fix migratable=1 failingJarkko Sakkinen1-1/+1
2021-02-16KEYS: trusted: Fix incorrect handling of tpm_get_random()Jarkko Sakkinen1-3/+17
2021-01-21certs: Fix blacklist flag type confusionDavid Howells1-0/+2
2021-01-21KEYS: remove redundant memsetTom Rix1-2/+0
2021-01-21security: keys: delete repeated words in commentsRandy Dunlap2-3/+3
2021-01-21security/keys: use kvfree_sensitive()Denis Efremov1-6/+3
2021-01-21watch_queue: Drop references to /dev/watch_queueGabriel Krisman Bertazi1-4/+4
2021-01-21keys: Remove outdated __user annotationsJann Horn1-3/+3
2021-01-21security: keys: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+2
2020-11-23keys: Provide the original description to the key preparserDavid Howells1-0/+2
2020-11-20crypto: sha - split sha.h into sha1.h and sha2.hEric Biggers2-2/+2
2020-10-17task_work: cleanup notification modesJens Axboe1-1/+1
2020-10-12Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-41/+3
2020-10-03security/keys: remove compat_keyctl_instantiate_key_iovChristoph Hellwig3-40/+3
2020-10-03iov_iter: transparently handle compat iovecs in import_iovecChristoph Hellwig1-3/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-7/+7
2020-08-11Merge tag 'for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...Linus Torvalds4-4/+4
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long5-37/+37
2020-08-06Replace HTTP links with HTTPS ones: securityAlexander A. Klimov4-4/+4
2020-06-13Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds10-69/+240
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-04Merge branch 'akpm' (patches from Andrew)Linus Torvalds2-22/+5
2020-06-04mm: add kvfree_sensitive() for freeing sensitive data objectsWaiman Long2-22/+5
2020-06-04Merge tag 'keys-next-20200602' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-209/+52
2020-06-02keys: Implement update for the big_key typeDavid Howells1-1/+18
2020-06-02security/keys: rewrite big_key crypto to use library interfaceJason A. Donenfeld2-209/+35
2020-06-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-15/+3
2020-05-19keys: Make the KEY_NEED_* perms an enum rather than a maskDavid Howells4-42/+59
2020-05-19watch_queue: Add a key/keyring notification facilityDavid Howells8-27/+181
2020-05-08KEYS: encrypted: use crypto_shash_tfm_digest()Eric Biggers1-15/+3
2020-04-16keys: Fix proc_keys_next to increase position indexVasily Averin1-0/+2
2020-04-04Merge tag 'keys-fixes-20200329' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds8-52/+113
2020-03-29KEYS: Avoid false positive ENOMEM error on key readWaiman Long2-15/+55
2020-03-29KEYS: Don't write out to userspace while holding key semaphoreWaiman Long7-51/+72
2020-03-15KEYS: reaching the keys quotas correctlyYang Xu2-3/+3
2020-01-28Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+10
2019-12-17security: keys: trusted: fix lost handle flushJames Bottomley1-0/+1
2019-12-12KEYS: remove CONFIG_KEYS_COMPATEric Biggers4-12/+3
2019-12-12KEYS: Call the IMA hook to measure keysLakshmi Ramasubramanian1-0/+10
2019-11-12KEYS: trusted: Remove set but not used variable 'keyhndl'zhengbin1-2/+0
2019-11-12KEYS: trusted: Move TPM2 trusted keys codeSumit Garg3-2/+317
2019-11-12KEYS: trusted: Create trusted keys subsystemSumit Garg3-2/+9
2019-11-12KEYS: Use common tpm_buf for trusted and asymmetric keysSumit Garg1-55/+43
2019-11-12tpm: Move tpm_buf code to include/linux/Sumit Garg1-6/+6
2019-09-25KEYS: trusted: correctly initialize digests and fix locking issueRoberto Sassu1-0/+5
2019-09-05keys: Fix missing null pointer check in request_key_auth_describe()Hillf Danton1-0/+6
2019-08-30keys: ensure that ->match_free() is called in request_key_and_link()Eric Biggers1-1/+1
2019-08-13KEYS: trusted: allow module init if TPM is inactive or deactivatedRoberto Sassu1-13/+0
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-14/+12
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds14-573/+156
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds14-156/+573
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds10-241/+387
2019-07-08Merge tag 'keys-request-20190626' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds8-106/+180
2019-07-08Merge tag 'keys-misc-20190619' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds8-78/+369
2019-07-03keys: Provide KEYCTL_GRANT_PERMISSIONDavid Howells4-1/+133
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells13-155/+440
2019-06-27keys: Pass the network namespace into request_key mechanismDavid Howells4-17/+36
2019-06-26keys: Network namespace domain tagDavid Howells1-1/+6
2019-06-26keys: Garbage collect keys for which the domain has been removedDavid Howells2-1/+17
2019-06-26keys: Include target namespace in match criteriaDavid Howells5-4/+39
2019-06-26keys: Move the user and user-session keyrings to the user_namespaceDavid Howells5-104/+187
2019-06-26keys: Namespace keyring namesDavid Howells2-57/+45
2019-06-26keys: Add a 'recurse' flag for keyring searchesDavid Howells7-7/+20
2019-06-26keys: Cache the hash value to avoid lots of recalculationDavid Howells3-16/+22
2019-06-26keys: Simplify key description managementDavid Howells4-49/+30
2019-06-26keys: Kill off request_key_async{,_with_auxdata}David Howells1-50/+0
2019-06-19keys: Cache result of request_key*() temporarily in task_structDavid Howells2-0/+55
2019-06-19keys: Provide request_key_rcu()David Howells1-0/+44
2019-06-19keys: Move the RCU locks outwards from the keyring search functionsDavid Howells6-60/+75
2019-06-19keys: Invalidate used request_key authentication keysDavid Howells2-3/+3
2019-06-19keys: Fix request_key() lack of Link perm check on found keyDavid Howells1-0/+10
2019-06-19keys: Add capability-checking keyctl functionDavid Howells3-0/+40
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441Thomas Gleixner5-20/+5
2019-05-30keys: Reuse keyring_index_key::desc_len in lookup_user_key()Eric Biggers1-3/+1
2019-05-30keys: Grant Link permission to possessers of request_key auth keysDavid Howells1-1/+1
2019-05-30keys: Add a keyctl to move a key between keyringsDavid Howells4-0/+166
2019-05-30keys: Hoist locking out of __key_link_begin()David Howells4-38/+76
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner13-65/+13
2019-05-30keys: Break bits out of key_unlink()David Howells1-21/+67
2019-05-30keys: Change keyring_serialise_link_sem to a mutexDavid Howells1-6/+6
2019-05-29keys: sparse: Fix kdoc mismatchesDavid Howells2-4/+8
2019-05-29keys: sparse: Fix incorrect RCU accessesDavid Howells2-2/+3
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner5-25/+5
2019-05-22keys: sparse: Fix key_fs[ug]id_changed()David Howells1-12/+10
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-30/+25
2019-05-06Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds3-3/+0
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers3-3/+0
2019-04-10keys: safe concurrent user->{session,uid}_keyring accessJann Horn2-16/+20
2019-04-10security: don't use RCU accessors for cred->session_keyringJann Horn2-15/+6
2019-04-08KEYS: trusted: fix -Wvarags warningndesaulniers@google.com1-2/+2
2019-04-08KEYS: trusted: allow trusted.ko to initialize w/o a TPMJarkko Sakkinen1-5/+23
2019-03-10Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmor...Linus Torvalds1-19/+54
2019-03-10Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2019-03-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds4-1/+9
2019-03-04keys: fix missing __user in KEYCTL_PKEY_QUERYBen Dooks1-1/+1
2019-02-22KEYS: always initialize keyring_index_key::desc_lenEric Biggers4-6/+4
2019-02-15keys: Timestamp new keysDavid Howells1-0/+1
2019-02-15keys: Fix dependency loop between construction record and auth keyDavid Howells5-62/+41
2019-02-15KEYS: allow reaching the keys quotas exactlyEric Biggers1-2/+2
2019-02-13tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()Roberto Sassu1-8/+33
2019-02-13KEYS: trusted: explicitly use tpm_chip structure from tpm_default_chip()Roberto Sassu1-14/+24
2019-02-04encrypted-keys: fix Opt_err/Opt_error = -1Mimi Zohar1-2/+2
2019-01-22security: keys: annotate implicit fall throughsMathieu Malaterre1-0/+4
2019-01-22security: keys: annotate implicit fall throughsMathieu Malaterre1-0/+3
2019-01-22security: keys: annotate implicit fall throughMathieu Malaterre1-0/+1
2019-01-01KEYS: fix parsing invalid pkey info stringEric Biggers1-0/+2
2018-12-28Merge tag 'libnvdimm-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-11/+21
2018-12-27Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-4/+4
2018-12-27Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds12-14/+7
2018-12-17security: don't use a negative Opt_err token indexLinus Torvalds2-2/+2
2018-12-13keys-encrypted: add nvdimm key format type to encrypted keysDave Jiang1-9/+20
2018-12-13keys: Export lookup_user_key to external usersDave Jiang2-2/+1
2018-12-12security: audit and remove any unnecessary uses of module.hPaul Gortmaker11-11/+5
2018-12-12keys: remove needless modular infrastructure from ecryptfs_formatPaul Gortmaker1-3/+2
2018-11-20crypto: drop mask=CRYPTO_ALG_ASYNC from 'shash' tfm allocationsEric Biggers2-4/+4
2018-10-26KEYS: Move trusted.h to include/keys [ver #2]Denis Kenzior2-137/+1
2018-10-26KEYS: trusted: Expose common functionality [ver #2]Denis Kenzior2-5/+21
2018-10-26KEYS: Provide keyctls to drive the new key type ops for asymmetric keys [ver #2]David Howells5-0/+405
2018-09-25Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct membe...Lubomir Rintel1-1/+1
2018-09-04uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member nameRandy Dunlap1-1/+1
2018-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linuxHerbert Xu1-2/+4
2018-07-09crypto: remove redundant type flags from tfm allocationEric Biggers1-1/+1
2018-06-26dh key: fix rounding up KDF output lengthEric Biggers1-2/+4
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-06-06Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-23/+23
2018-05-16proc: introduce proc_create_seq{,_data}Christoph Hellwig1-32/+2
2018-05-11dh key: get rid of stack allocated array for zeroesTycho Andersen1-3/+3
2018-05-11dh key: get rid of stack allocated arrayTycho Andersen1-19/+10
2018-05-11big key: get rid of stack array allocationTycho Andersen1-1/+10
2018-04-05headers: untangle kmemleak.h from mm.hRandy Dunlap1-0/+1
2018-02-22KEYS: Use individual pages in big_key for crypto buffersDavid Howells1-23/+87