aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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-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
2018-08-03crypto: skcipher - fix aligning block size in skcipher_copy_iv()Eric Biggers1-1/+1
2018-08-03crypto: tcrypt - reschedule during speed testsHoria Geantă1-12/+24
2018-08-03crypto: drbg - in-place cipher operation for CTRStephan Müller1-20/+14
2018-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linuxHerbert Xu6-10/+29
2018-07-30net: simplify sock_poll_waitChristoph Hellwig1-1/+1
2018-07-27crypto: rmd320 - use swap macro in rmd320_transformGustavo A. R. Silva1-6/+6
2018-07-27crypto: rmd256 - use swap macro in rmd256_transformGustavo A. R. Silva1-5/+5
2018-07-20crypto: ecdh - fix typo of P-192 b valueStephan Mueller1-1/+1
2018-07-20crypto: dh - update test for public key verificationStephan Mueller1-0/+4
2018-07-20crypto: drbg - eliminate constant reinitialization of SGLStephan Mueller1-4/+7
2018-07-20crypto: dh - fix memory leakGustavo A. R. Silva1-1/+1
2018-07-19Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+3
2018-07-18evm: Don't deadlock if a crypto algorithm is unavailableMatthew Garrett1-1/+1
2018-07-13crypto: af_alg - Initialize sg_num_bytes in error code pathStephan Mueller1-1/+3
2018-07-09crypto: testmgr - add hash finup testsGilad Ben-Yossef1-9/+46
2018-07-09crypto: aead - remove useless setting of type flagsEric Biggers5-5/+0
2018-07-09crypto: shash - remove useless setting of type flagsEric Biggers16-25/+0
2018-07-09crypto: sha512_generic - add cra_priorityEric Biggers1-0/+2
2018-07-09crypto: sha256_generic - add cra_priorityEric Biggers1-0/+2
2018-07-09crypto: sha1_generic - add cra_priorityEric Biggers1-0/+1
2018-07-09crypto: dh - add public key verification testStephan Mueller2-6/+75
2018-07-09crypto: skcipher - Fix -Wstringop-truncation warningsStafford Horne2-0/+3
2018-07-09crypto: ecdh - add public key verification testStephan Mueller2-8/+56
2018-07-01crypto: skcipher - remove the exporting of skcipher_walk_nextDenis Efremov1-1/+0
2018-07-01crypto: vmac - remove insecure version with hardcoded nonceEric Biggers4-186/+8
2018-07-01crypto: vmac - add nonced version with big endian digestEric Biggers3-18/+273
2018-07-01crypto: vmac - separate tfm and request contextEric Biggers1-227/+181
2018-07-01crypto: vmac - require a block cipher with 128-bit block sizeEric Biggers1-0/+4
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds3-7/+14
2018-06-26Merge branch 'fixes-v4.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+9
2018-06-25X.509: unpack RSA signatureValue field from BIT STRINGMaciej S. Szmigiero1-0/+9
2018-06-24Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-2/+3
2018-06-22crypto: aegis - fix indentation of a statementColin Ian King1-1/+1
2018-06-22crypto: sha512_generic - add a sha384 0-length pre-computed hashAntoine Tenart1-0/+10
2018-06-22crypto: sha512_generic - add a sha512 0-length pre-computed hashAntoine Tenart1-0/+12
2018-06-18async_pq: Remove VLA usageKyle Spiers2-5/+9
2018-06-15docs: Fix some broken referencesMauro Carvalho Chehab2-2/+2
2018-06-15crypto: morus640 - Fix out-of-bounds accessOndrej Mosnáček1-1/+2
2018-06-15crypto: don't optimize keccakf()Dmitry Vyukov1-1/+1
2018-06-12treewide: Use array_size() in sock_kmalloc()Kees Cook2-3/+4
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+2
2018-06-06Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2018-06-06treewide: Use struct_size() for devm_kmalloc() and friendsKees Cook1-2/+2
2018-06-05Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds28-11945/+10639
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds5-18/+7
2018-05-31crypto: salsa20 - Revert "crypto: salsa20 - export generic helpers"Eric Biggers1-7/+13
2018-05-31crypto: x86/salsa20 - remove x86 salsa20 implementationsEric Biggers1-28/+0
2018-05-31crypto: morus - Mark MORUS SIMD glue as x86-specificOndrej Mosnacek4-604/+4
2018-05-31crypto: testmgr - eliminate redundant decryption test vectorsEric Biggers2-11723/+919
2018-05-31crypto: testmgr - add extra kw(aes) encryption test vectorEric Biggers1-0/+13
2018-05-31crypto: testmgr - add extra ecb(tnepres) encryption test vectorsEric Biggers1-1/+39
2018-05-31crypto: testmgr - make an cbc(des) encryption test vector chunkedEric Biggers1-0/+3
2018-05-31crypto: testmgr - add extra ecb(des) encryption test vectorsEric Biggers1-0/+22
2018-05-27crypto: testmgr - add more unkeyed crc32 and crc32c test vectorsEric Biggers1-0/+14
2018-05-27crypto: testmgr - fix testing OPTIONAL_KEY hash algorithmsEric Biggers1-7/+43
2018-05-27crypto: testmgr - remove bfin_crc "hmac(crc32)" test vectorsEric Biggers3-98/+0
2018-05-27crypto: crc32-generic - remove __crc32_le()Eric Biggers1-8/+2
2018-05-27crypto: crc32c-generic - remove cra_alignmaskEric Biggers1-4/+4
2018-05-27crypto: crc32-generic - use unaligned access macros when neededEric Biggers1-3/+4
2018-05-26crypto: af_alg: convert to ->poll_maskChristoph Hellwig3-14/+7
2018-05-26net: remove sock_no_pollChristoph Hellwig3-4/+0
2018-05-19crypto: x86 - Add optimized MORUS implementationsOndrej Mosnacek1-0/+26
2018-05-19crypto: morus - Add common SIMD glue code for MORUSOndrej Mosnacek4-0/+618
2018-05-19crypto: testmgr - Add test vectors for MORUSOndrej Mosnacek2-0/+3418
2018-05-19crypto: morus - Add generic MORUS AEAD implementationsOndrej Mosnacek4-0/+1107
2018-05-19crypto: x86 - Add optimized AEGIS implementationsOndrej Mosnacek1-0/+24
2018-05-19crypto: testmgr - Add test vectors for AEGISOndrej Mosnacek2-0/+2862
2018-05-19crypto: aegis - Add generic AEGIS AEAD implementationsOndrej Mosnacek6-0/+1572
2018-05-19crypto: testmgr - reorder paes test lexicographicallyGilad Ben-Yossef1-22/+22
2018-05-16proc: introduce proc_create_seq{,_data}Christoph Hellwig1-13/+1
2018-05-05crypto: tcrypt - Remove VLA usageKees Cook1-39/+79
2018-05-05crypto: sm4 - export encrypt/decrypt routines to other driversArd Biesheuvel1-4/+6
2018-05-05crypto: ccree - enable support for hardware keysGilad Ben-Yossef1-0/+43
2018-04-21crypto: rsa - Remove unneeded error assignmentFabio Estevam1-1/+0
2018-04-21crypto: testmgr - Allow different compression resultsMahipal Challa1-13/+37
2018-04-21crypto: remove several VLAsSalvatore Mesoraca5-11/+13
2018-04-21crypto: api - laying defines and checks for statically allocated buffersSalvatore Mesoraca1-0/+10
2018-04-21crypto: authencesn - don't leak pointers to authenc keysTudor-Dan Ambarus1-0/+1
2018-04-21crypto: authenc - don't leak pointers to authenc keysTudor-Dan Ambarus1-0/+1
2018-04-21crypto: zstd - Add zstd supportNick Terrell5-0/+356