aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2020-01-09crypto: hash - add support for new way of freeing instancesEric Biggers2-0/+26
2020-01-09crypto: algapi - fold crypto_init_spawn() into crypto_grab_spawn()Eric Biggers1-29/+14
2020-01-09crypto: ahash - unexport crypto_ahash_typeEric Biggers1-2/+3
2020-01-09crypto: algapi - remove obsoleted instance creation helpersEric Biggers3-101/+0
2020-01-09crypto: cipher - make crypto_spawn_cipher() take a crypto_cipher_spawnEric Biggers6-6/+6
2020-01-09crypto: xcbc - use crypto_grab_cipher() and simplify error pathsEric Biggers1-22/+16
2020-01-09crypto: vmac - use crypto_grab_cipher() and simplify error pathsEric Biggers1-18/+15
2020-01-09crypto: cmac - use crypto_grab_cipher() and simplify error pathsEric Biggers1-18/+15
2020-01-09crypto: cbcmac - use crypto_grab_cipher() and simplify error pathsEric Biggers1-18/+15
2020-01-09crypto: skcipher - use crypto_grab_cipher() and simplify error pathsEric Biggers1-24/+15
2020-01-09crypto: chacha20poly1305 - use crypto_grab_ahash() and simplify error pathsEric Biggers1-57/+27
2020-01-09crypto: ccm - use crypto_grab_ahash() and simplify error pathsEric Biggers1-41/+20
2020-01-09crypto: gcm - use crypto_grab_ahash() and simplify error pathsEric Biggers1-36/+16
2020-01-09crypto: authencesn - use crypto_grab_ahash() and simplify error pathsEric Biggers1-38/+14
2020-01-09crypto: authenc - use crypto_grab_ahash() and simplify error pathsEric Biggers1-38/+14
2020-01-09crypto: hmac - use crypto_grab_shash() and simplify error pathsEric Biggers1-17/+16
2020-01-09crypto: cryptd - use crypto_grab_shash() and simplify error pathsEric Biggers1-50/+18
2020-01-09crypto: adiantum - use crypto_grab_{cipher,shash} and simplify error pathsEric Biggers1-60/+25
2020-01-09crypto: ahash - introduce crypto_grab_ahash()Eric Biggers1-0/+9
2020-01-09crypto: shash - introduce crypto_grab_shash()Eric Biggers1-0/+9
2020-01-09crypto: algapi - pass instance to crypto_grab_spawn()Eric Biggers5-12/+9
2020-01-09crypto: akcipher - pass instance to crypto_grab_akcipher()Eric Biggers2-5/+9
2020-01-09crypto: aead - pass instance to crypto_grab_aead()Eric Biggers7-20/+26
2020-01-09crypto: skcipher - pass instance to crypto_grab_skcipher()Eric Biggers13-63/+65
2020-01-09crypto: algapi - make crypto_grab_spawn() handle an ERR_PTR() nameEric Biggers1-0/+4
2020-01-09crypto: algapi - make crypto_drop_spawn() a no-op on uninitialized spawnsEric Biggers1-0/+3
2020-01-09crypto: remove propagation of CRYPTO_TFM_RES_* flagsEric Biggers15-124/+19
2020-01-09crypto: remove CRYPTO_TFM_RES_WEAK_KEYEric Biggers1-8/+2
2020-01-09crypto: remove CRYPTO_TFM_RES_BAD_KEY_LENEric Biggers20-88/+31
2020-01-09crypto: skcipher - remove skcipher_walk_aead()Eric Biggers1-9/+0
2019-12-27crypto: skcipher - Add skcipher_ialg_simple helperHerbert Xu8-40/+34
2019-12-27crypto: api - Retain alg refcount in crypto_grab_spawnHerbert Xu1-8/+40
2019-12-20crypto: algapi - make unregistration functions return voidEric Biggers6-37/+22
2019-12-20crypto: api - fix unexpectedly getting generic implementationHerbert Xu2-4/+24
2019-12-18Merge tag 'tpmdd-next-20191219' of git://git.infradead.org/users/jjs/linux-tpmddLinus Torvalds2-0/+2
2019-12-12KEYS: asymmetric: return ENOMEM if akcipher_request_alloc() failsEric Biggers2-0/+2
2019-12-11crypto: hmac - Use init_tfm/exit_tfm interfaceHerbert Xu1-13/+7
2019-12-11crypto: shash - Add init_tfm/exit_tfm and verify descsizeHerbert Xu1-0/+26
2019-12-11crypto: api - Add more comments to crypto_remove_spawnsHerbert Xu1-0/+25
2019-12-11crypto: api - Do not zap spawn->algHerbert Xu1-10/+12
2019-12-11crypto: api - Fix race condition in crypto_spawn_algHerbert Xu3-14/+6
2019-12-11crypto: api - Check spawn->alg under lock in crypto_drop_spawnHerbert Xu1-4/+2
2019-12-11crypto: af_alg - Use bh_lock_sock in sk_destructHerbert Xu1-2/+4
2019-12-11padata: remove cpumask change notifierDaniel Jordan1-1/+0
2019-12-11crypto: cipher - remove crt_u.cipher (struct cipher_tfm)Eric Biggers3-72/+37
2019-12-11crypto: compress - remove crt_u.compress (struct compress_tfm)Eric Biggers3-21/+13
2019-12-11crypto: testmgr - generate inauthentic AEAD test vectorsEric Biggers2-73/+261
2019-12-11crypto: testmgr - create struct aead_extra_tests_ctxEric Biggers1-71/+99
2019-12-11crypto: testmgr - test setting misaligned keysEric Biggers1-4/+69
2019-12-11crypto: testmgr - check skcipher min_keysizeEric Biggers1-0/+9
2019-12-11crypto: testmgr - don't try to decrypt uninitialized buffersEric Biggers1-4/+16
2019-12-11crypto: shash - allow essiv and hmac to use OPTIONAL_KEY algorithmsEric Biggers3-5/+4
2019-12-11crypto: skcipher - remove crypto_skcipher_extsize()Eric Biggers1-6/+1
2019-12-11crypto: skcipher - remove crypto_skcipher::decryptEric Biggers1-3/+1
2019-12-11crypto: skcipher - remove crypto_skcipher::encryptEric Biggers1-2/+1
2019-12-11crypto: skcipher - remove crypto_skcipher::setkeyEric Biggers1-2/+2
2019-12-11crypto: skcipher - remove crypto_skcipher::keysizeEric Biggers2-6/+7
2019-12-11crypto: skcipher - remove crypto_skcipher::ivsizeEric Biggers1-1/+0
2019-12-11crypto: api - remove another reference to blkcipherEric Biggers1-1/+1
2019-12-11crypto: pcrypt - Do not clear MAY_SLEEP flag in original requestHerbert Xu1-1/+0
2019-12-11crypto: x86 - Regularize glue function prototypesKees Cook2-10/+14
2019-12-11crypto: pcrypt - Avoid deadlock by using per-instance padata queuesHerbert Xu1-3/+33
2019-12-11crypto: pcrypt - Fix user-after-free on module unloadHerbert Xu1-1/+2
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya2-3/+3
2019-11-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds34-1855/+3302
2019-11-22crypto: chacha_generic - remove unnecessary setkey() functionsEric Biggers1-15/+3
2019-11-22crypto: mips/chacha - select CRYPTO_SKCIPHER, not CRYPTO_BLKCIPHEREric Biggers1-1/+1
2019-11-22crypto: essiv - remove redundant null pointer check before kfreeChen Wandun1-2/+1
2019-11-22crypto: blake2b - rename tfm context and _setkey callbackDavid Sterba1-18/+18
2019-11-22crypto: blake2b - merge _update to api callbackDavid Sterba1-36/+30
2019-11-22crypto: blake2b - open code set last block helperDavid Sterba1-6/+2