aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2019-11-22crypto: blake2b - delete unused structs or membersDavid Sterba1-30/+0
2019-11-22crypto: blake2b - simplify key initDavid Sterba1-8/+6
2019-11-22crypto: blake2b - merge blake2 init to api callbackDavid Sterba1-84/+19
2019-11-22crypto: blake2b - merge _final implementation to callbackDavid Sterba1-25/+17
2019-11-17crypto: ablkcipher - remove deprecated and unused ablkcipher supportArd Biesheuvel5-571/+1
2019-11-17crypto: tcrypt - constify check alg listCorentin Labbe1-2/+2
2019-11-17crypto: curve25519 - x86_64 library and KPP implementationsJason A. Donenfeld1-0/+6
2019-11-17crypto: curve25519 - implement generic KPP driverArd Biesheuvel3-0/+96
2019-11-17crypto: curve25519 - add kpp selftestArd Biesheuvel2-0/+1231
2019-11-17crypto: blake2s - x86_64 SIMD implementationJason A. Donenfeld1-0/+6
2019-11-17crypto: blake2s - implement generic shash driverArd Biesheuvel3-0/+190
2019-11-17crypto: testmgr - add test cases for Blake2sArd Biesheuvel2-39/+280
2019-11-17int128: move __uint128_t compiler test to KconfigArd Biesheuvel1-1/+1
2019-11-17crypto: mips/poly1305 - incorporate OpenSSL/CRYPTOGAMS optimized implementationArd Biesheuvel1-0/+5
2019-11-17crypto: x86/poly1305 - expose existing driver as poly1305 libraryArd Biesheuvel1-0/+1
2019-11-17crypto: x86/poly1305 - depend on generic library not generic shashArd Biesheuvel2-8/+5
2019-11-17crypto: poly1305 - expose init/update/final library interfaceArd Biesheuvel1-21/+1
2019-11-17crypto: x86/poly1305 - unify Poly1305 state struct with generic codeArd Biesheuvel1-3/+3
2019-11-17crypto: poly1305 - move core routines into a separate libraryArd Biesheuvel4-192/+16
2019-11-17crypto: chacha - unexport chacha_generic routinesArd Biesheuvel1-18/+8
2019-11-17crypto: mips/chacha - wire up accelerated 32r2 code from ZincArd Biesheuvel1-0/+6
2019-11-17crypto: x86/chacha - expose SIMD ChaCha routine as library functionArd Biesheuvel1-0/+1
2019-11-17crypto: x86/chacha - depend on generic chacha library instead of crypto driverArd Biesheuvel1-1/+1
2019-11-17crypto: chacha - move existing library code into lib/cryptoArd Biesheuvel2-55/+6
2019-11-17crypto: lib - tidy up lib/crypto Kconfig and MakefileArd Biesheuvel1-12/+1
2019-11-17crypto: aead - Split out geniv into its own moduleHerbert Xu3-163/+179
2019-11-17crypto: api - Add softdep on cryptomgrHerbert Xu1-0/+1
2019-11-15crypto: tgr192 - remove unneeded semicolonTian Tao1-2/+2
2019-11-12KEYS: trusted: Create trusted keys subsystemSumit Garg1-1/+1
2019-11-12KEYS: Use common tpm_buf for trusted and asymmetric keysSumit Garg1-62/+45
2019-11-12tpm: Move tpm_buf code to include/linux/Sumit Garg1-6/+6
2019-11-01crypto: skcipher - rename the crypto_blkcipher module and kconfig optionEric Biggers2-45/+45
2019-11-01crypto: skcipher - remove the "blkcipher" algorithm typeEric Biggers7-664/+6
2019-11-01crypto: skcipher - rename crypto_skcipher_type2 to crypto_skcipher_typeEric Biggers1-7/+6
2019-11-01crypto: skcipher - unify the crypto_has_skcipher*() functionsEric Biggers1-2/+2
2019-11-01crypto: testmgr - add test vectors for blake2bDavid Sterba2-0/+335
2019-11-01crypto: blake2b - add blake2b generic implementationDavid Sterba3-0/+453