aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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-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-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-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: 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-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
2019-01-25crypto: clarify name of WEAK_KEY request flagEric Biggers3-11/+11
2019-01-25crypto: chacha20poly1305 - use template array registering API to simplify the...Xiongfeng Wang1-23/+14
2019-01-25crypto: ctr - use template array registering API to simplify the codeXiongfeng Wang1-28/+14
2019-01-25crypto: gcm - use template array registering API to simplify the codeXiongfeng Wang1-50/+23
2019-01-25crypto: ccm - use template array registering API to simplify the codeXiongfeng Wang1-55/+23
2019-01-25crypto: api - add a helper to (un)register a array of templatesXiongfeng Wang1-0/+27
2019-01-25crypto: morus - Convert to SPDX license identifiersThomas Gleixner2-10/+2
2019-01-25crypto: aegis - Convert to SPDX license identifiersThomas Gleixner3-15/+3
2019-01-25crypto: aegis - Cleanup license messThomas Gleixner1-6/+1
2019-01-18crypto: testmgr - unify the AEAD encryption and decryption test vectorsEric Biggers2-6491/+1235
2019-01-18crypto: testmgr - add rfc4543(gcm(aes)) decryption test to encryption testsEric Biggers1-1/+29
2019-01-18crypto: testmgr - add gcm(aes) decryption tests to encryption testsEric Biggers1-0/+105
2019-01-18crypto: testmgr - add ccm(aes) decryption tests to encryption testsEric Biggers1-1/+196
2019-01-18crypto: testmgr - skip AEAD encryption test vectors with novrfy setEric Biggers1-0/+5
2019-01-18crypto: af_alg - remove redundant initializations of sk_familyEric Biggers1-3/+0
2019-01-18crypto: af_alg - use list_for_each_entry() in af_alg_count_tsgl()Eric Biggers1-5/+5
2019-01-18crypto: af_alg - make some functions staticEric Biggers1-13/+7
2019-01-18crypto: stat - remove unused mutexEric Biggers1-2/+0
2019-01-18crypto: tgr192 - fix unaligned memory accessEric Biggers1-3/+3
2019-01-18crypto: user - forward declare crypto_nlskEric Biggers1-2/+0
2019-01-18crypto: testmgr - handle endianness correctly in alg_test_crc32c()Eric Biggers1-5/+5
2019-01-18crypto: streebog - use correct endianness typeEric Biggers1-1/+1
2019-01-18crypto: rsa-pkcs1pad - include <crypto/internal/rsa.h>Eric Biggers1-0/+1
2019-01-18crypto: gcm - use correct endianness type in gcm_hash_len()Eric Biggers1-1/+1
2019-01-18crypto: testmgr - split akcipher tests by a key typeVitaly Chikunov1-29/+57
2019-01-18crypto: shash - remove pointless checks of shash_alg::{export,import}Eric Biggers1-4/+2
2019-01-18crypto: shash - require neither or both ->export() and ->import()Eric Biggers1-0/+3
2019-01-18crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() failsEric Biggers1-1/+3
2019-01-18crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() failsEric Biggers1-9/+18
2019-01-18crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() failsEric Biggers2-14/+32
2019-01-11crypto: algapi - reject NULL crypto_spawn::instEric Biggers1-0/+3
2019-01-11crypto: algapi - remove crypto_alloc_instance()Eric Biggers1-31/+2
2019-01-11crypto: null - convert ecb-cipher_null to skcipher APIEric Biggers1-25/+32
2019-01-11crypto: arc4 - convert to skcipher APIEric Biggers1-38/+44
2019-01-11crypto: pcbc - convert to skcipher_alloc_instance_simple()Eric Biggers1-114/+11
2019-01-11crypto: pcbc - remove ability to wrap internal ciphersEric Biggers1-7/+3
2019-01-11crypto: ofb - convert to skcipher_alloc_instance_simple()Eric Biggers1-112/+7
2019-01-11crypto: keywrap - convert to skcipher APIEric Biggers1-133/+65
2019-01-11crypto: ecb - convert to skcipher APIEric Biggers1-115/+36
2019-01-11crypto: ctr - convert to skcipher APIEric Biggers1-119/+41
2019-01-11crypto: cfb - convert to skcipher_alloc_instance_simple()Eric Biggers1-118/+9
2019-01-11crypto: cbc - convert to skcipher_alloc_instance_simple()Eric Biggers1-118/+13
2019-01-11crypto: skcipher - add helper for simple block cipher modesEric Biggers1-0/+131
2019-01-11crypto: pcbc - remove bogus memcpy()s with src == destEric Biggers1-10/+4
2019-01-11crypto: ofb - fix handling partial blocks and make thread-safeEric Biggers2-56/+63
2019-01-11crypto: cfb - remove bogus memcpy() with src == destEric Biggers1-4/+4
2019-01-11crypto: cfb - add missing 'chunksize' propertyEric Biggers2-0/+31
2019-01-11crypto: Kconfig - Fix typo in "pclmul"haco1-2/+2
2019-01-10crypto: sm3 - fix undefined shift by >= width of valueEric Biggers1-1/+1
2019-01-10crypto: adiantum - initialize crypto_spawn::instEric Biggers1-0/+4
2019-01-10crypto: authencesn - Avoid twice completion call in decrypt pathHarsh Jain1-1/+1
2019-01-10crypto: authenc - fix parsing key with misaligned rta_lenEric Biggers1-3/+11
2018-12-29Merge tag 'kconfig-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds1-2/+2
2018-12-27Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds37-786/+6297
2018-12-26Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2018-12-23crypto: skcipher - remove remnants of internal IV generatorsEric Biggers5-87/+7
2018-12-23crypto: salsa20-generic - don't unnecessarily use atomic walkEric Biggers1-1/+1
2018-12-23crypto: skcipher - add might_sleep() to skcipher_walk_virt()Eric Biggers1-0/+2
2018-12-23crypto: user - remove unused dump functionsCorentin Labbe2-36/+1
2018-12-22treewide: surround Kconfig file paths with double quotesMasahiro Yamada1-2/+2
2018-12-13crypto: adiantum - fix leaking reference to hash algorithmEric Biggers1-4/+5
2018-12-13crypto: user - support incremental algorithm dumpsEric Biggers1-17/+20
2018-12-13crypto: adiantum - adjust some comments to match latest paperEric Biggers2-20/+23
2018-12-13crypto: xchacha20 - fix comments for test vectorsEric Biggers1-8/+6
2018-12-13crypto: xchacha - add test vector from XChaCha20 draft RFCEric Biggers1-2/+176
2018-12-13crypto: x86/chacha - add XChaCha12 supportEric Biggers1-2/+2
2018-12-13crypto: x86/chacha20 - add XChaCha20 supportEric Biggers1-9/+3
2018-12-13crypto: x86/nhpoly1305 - add AVX2 accelerated NHPoly1305Eric Biggers1-0/+8
2018-12-13crypto: x86/nhpoly1305 - add SSE2 accelerated NHPoly1305Eric Biggers1-0/+8
2018-12-13crypto: adiantum - propagate CRYPTO_ALG_ASYNC flag to instanceEric Biggers1-0/+2
2018-12-13crypto: tcrypt - add block size of 1472 to skcipher templateArd Biesheuvel1-1/+1
2018-12-07crypto: user - Add crypto_stats_initCorentin Labbe1-3/+7
2018-12-07crypto: user - rename err_cnt parameterCorentin Labbe2-28/+28
2018-12-07crypto: user - Split stats in multiple structuresCorentin Labbe2-98/+92
2018-12-07crypto: user - remove intermediate variableCorentin Labbe1-91/+41
2018-12-07crypto: user - Fix invalid stat reportingCorentin Labbe1-3/+3
2018-12-07crypto: user - fix use_after_free of struct xxx_requestCorentin Labbe3-4/+250
2018-12-07crypto: user - split user space crypto stat structuresCorentin Labbe1-10/+10
2018-12-07crypto: user - convert all stats from u32 to u64Corentin Labbe2-66/+58
2018-12-07crypto: user - CRYPTO_STATS should depend on CRYPTO_USERCorentin Labbe1-0/+1
2018-12-07crypto: user - made crypto_user_stat optionalCorentin Labbe2-1/+4
2018-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu3-6/+12
2018-12-07crypto: user - Disable statistics interfaceHerbert Xu1-1/+1
2018-12-04Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2018-11-29crypto: do not free algorithm before usingPan Bian3-6/+12
2018-11-27crypto/pcrypt: Replace synchronize_rcu_bh() with synchronize_rcu()Paul E. McKenney1-1/+1
2018-11-20crypto: adiantum - add Adiantum supportEric Biggers6-0/+1167
2018-11-20crypto: nhpoly1305 - add NHPoly1305 supportEric Biggers5-4/+1502
2018-11-20crypto: poly1305 - add Poly1305 core APIEric Biggers1-75/+99