aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2021-02-23Merge tag 'keys-misc-20210126' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-11/+11
2021-02-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds41-4374/+248
2021-02-16keys: Update comment for restrict_link_by_key_or_keyring_chainAndrew Zaborowski1-3/+4
2021-02-10crypto: xor - Fix typo of optimizationBhaskar Chowdhury1-1/+1
2021-02-10crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()Daniele Alessandrelli1-0/+3
2021-02-10crypto: twofish - use unaligned accessors instead of alignmaskArd Biesheuvel1-8/+3
2021-02-10crypto: fcrypt - drop unneeded alignmaskArd Biesheuvel1-1/+0
2021-02-10crypto: cast6 - use unaligned accessors instead of alignmaskArd Biesheuvel1-22/+17
2021-02-10crypto: cast5 - use unaligned accessors instead of alignmaskArd Biesheuvel1-14/+9
2021-02-10crypto: camellia - use unaligned accessors instead of alignmaskArd Biesheuvel1-29/+16
2021-02-10crypto: blowfish - use unaligned accessors instead of alignmaskArd Biesheuvel1-14/+9
2021-02-10crypto: serpent - use unaligned accessors instead of alignmaskArd Biesheuvel1-27/+17
2021-02-10crypto: serpent - get rid of obsolete tnepres variantArd Biesheuvel5-169/+7
2021-02-10crypto: michael_mic - fix broken misalignment handlingArd Biesheuvel1-19/+12
2021-01-29crypto: salsa20 - remove Salsa20 stream cipher algorithmArd Biesheuvel6-1403/+1
2021-01-29crypto: tgr192 - remove Tiger 128/160/192 hash algorithmsArd Biesheuvel6-876/+0
2021-01-29crypto: rmd320 - remove RIPE-MD 320 hash algorithmArd Biesheuvel6-494/+1
2021-01-29crypto: rmd256 - remove RIPE-MD 256 hash algorithmArd Biesheuvel7-441/+1
2021-01-29crypto: rmd128 - remove RIPE-MD 128 hash algorithmArd Biesheuvel7-506/+1
2021-01-21crypto: pkcs7: Use match_string() helper to simplify the codeYueHaibing1-5/+4
2021-01-21PKCS#7: drop function from kernel-doc pkcs7_validate_trust_oneAlex Shi1-1/+1
2021-01-21crypto: asymmetric_keys: fix some comments in pkcs7_parser.hRandy Dunlap1-3/+2
2021-01-21KEYS: asymmetric: Fix kerneldocKrzysztof Kozlowski1-2/+4
2021-01-20X.509: Fix crash caused by NULL pointerTianjia Zhang1-1/+2
2021-01-18Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+2
2021-01-14crypto: x86 - remove glue helper moduleArd Biesheuvel2-11/+0
2021-01-14crypto: x86/twofish - drop dependency on glue helperArd Biesheuvel1-2/+0
2021-01-14crypto: x86/cast6 - drop dependency on glue helperArd Biesheuvel1-1/+0
2021-01-14crypto: x86/serpent - drop dependency on glue helperArd Biesheuvel1-3/+0
2021-01-14crypto: x86/camellia - drop dependency on glue helperArd Biesheuvel1-2/+0
2021-01-14crypto: x86/blowfish - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/des - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/twofish - drop CTR mode implementationArd Biesheuvel1-0/+2
2021-01-14crypto: x86/cast6 - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/cast5 - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/serpent - drop CTR mode implementationArd Biesheuvel1-0/+3
2021-01-14crypto: x86/camellia - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/twofish - switch to XTS templateArd Biesheuvel1-0/+1
2021-01-14crypto: x86/serpent- switch to XTS templateArd Biesheuvel1-1/+1
2021-01-14crypto: x86/cast6 - switch to XTS templateArd Biesheuvel1-1/+1
2021-01-14crypto: x86/camellia - switch to XTS templateArd Biesheuvel1-1/+1
2021-01-10Merge tag 'char-misc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2021-01-08crypto: x86/aes-ni-xts - rewrite and drop indirections via glue helperArd Biesheuvel1-1/+0
2021-01-08crypto: xor - Fix divide error in do_xor_speed()Kirill Tkhai1-0/+2
2021-01-03crypto: blake2b - update file commentEric Biggers1-13/+10
2021-01-03crypto: blake2b - sync with blake2s implementationEric Biggers1-178/+48
2021-01-03crypto: blake2s - share the "shash" API boilerplate codeEric Biggers1-67/+9
2021-01-03crypto: blake2s - remove unneeded includesEric Biggers1-2/+0
2021-01-03crypto: blake2s - define shash_alg structs using macrosEric Biggers1-61/+27
2021-01-03crypto: remove cipher routines from public crypto APIArd Biesheuvel19-3/+39
2021-01-03crypto: tcrypt - avoid signed overflow in byte countArd Biesheuvel1-10/+10
2021-01-03crypto: ecdh - avoid buffer overflow in ecdh_set_secret()Ard Biesheuvel1-1/+2
2020-12-31crypto: asym_tpm: correct zero out potential secretsGreg Kroah-Hartman1-1/+1
2020-12-04crypto: aegis128 - avoid spurious references crypto_aegis128_update_simdArd Biesheuvel1-2/+2
2020-12-04crypto: seed - remove trailing semicolon in macro definitionTom Rix1-1/+1
2020-12-04crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()Ard Biesheuvel1-4/+5
2020-11-27crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarksArd Biesheuvel1-37/+44
2020-11-27crypto: tcrypt - permit tcrypt.ko to be builtinArd Biesheuvel1-1/+1
2020-11-27crypto: tcrypt - don't initialize at subsys_initcall timeArd Biesheuvel1-1/+1
2020-11-27crypto: aegis128 - expose SIMD code path as separate driverArd Biesheuvel1-77/+143
2020-11-27crypto: aegis128/neon - move final tag check to SIMD domainArd Biesheuvel3-18/+57
2020-11-27crypto: aegis128/neon - optimize tail block handlingArd Biesheuvel1-14/+75
2020-11-27crypto: aegis128 - wipe plaintext and tag if decryption failsArd Biesheuvel1-6/+26
2020-11-20crypto: sha - split sha.h into sha1.h and sha2.hEric Biggers4-4/+4
2020-11-13crypto: Kconfig - CRYPTO_MANAGER_EXTRA_TESTS requires the managerJason A. Donenfeld1-1/+1
2020-11-06crypto: af_alg - avoid undefined behavior accessing salg_nameEric Biggers1-3/+7
2020-11-06crypto: testmgr - WARN on test failureEric Biggers1-7/+13
2020-11-06crypto: testmgr - always print the actual skcipher driver nameEric Biggers1-20/+16
2020-11-06crypto: testmgr - always print the actual AEAD driver nameEric Biggers1-24/+18
2020-11-06crypto: testmgr - always print the actual hash driver nameEric Biggers1-23/+20
2020-10-30crypto: sm2 - remove unnecessary reset operationsTianjia Zhang1-46/+29
2020-10-13Merge tag 'drivers-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds4-92/+287
2020-10-13Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds28-153/+1122
2020-10-08X.509: Fix modular build of public_key_sm2Herbert Xu3-64/+57
2020-10-08crypto: xor - Remove unused variable count in do_xor_speedNathan Chancellor1-3/+1
2020-10-08X.509: fix error return value on the failed pathTianjia Zhang1-1/+3
2020-10-02crypto: xor - use ktime for template benchmarkingArd Biesheuvel1-22/+16
2020-10-02crypto: xor - defer load time benchmark to a later timeArd Biesheuvel1-1/+28
2020-09-25X.509: support OSCCA SM2-with-SM3 certificate verificationTianjia Zhang4-0/+71
2020-09-25X.509: support OSCCA certificate parseTianjia Zhang1-5/+22
2020-09-25crypto: sm2 - add SM2 test vectors to testmgrTianjia Zhang2-0/+65
2020-09-25crypto: testmgr - Fix potential memory leak in test_akcipher_one()Tianjia Zhang1-4/+7
2020-09-25crypto: testmgr - support test with different ciphertext per encryptionTianjia Zhang1-1/+6
2020-09-25crypto: sm2 - introduce OSCCA SM2 asymmetric cipher algorithmTianjia Zhang4-0/+510
2020-09-25crypto: sm3 - export crypto_sm3_final functionTianjia Zhang1-3/+4
2020-09-25crypto: af_alg - add extra parameters for DRBG interfaceElena Petrova3-12/+186
2020-09-25crypto: proc - Removing some useless only space linesCorentin Labbe1-2/+2
2020-09-24md/raid6: let async recovery function support different page offsetYufen Yu2-45/+122
2020-09-24md/raid6: let syndrome computor support different page offsetYufen Yu2-32/+64
2020-09-24md/raid5: add new xor function to support different page offsetYufen Yu1-17/+103
2020-09-18crypto: Kconfig - mark unused ciphers as obsoleteArd Biesheuvel1-0/+4
2020-09-11crypto: cbc - Remove cbc.hHerbert Xu1-11/+133
2020-09-11crypto: arc4 - mark ecb(arc4) skcipher as obsoleteArd Biesheuvel2-0/+21
2020-08-30Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-3/+10
2020-08-28crypto: ahash - Add init_tfm/exit_tfmHerbert Xu1-1/+12
2020-08-27crypto: af_alg - Work around empty control messages without MSG_MOREHerbert Xu1-3/+10
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-58/+58
2020-08-21crypto: hash - Remove unused async iteratorsIra Weiny1-37/+4
2020-08-21crypto: tcrypt - Add support for hash speed testing with keysHerbert Xu2-34/+9
2020-08-21crypto: algif_aead - Do not set MAY_BACKLOG on the async pathHerbert Xu1-3/+4
2020-08-21crypto: algif_skcipher - EBUSY on aio should be an errorHerbert Xu1-1/+1
2020-08-21crypto: tcrypt - delete duplicated words in messagesRandy Dunlap1-2/+2
2020-08-21crypto: engine - delete duplicated wordRandy Dunlap1-1/+1
2020-08-21crypto: crct10dif_generic - fix duplicated wordsRandy Dunlap1-1/+1
2020-08-21crypto: crc32c_generic - delete and fix duplicated wordsRandy Dunlap1-2/+2
2020-08-21crypto: algif_aead - delete duplicated wordRandy Dunlap1-1/+1
2020-08-20crypto: algapi - Remove skbuff.h inclusionHerbert Xu5-1/+5
2020-08-19crypto: algapi - Move crypto_yield into internal.hHerbert Xu1-6/+10
2020-08-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-12/+1
2020-08-13crypto: algif_aead - fix uninitialized ctx->initOndrej Mosnacek2-12/+1
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long18-32/+32
2020-08-06Merge tag 'sched-fifo-2020-08-04' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+1
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds5-19/+3
2020-08-04Merge tag 'docs-5.9' of git://git.lwn.net/linuxLinus Torvalds3-3/+3
2020-08-03Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds40-444/+456
2020-07-31crypto: xts - Replace memcpy() invocation with simple assignmentArd Biesheuvel1-1/+1
2020-07-31crypto: ecc - SP800-56A rev 3 local public key validationStephan Müller2-1/+44
2020-07-31crypto: dh - SP800-56A rev 3 local public key validationStephan Müller1-25/+34
2020-07-31crypto: dh - check validity of Z before exportStephan Müller1-0/+29
2020-07-31crypto: ecdh - check validity of Z before exportStephan Müller1-3/+8
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-4/+3
2020-07-23crypto: testmgr - delete duplicated wordsRandy Dunlap1-5/+5
2020-07-23crypto: Replace HTTP links with HTTPS onesAlexander A. Klimov8-32/+32
2020-07-23padata: fold padata_alloc_possible() into padata_alloc()Daniel Jordan1-1/+1
2020-07-23padata: remove stop functionDaniel Jordan1-9/+3
2020-07-23padata: remove start functionDaniel Jordan1-3/+0
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig5-15/+0
2020-07-16crypto: lrw - prefix function and struct names with "lrw"Eric Biggers1-58/+61
2020-07-16crypto: xts - prefix function and struct names with "xts"Eric Biggers1-65/+72
2020-07-16crypto: algapi - add NEED_FALLBACK to INHERITED_FLAGSEric Biggers3-6/+0
2020-07-16crypto: algapi - use common mechanism for inheriting flagsEric Biggers22-227/+137
2020-07-16crypto: seqiv - remove seqiv_create()Eric Biggers1-15/+1
2020-07-16crypto: geniv - remove unneeded arguments from aead_geniv_alloc()Eric Biggers3-5/+6
2020-07-15keys: asymmetric: fix error return code in software_key_query()Wei Yongjun1-0/+1
2020-07-09crypto: api - permit users to specify numa node of acomp hardwareBarry Song3-13/+42
2020-07-09crypto: af_alg - Fix regression on empty requestsHerbert Xu1-1/+1
2020-06-19docs: crypto: convert asymmetric-keys.txt to ReSTMauro Carvalho Chehab3-3/+3
2020-06-18crypto: algif_aead - Only wake up when ctx->more is zeroHerbert Xu3-7/+12
2020-06-18crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()Herbert Xu4-33/+20
2020-06-15sched,crypto: Convert to sched_set_fifo*()Peter Zijlstra1-2/+1
2020-06-15crypto: drbg - always try to free Jitter RNG instanceStephan Müller1-2/+4
2020-06-15crypto: algboss - don't wait during notifier callbackEric Biggers1-2/+0
2020-06-15crypto: algif_skcipher - Cap recv SG list at ctx->usedHerbert Xu1-5/+1
2020-06-10Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+0
2020-05-28crypto: engine - do not requeue in case of fatal errorIuliana Prodan1-4/+1
2020-05-15crypto: blake2b - Fix clang optimization for ARMv7-MArnd Bergmann1-1/+3
2020-05-08crypto: lib/sha1 - fold linux/cryptohash.h into crypto/sha.hEric Biggers1-1/+0
2020-05-08crypto: lib/sha1 - rename "sha" to "sha1"Eric Biggers1-2/+2
2020-05-08crypto: essiv - use crypto_shash_tfm_digest()Eric Biggers1-3/+1
2020-05-08crypto: hash - introduce crypto_shash_tfm_digest()Eric Biggers1-0/+16
2020-05-08crypto: lib/sha256 - return voidEric Biggers1-5/+9
2020-05-08crypto - Avoid free() namespace collisionArnd Bergmann2-6/+6
2020-05-08crypto: drbg - fix error return code in drbg_alloc_state()Wei Yongjun1-1/+3
2020-05-08crypto: engine - support for batch requestsIuliana Prodan1-1/+26
2020-05-08crypto: engine - support for parallel requests based on retry mechanismIuliana Prodan1-30/+116
2020-05-08crypto: algapi - create function to add request in front of queueIuliana Prodan1-0/+8
2020-04-30crypto: drbg - should select CTRCorentin Labbe1-1/+1
2020-04-30crypto: ctr - no longer needs CRYPTO_SEQIVCorentin Labbe1-1/+0
2020-04-24crypto: drbg - always seeded with SP800-90B compliant noise sourceStephan Müller1-7/+19
2020-04-24crypto: jitter - SP800-90B complianceStephan Müller2-101/+343
2020-04-24crypto: algif_rng - remove redundant assignment to variable errColin Ian King1-1/+1
2020-04-16crypto: api - Fix use-after-free and race in crypto_spawn_algHerbert Xu3-7/+19
2020-04-16crypto: algapi - Avoid spurious modprobe on LOADEDEric Biggers1-1/+1
2020-04-15compiler/gcc: Raise minimum GCC version for kernel builds to 4.8Will Deacon1-1/+0
2020-04-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds18-267/+149
2020-03-30crypto: af_alg - bool type cosmeticsLothar Rubusch2-8/+8
2020-03-12crypto: testmgr - do comparison tests before inauthentic input testsEric Biggers1-2/+2
2020-03-12crypto: testmgr - use consistent IV copies for AEADs that need itEric Biggers1-9/+15
2020-03-06crypto: xts - simplify error handling in ->create()Eric Biggers1-17/+11
2020-03-06crypto: rsa-pkcs1pad - simplify error handling in pkcs1pad_create()Eric Biggers1-39/+20
2020-03-06crypto: pcrypt - simplify error handling in pcrypt_create_aead()Eric Biggers1-24/+9
2020-03-06crypto: lrw - simplify error handling in create()Eric Biggers1-17/+11
2020-03-06crypto: geniv - simply error handling in aead_geniv_alloc()Eric Biggers1-12/+5
2020-03-06crypto: gcm - simplify error handling in crypto_rfc4543_create()Eric Biggers1-25/+12
2020-03-06crypto: gcm - simplify error handling in crypto_rfc4106_create()Eric Biggers1-20/+9
2020-03-06crypto: cts - simplify error handling in crypto_cts_create()Eric Biggers1-19/+8
2020-03-06crypto: ctr - simplify error handling in crypto_rfc3686_create()Eric Biggers1-20/+9
2020-03-06crypto: cryptd - simplify error handling in cryptd_create_*()Eric Biggers1-26/+11
2020-03-06crypto: ccm - simplify error handling in crypto_rfc4309_create()Eric Biggers1-20/+9
2020-03-06crypto: authencesn - fix weird comma-terminated lineEric Biggers1-1/+1
2020-02-28crypto: md5 - remove unused macrosYueHaibing1-3/+0
2020-02-20Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2020-02-18crypto: rename sm3-256 to sm3 in hash_algo_nameTianjia Zhang1-1/+1
2020-02-15Merge tag 's390-5.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/...Linus Torvalds1-0/+36
2020-02-13Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-4/+0
2020-02-13crypto/testmgr: enable selftests for paes-s390 ciphersHarald Freudenberger1-0/+36
2020-02-13crypto: tcrypt - fix printed skcipher [a]sync modeHoria Geantă1-2/+2
2020-02-13crypto: proc - simplify the c_show functionTianjia Zhang1-1/+1
2020-02-13crypto: rng - Fix a refcounting bug in crypto_rng_reset()Dan Carpenter1-2/+6
2020-02-05crypto: Kconfig - allow tests to be disabled when manager is disabledJason A. Donenfeld1-4/+0
2020-02-04treewide: remove redundant IS_ERR() before error code checkMasahiro Yamada1-1/+1
2020-01-28Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds64-1370/+1267
2020-01-16crypto: essiv - fix AEAD capitalization and preposition use in help textGeert Uytterhoeven1-2/+2
2020-01-16crypto: poly1305 - add new 32 and 64-bit generic versionsJason A. Donenfeld3-4/+27
2020-01-09crypto: algapi - enforce that all instances have a ->free() methodEric Biggers5-0/+14
2020-01-09crypto: algapi - remove crypto_template::{alloc,free}()Eric Biggers5-31/+1
2020-01-09crypto: shash - convert shash_free_instance() to new styleEric Biggers6-14/+19
2020-01-09crypto: cryptd - convert to new way of freeing instancesEric Biggers1-22/+20
2020-01-09crypto: geniv - convert to new way of freeing instancesEric Biggers3-39/+16