aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2018-11-20crypto: poly1305 - use structures for key and accumulatorEric Biggers1-26/+26
2018-11-20crypto: chacha - add XChaCha12 supportEric Biggers4-3/+615
2018-11-20crypto: chacha20-generic - refactor to allow varying number of roundsEric Biggers3-57/+65
2018-11-20crypto: chacha20-generic - add XChaCha20 supportEric Biggers4-41/+676
2018-11-20crypto: chacha20-generic - don't unnecessarily use atomic walkEric Biggers1-1/+1
2018-11-20crypto: remove useless initializations of cra_listEric Biggers2-2/+0
2018-11-16crypto: ecc - regularize scalar for scalar multiplicationVitaly Chikunov1-4/+12
2018-11-16crypto: chacha20poly1305 - export CHACHAPOLY_IV_SIZECristian Stoica1-2/+0
2018-11-16crypto: streebog - add Streebog test vectorsVitaly Chikunov3-1/+179
2018-11-16crypto: streebog - register Streebog in hash info for IMAVitaly Chikunov1-0/+4
2018-11-16crypto: streebog - add Streebog hash functionVitaly Chikunov3-0/+1153
2018-11-16crypto: cts - document NIST standard statusGilad Ben-Yossef1-2/+5
2018-11-16crypto: ecc - check for invalid values in the key verification testVitaly Chikunov1-16/+26
2018-11-09crypto: testmgr - mark cts(cbc(aes)) as FIPS allowedGilad Ben-Yossef1-0/+1
2018-11-09crypto: user - clean up report structure copyingEric Biggers13-199/+96
2018-11-09crypto: user - remove redundant reporting functionsEric Biggers1-59/+0
2018-11-09pcrypt: use format specifier in kobject_addColin Ian King1-1/+1
2018-11-09crypto: testmgr - add AES-CFB testsDmitry Eremin-Solenikov3-0/+88
2018-11-09crypto: cfb - fix decryptionDmitry Eremin-Solenikov1-1/+1
2018-11-09crypto: arm/aes - add some hardening against cache-timing attacksEric Biggers1-4/+5
2018-11-09crypto: aes_ti - disable interrupts while accessing S-boxEric Biggers2-1/+20
2018-11-09crypto: user - Zeroize whole structure given to user spaceCorentin Labbe1-0/+21
2018-11-09crypto: user - fix leaking uninitialized memory to userspaceEric Biggers1-9/+9
2018-11-09crypto: simd - correctly take reqsize of wrapped skcipher into accountArd Biesheuvel1-2/+3
2018-10-26KEYS: asym_tpm: Add support for the sign operation [ver #2]Denis Kenzior1-1/+155
2018-10-26KEYS: asym_tpm: Implement tpm_sign [ver #2]Denis Kenzior1-0/+87
2018-10-26KEYS: asym_tpm: Implement signature verification [ver #2]Denis Kenzior1-6/+100
2018-10-26KEYS: asym_tpm: Implement the decrypt operation [ver #2]Denis Kenzior1-1/+57
2018-10-26KEYS: asym_tpm: Implement tpm_unbind [ver #2]Denis Kenzior1-0/+82
2018-10-26KEYS: asym_tpm: Add loadkey2 and flushspecific [ver #2]Denis Kenzior1-0/+94
2018-10-26KEYS: trusted: Expose common functionality [ver #2]Denis Kenzior1-0/+1
2018-10-26KEYS: asym_tpm: Implement encryption operation [ver #2]Denis Kenzior1-0/+84
2018-10-26KEYS: asym_tpm: Implement pkey_query [ver #2]Denis Kenzior1-0/+135
2018-10-26KEYS: Add parser for TPM-based keys [ver #2]Denis Kenzior4-0/+127
2018-10-26KEYS: asym_tpm: extract key size & public key [ver #2]Denis Kenzior1-0/+112
2018-10-26KEYS: asym_tpm: add skeleton for asym_tpm [ver #2]Denis Kenzior3-0/+102
2018-10-26crypto: rsa-pkcs1pad: Allow hash to be optional [ver #2]Denis Kenzior1-18/+41
2018-10-26KEYS: Implement PKCS#8 RSA Private Key parser [ver #2]David Howells4-0/+231
2018-10-26KEYS: Implement encrypt, decrypt and sign for software asymmetric key [ver #2]David Howells1-1/+81
2018-10-26KEYS: Allow the public_key struct to hold a private key [ver #2]David Howells1-2/+12
2018-10-26KEYS: Provide software public key query function [ver #2]David Howells1-17/+82
2018-10-26KEYS: Make the X.509 and PKCS7 parsers supply the sig encoding type [ver #2]David Howells2-12/+10
2018-10-26KEYS: Provide missing asymmetric key subops for new key type ops [ver #2]David Howells3-0/+141
2018-10-25Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds36-2426/+1174
2018-10-23Revert "net: simplify sock_poll_wait"Karsten Graul1-1/+1
2018-10-12crypto: testmgr - fix sizeof() on COMP_BUF_SIZEMichael Schupikov1-3/+3
2018-10-08crypto: aegis/generic - fix for big endian systemsArd Biesheuvel1-11/+9
2018-10-08crypto: morus/generic - fix for big endian systemsArd Biesheuvel2-17/+6
2018-10-05crypto: lrw - fix rebase error after out of bounds fixArd Biesheuvel1-4/+3
2018-10-05crypto: x86/aes-ni - remove special handling of AES in PCBC modeArd Biesheuvel1-1/+1
2018-09-28crypto: tcrypt - add OFB functional testsGilad Ben-Yossef1-0/+1
2018-09-28crypto: ofb - add output feedback modeGilad Ben-Yossef3-0/+238
2018-09-28crypto: testmgr - update sm4 test vectorsGilad Ben-Yossef4-7/+144
2018-09-28crypto: tcrypt - remove remnants of pcomp-based zlibHoria Geantă2-8/+1
2018-09-28crypto: user - Implement a generic crypto statisticsCorentin Labbe7-7/+507
2018-09-28crypto: cryptd - Remove VLA usage of skcipherKees Cook1-15/+17
2018-09-28crypto: null - Remove VLA usage of skcipherKees Cook7-28/+27
2018-09-28crypto: skcipher - Introduce crypto_sync_skcipherKees Cook1-0/+24
2018-09-28crypto: fix a memory leak in rsa-kcs1pad's encryption modeDan Aloni1-9/+0
2018-09-21crypto: lrw - Do not use auxiliary bufferOndrej Mosnacek1-229/+51
2018-09-21crypto: lrw - Optimize tweak computationOndrej Mosnacek1-24/+37
2018-09-21crypto: testmgr - Add test for LRW counter wrap-aroundOndrej Mosnacek1-0/+21
2018-09-21crypto: lrw - Fix out-of bounds access on counter overflowOndrej Mosnacek1-1/+6
2018-09-21crypto: tcrypt - fix ghash-generic speed testHoria Geantă1-0/+3
2018-09-21crypto: chacha20 - Fix chacha20_block() keystream alignment (again)Eric Biggers1-3/+4
2018-09-21crypto: xts - Drop use of auxiliary bufferOndrej Mosnacek1-223/+46
2018-09-04crypto: api - Introduce notifier for new crypto algorithmsMartin K. Petersen3-8/+4
2018-09-04crypto: x86 - remove SHA multibuffer routines and mcryptdArd Biesheuvel3-738/+0
2018-09-04crypto: shash - Remove VLA usage in unaligned hashingKees Cook1-11/+16
2018-09-04crypto: api - Introduce generic max blocksize and alignmaskKees Cook1-1/+6
2018-09-04crypto: hash - Remove VLA usageKees Cook3-6/+6
2018-09-04crypto: ccm - Remove VLA usageArd Biesheuvel1-3/+6
2018-09-04crypto: xcbc - Remove VLA usageKees Cook1-3/+5
2018-09-04crypto: speck - remove SpeckJason A. Donenfeld5-1084/+0
2018-08-18Merge tag 'dmaengine-4.19-rc1' of git://git.infradead.org/users/vkoul/slave-dmaLinus Torvalds2-5/+9
2018-08-16Replace magic for trusting the secondary keyring with #defineYannik Sembritzki1-1/+1
2018-08-15Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2018-08-15Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds36-526/+722
2018-08-03crypto: dh - make crypto_dh_encode_key() make robustEric Biggers1-14/+16
2018-08-03crypto: dh - fix calculating encoded key sizeEric Biggers2-7/+7
2018-08-03crypto: ablkcipher - fix crash flushing dcache in error pathEric Biggers1-31/+26
2018-08-03crypto: blkcipher - fix crash flushing dcache in error pathEric Biggers1-28/+26
2018-08-03crypto: skcipher - fix crash flushing dcache in error pathEric Biggers1-26/+27
2018-08-03crypto: skcipher - remove unnecessary setting of walk->nbytesEric Biggers1-1/+0
2018-08-03crypto: scatterwalk - remove 'chain' argument from scatterwalk_crypto_chain()Eric Biggers3-5/+5