aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2019-08-22crypto: des - split off DES library from generic DES cipher driverArd Biesheuvel2-876/+49
2019-08-22crypto: 3des - move verification out of exported routineArd Biesheuvel1-5/+5
2019-08-22crypto: des/3des_ede - add new helpers to verify keysArd Biesheuvel1-13/+0
2019-08-19kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCEJiri Bohac1-1/+3
2019-08-15crypto: arm64/aegis128 - implement plain NEON versionArd Biesheuvel3-2/+80
2019-08-15crypto: aegis128 - provide a SIMD implementation based on NEON intrinsicsArd Biesheuvel4-0/+207
2019-08-15crypto: aegis128 - add support for SIMD accelerationArd Biesheuvel2-4/+49
2019-08-15crypto: xts - add support for ciphertext stealingArd Biesheuvel1-20/+132
2019-08-15crypto: aead - Do not allow authsize=0 if auth. alg has digestsize>0Pascal van Leeuwen1-1/+2
2019-08-15crypto: streebog - remove two unused variablesYueHaibing1-46/+0
2019-08-15crypto: aes-generic - remove unused variable 'rco_tab'YueHaibing1-2/+0
2019-08-15crypto: cryptd - Use refcount_t for refcountChuhong Yuan1-22/+22
2019-08-09crypto: gcm - restrict assoclen for rfc4543Iuliana Prodan1-2/+4
2019-08-09crypto: engine - Reduce default RT priorityPeter Zijlstra1-1/+1
2019-08-09crypto: gcm - helper functions for assoclen/authsize checkIuliana Prodan1-26/+15
2019-08-05PKCS#7: Introduce pkcs7_get_digest()Thiago Jung Bauermann1-0/+33
2019-08-02crypto: jitterentropy - build without sanitizerArnd Bergmann1-0/+2
2019-08-02Revert "crypto: aegis128 - add support for SIMD acceleration"Herbert Xu5-247/+4
2019-07-27crypto: ghash - add comment and improve help textEric Biggers2-8/+34
2019-07-27crypto: aegis - fix badly optimized clang outputArnd Bergmann1-7/+7
2019-07-26crypto: user - make NETLINK_CRYPTO work inside netnsOndrej Mosnacek2-13/+28
2019-07-26crypto: tcrypt - add a speed test for AEGIS128Ard Biesheuvel1-0/+7
2019-07-26crypto: aegis128 - provide a SIMD implementation based on NEON intrinsicsArd Biesheuvel4-0/+208
2019-07-26crypto: aegis128 - add support for SIMD accelerationArd Biesheuvel3-11/+46
2019-07-26crypto: aegis - avoid prerotated AES tablesArd Biesheuvel1-8/+6
2019-07-26crypto: aegis128 - drop empty TFM init/exit routinesArd Biesheuvel1-11/+0
2019-07-26crypto: aegis128l/aegis256 - remove x86 and generic implementationsArd Biesheuvel6-2023/+0
2019-07-26crypto: morus - remove generic and x86 implementationsArd Biesheuvel6-2852/+0
2019-07-26crypto: testmgr - add tests for lzo-rleHannah Pan2-0/+90
2019-07-26crypto: aes-generic - unexport last-round AES tablesArd Biesheuvel1-4/+2
2019-07-26crypto: aes-generic - drop key expansion routine in favor of library versionArd Biesheuvel2-151/+3
2019-07-26crypto: x86/aes - drop scalar assembler implementationsArd Biesheuvel1-44/+0
2019-07-26crypto: x86/aes-ni - switch to generic for fallback and key routinesArd Biesheuvel1-2/+1
2019-07-26crypto: aes - create AES library based on the fixed time AES codeArd Biesheuvel2-300/+7
2019-07-26crypto: aes/fixed-time - align key schedule with other implementationsArd Biesheuvel1-31/+21
2019-07-26crypto: aes - rename local routines to prevent future clashesArd Biesheuvel1-4/+4
2019-07-26crypto: fips - add FIPS test failure notification chainGilad Ben-Yossef2-1/+14
2019-07-11Merge tag 'usb-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-0/+1
2019-07-08Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds40-586/+1028
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2019-07-05Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-0/+4
2019-07-03crypto: user - prevent operating on larval algorithmsEric Biggers1-0/+3
2019-07-03crypto: cryptd - Fix skcipher instance memory leakVincent Whitchurch1-0/+1
2019-06-27crypto: asymmetric_keys - select CRYPTO_HASH where neededArnd Bergmann1-0/+3
2019-06-27crypto: serpent - mark __serpent_setkey_sbox noinlineArnd Bergmann1-1/+7
2019-06-27crypto: testmgr - dynamically allocate crypto_shashArnd Bergmann1-6/+13
2019-06-27crypto: testmgr - dynamically allocate testvec_configArnd Bergmann1-11/+32
2019-06-26keys: Add a 'recurse' flag for keyring searchesDavid Howells1-1/+1
2019-06-23Merge 5.2-rc6 into usb-nextGreg Kroah-Hartman5-28/+5
2019-06-20crypto: arc4 - remove cipher implementationArd Biesheuvel2-50/+16
2019-06-20crypto: arc4 - refactor arc4 core code into separate libraryArd Biesheuvel2-59/+5
2019-06-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu2-1/+5
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner4-16/+4
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234Thomas Gleixner1-12/+1
2019-06-18wusb: switch to cbcmac transformArd Biesheuvel1-0/+1
2019-06-13crypto: chacha - constify ctx and iv argumentsEric Biggers1-2/+2
2019-06-13crypto: chacha20poly1305 - a few cleanupsEric Biggers1-30/+13
2019-06-13crypto: skcipher - un-inline encrypt and decrypt functionsEric Biggers1-0/+34
2019-06-13crypto: aead - un-inline encrypt and decrypt functionsEric Biggers1-0/+36
2019-06-13crypto: testmgr - add some more preemption pointsEric Biggers1-0/+6
2019-06-13crypto: algapi - require cra_name and cra_driver_nameEric Biggers1-18/+4
2019-06-13crypto: make all generic algorithms set cra_driver_nameEric Biggers22-24/+55
2019-06-08Merge tag 'spdx-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds10-138/+10
2019-06-06Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-2/+4
2019-06-06crypto: chacha20poly1305 - fix atomic sleep when using async algorithmEric Biggers1-11/+19
2019-06-06crypto: lrw - use correct alignmaskEric Biggers1-1/+1
2019-06-06crypto: ghash - fix unaligned memory access in ghash_setkey()Eric Biggers1-1/+7
2019-06-06crypto: xxhash - Implement xxhash supportNikolay Borisov5-0/+230
2019-06-06crypto: jitter - update implementation to 2.1.2Stephan Müller2-228/+82
2019-06-06crypto: testmgr - test the shash APIEric Biggers1-67/+335
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336Thomas Gleixner4-56/+4
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335Thomas Gleixner6-82/+6
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174Thomas Gleixner1-9/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157Thomas Gleixner1-10/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner71-412/+71
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 140Thomas Gleixner2-16/+2
2019-05-30crypto: algapi - remove crypto_tfm_in_queue()Eric Biggers1-13/+0
2019-05-30crypto: hash - remove CRYPTO_ALG_TYPE_DIGESTEric Biggers1-1/+1
2019-05-30crypto: cryptd - move kcrypto_wq into cryptdEric Biggers4-52/+19
2019-05-30crypto: gf128mul - make unselectable by userEric Biggers1-7/+1
2019-05-30crypto: echainiv - change to 'default n'Eric Biggers1-1/+0
2019-05-30crypto: make all templates select CRYPTO_MANAGEREric Biggers1-0/+8
2019-05-30crypto: testmgr - make extra tests depend on cryptomgrEric Biggers1-1/+4
2019-05-30crypto: testmgr - fix length truncation with large page sizeEric Biggers1-5/+5
2019-05-30crypto: hmac - fix memory leak in hmac_init_tfm()Eric Biggers1-1/+3
2019-05-30crypto: jitterentropy - change back to module_init()Eric Biggers1-1/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102Thomas Gleixner1-15/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47Thomas Gleixner1-9/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45Thomas Gleixner1-6/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 44Thomas Gleixner1-6/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 42Thomas Gleixner1-7/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner18-90/+18
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33Thomas Gleixner1-17/+1
2019-05-23crypto: drbg - add FIPS 140-2 CTRNG for noise sourceStephan Mueller1-3/+91
2019-05-21Merge tag 'spdx-5.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds5-67/+5
2019-05-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+2
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13Thomas Gleixner5-67/+5
2019-05-17crypto: hash - fix incorrect HASH_MAX_DESCSIZEEric Biggers1-0/+2
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+2
2019-05-06Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds108-965/+3065
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-2/+10
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-2/+2
2019-04-25crypto: ecrdsa - select ASN1 and OID_REGISTRY for EC-RDSAVitaly Chikunov1-0/+2
2019-04-25crypto: testmgr - add missing self test entries for protected keysGilad Ben-Yossef1-0/+20
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers9-25/+0
2019-04-25crypto: shash - remove useless crypto_yield() in shash_ahash_digest()Eric Biggers1-1/+0
2019-04-19crypto: ccm - fix incompatibility between "ccm" and "ccm_base"Eric Biggers1-26/+18
2019-04-19crypto: gcm - fix incompatibility between "gcm" and "gcm_base"Eric Biggers1-23/+11
2019-04-18crypto: shash - fix missed optimization in shash_ahash_digest()Eric Biggers1-1/+1
2019-04-18crypto: cryptd - remove ability to instantiate ablkciphersEric Biggers1-249/+0
2019-04-18crypto: scompress - initialize per-CPU variables on each CPUSebastian Andrzej Siewior1-2/+2
2019-04-18crypto: run initcalls for generic implementations earlierEric Biggers83-83/+89
2019-04-18crypto: testmgr - fuzz AEADs against their generic implementationEric Biggers1-0/+229
2019-04-18crypto: testmgr - fuzz skciphers against their generic implementationEric Biggers2-1/+198
2019-04-18crypto: testmgr - fuzz hashes against their generic implementationEric Biggers1-4/+170
2019-04-18crypto: testmgr - add helpers for fuzzing against generic implementationEric Biggers1-0/+128
2019-04-18crypto: testmgr - identify test vectors by name rather than numberEric Biggers1-87/+96
2019-04-18crypto: testmgr - expand ability to test for errorsEric Biggers2-50/+104
2019-04-18crypto: ecrdsa - add EC-RDSA test vectors to testmgrVitaly Chikunov2-0/+160
2019-04-18crypto: ecrdsa - add EC-RDSA (GOST 34.10) algorithmVitaly Chikunov9-13/+1004
2019-04-18crypto: ecc - make ecc into separate moduleVitaly Chikunov5-23/+122
2019-04-18crypto: Kconfig - create Public-key cryptography sectionVitaly Chikunov1-23/+25
2019-04-18X.509: parse public key parameters from x509 for akcipherVitaly Chikunov6-21/+122
2019-04-18KEYS: do not kmemdup digest in {public,tpm}_key_verify_signatureVitaly Chikunov2-17/+2
2019-04-18crypto: akcipher - new verify API for public key algorithmsVitaly Chikunov4-78/+69
2019-04-18crypto: rsa - unimplement sign/verify for raw RSA backendsVitaly Chikunov2-111/+2
2019-04-18crypto: akcipher - default implementations for request callbacksVitaly Chikunov1-0/+14
2019-04-18crypto: des_generic - Forbid 2-key in 3DES and add helpersHerbert Xu1-7/+4
2019-04-18crypto: salsa20 - don't access already-freed walk.ivEric Biggers1-1/+1
2019-04-18crypto: lrw - don't access already-freed walk.ivEric Biggers1-1/+3
2019-04-18crypto: lrw - Fix atomic sleep when walking skcipherHerbert Xu1-1/+5
2019-04-18crypto: xts - Fix atomic sleep when walking skcipherHerbert Xu1-1/+5
2019-04-08crypto: x86/poly1305 - fix overflow during partial reductionEric Biggers1-1/+43
2019-04-08crypto: testmgr - add panic_on_fail module parameterEric Biggers1-2/+6
2019-04-08crypto: cts - don't support empty messagesEric Biggers1-7/+11
2019-04-08crypto: streebog - fix unaligned memory accessesEric Biggers1-12/+13
2019-04-08crypto: chacha20poly1305 - set cra_name correctlyEric Biggers1-2/+2
2019-04-08crypto: skcipher - don't WARN on unprocessed data after slow walk stepEric Biggers1-2/+7
2019-04-08crypto: crct10dif-generic - fix use via crypto_shash_digest()Eric Biggers1-7/+4
2019-04-08crypto: aes - Use ___cacheline_aligned for aes dataAndi Kleen1-4/+4
2019-04-08crypto: scompress - Use per-CPU struct instead multiple variablesSebastian Andrzej Siewior1-71/+54
2019-04-08crypto: scompress - return proper error code for allocation failureSebastian Andrzej Siewior1-1/+3
2019-03-28crypto: fips - Grammar s/options/option/, s/to/the/Geert Uytterhoeven1-2/+2
2019-03-22crypto: Kconfig - fix typos AEGSI -> AEGISOndrej Mosnacek1-3/+3
2019-03-22crypto: salsa20-generic - use crypto_xor_cpy()Eric Biggers1-5/+4
2019-03-22crypto: chacha-generic - use crypto_xor_cpy()Eric Biggers1-5/+3
2019-03-22crypto: testmgr - test the !may_use_simd() fallback codeEric Biggers1-24/+92
2019-03-22crypto: simd - convert to use crypto_simd_usable()Eric Biggers1-4/+4
2019-03-22crypto: simd,testmgr - introduce crypto_simd_usable()Eric Biggers1-1/+25
2019-03-22crypto: chacha-generic - fix use as arm64 no-NEON fallbackEric Biggers1-1/+1
2019-03-22crypto: testmgr - remove workaround for AEADs that modify aead_requestEric Biggers1-3/+0
2019-03-22crypto: x86/morus1280 - convert to use AEAD SIMD helpersEric Biggers1-1/+1
2019-03-22crypto: x86/morus640 - convert to use AEAD SIMD helpersEric Biggers1-1/+1
2019-03-22crypto: x86/aegis256 - convert to use AEAD SIMD helpersEric Biggers1-1/+1
2019-03-22crypto: x86/aegis128l - convert to use AEAD SIMD helpersEric Biggers1-1/+1
2019-03-22crypto: x86/aegis128 - convert to use AEAD SIMD helpersEric Biggers1-1/+1
2019-03-22crypto: simd - support wrapping AEAD algorithmsEric Biggers1-0/+269
2019-03-07lib/lzo: separate lzo-rle from lzoDave Rodgman3-3/+178
2019-03-05Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds33-8975/+6499
2019-02-28crypto: af_alg - use struct_size() in sock_kfree_s()Gustavo A. R. Silva1-2/+1
2019-02-22crypto: adiantum - add 1536 and 4096-byte test vectorsEric Biggers1-0/+2860
2019-02-22crypto: nhpoly1305 - add a test vector with len % 16 != 0Eric Biggers1-0/+144
2019-02-22crypto: testmgr - add iv_out to all CTR test vectorsEric Biggers1-0/+45
2019-02-22crypto: testmgr - add iv_out to all CBC test vectorsEric Biggers1-0/+48
2019-02-22crypto: testmgr - support checking skcipher output IVEric Biggers2-7/+11
2019-02-22crypto: testmgr - remove extra bytes from 3DES-CTR IVsEric Biggers1-4/+2
2019-02-18net: crypto set sk to NULL when af_alg_release.Mao Wenan1-1/+3
2019-02-15crypto: export arc4 definesIuliana Prodan1-4/+1
2019-02-08crypto: testmgr - check for aead_request corruptionEric Biggers1-0/+44
2019-02-08crypto: testmgr - check for skcipher_request corruptionEric Biggers1-0/+41
2019-02-08crypto: testmgr - convert hash testing to use testvec_configsEric Biggers2-550/+352
2019-02-08crypto: testmgr - convert aead testing to use testvec_configsEric Biggers2-475/+185
2019-02-08crypto: testmgr - convert skcipher testing to use testvec_configsEric Biggers2-523/+245
2019-02-08crypto: testmgr - implement random testvec_config generationEric Biggers1-0/+117
2019-02-08crypto: testmgr - introduce CONFIG_CRYPTO_MANAGER_EXTRA_TESTSEric Biggers2-0/+24
2019-02-08crypto: testmgr - add testvec_config struct and helper functionsEric Biggers1-15/+437
2019-02-08crypto: ahash - fix another early termination in hash walkEric Biggers1-7/+7
2019-02-08crypto: morus - fix handling chunked inputsEric Biggers2-12/+14
2019-02-08crypto: aegis - fix handling chunked inputsEric Biggers3-21/+21
2019-02-08crypto: testmgr - use kmemdupChristopher Diaz Riveros1-6/+3
2019-02-01crypto: testmgr - mark crc32 checksum as FIPS allowedMilan Broz1-0/+1
2019-02-01crypto: testmgr - skip crc32c context test for ahash algorithmsEric Biggers1-4/+10
2019-02-01crypto: seqiv - Use kmemdup in seqiv_aead_encrypt()YueHaibing1-4/+3