aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2019-11-01crypto: ecdh - fix big endian bug in ECC libraryArd Biesheuvel1-1/+2
2019-10-26crypto: powerpc - convert SPE AES algorithms to skcipher APIEric Biggers1-0/+1
2019-10-26crypto: aegis128 - duplicate init() and final() hooks in SIMD codeArd Biesheuvel3-12/+97
2019-10-26crypto: aegis128 - avoid function pointers for parameterizationArd Biesheuvel1-59/+46
2019-10-23crypto: sparc/des - convert to skcipher APIEric Biggers1-0/+1
2019-10-23crypto: sparc/camellia - convert to skcipher APIEric Biggers1-0/+1
2019-10-23crypto: sparc/aes - convert to skcipher APIEric Biggers1-2/+1
2019-10-18crypto: jitter - add header to fix buildwarningsBen Dooks3-13/+19
2019-10-10crypto: user - fix memory leak in crypto_reportstatNavid Emamdoost1-1/+3
2019-10-10crypto: user - fix memory leak in crypto_reportNavid Emamdoost1-1/+3
2019-10-10crypto: af_alg - cast ki_complete ternary op to intAyush Sawal1-1/+1
2019-10-10crypto: aegis128/simd - build 32-bit ARM for v8 architecture explicitlyArd Biesheuvel1-0/+1
2019-10-05crypto: jitter - fix commentsAlexander E. Patrakov1-3/+3
2019-10-05crypto: aegis128-neon - use Clang compatible cflags for ARMArd Biesheuvel1-1/+1
2019-10-05crypto: testmgr - Added testvectors for the rfc3686(ctr(sm4)) skcipherPascal van Leeuwen2-0/+35
2019-10-05crypto: testmgr - Added testvectors for the ofb(sm4) & cfb(sm4) skciphersPascal van Leeuwen2-0/+110
2019-10-05crypto: testmgr - Added testvectors for the hmac(sm3) ahashPascal van Leeuwen2-0/+62
2019-10-05crypto: testmgr - add another gcm(aes) testcaseArd Biesheuvel1-0/+192
2019-10-05crypto: algif_skcipher - Use chunksize instead of blocksizeHerbert Xu1-1/+1
2019-09-28Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+3
2019-09-27Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+33
2019-09-21Merge tag 'for-5.4/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-0/+692
2019-09-13padata, pcrypt: take CPU hotplug lock internally in padata_alloc_possibleDaniel Jordan1-4/+0
2019-09-13crypto: pcrypt - remove padata cpumask notifierDaniel Jordan1-107/+18
2019-09-13padata: make padata_do_parallel find alternate callback CPUDaniel Jordan1-31/+2
2019-09-13padata: allocate workqueue internallyDaniel Jordan1-11/+2
2019-09-09crypto: skcipher - Unmap pages after an external errorHerbert Xu1-19/+23
2019-09-05crypto: sha256 - Merge crypto/sha256.h into crypto/sha.hHans de Goede1-1/+0
2019-09-03crypto: essiv - create wrapper template for ESSIV generationArd Biesheuvel3-0/+692
2019-08-30crypto: aegis128 - Fix -Wunused-const-variable warningYueHaibing2-11/+11
2019-08-30crypto: essiv - add tests for essiv in cbc(aes)+sha256 modeArd Biesheuvel3-0/+520
2019-08-30crypto: arm64/aegis128 - use explicit vector load for permute vectorsArd Biesheuvel1-19/+19
2019-08-22crypto: sha256_generic - Switch to the generic lib/crypto/sha256.c lib codeHans de Goede2-207/+19
2019-08-22crypto: sha256 - Make lib/crypto/sha256.c suitable for generic useHans de Goede1-0/+3
2019-08-22crypto: sha256_generic - Fix some coding style issuesHans de Goede1-134/+134
2019-08-22crypto: des - remove now unused __des3_ede_setkey()Ard Biesheuvel1-13/+0