aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2018-04-21crypto: ecc - Actually remove stack VLA usageKees Cook3-41/+33
2018-04-21crypto: drbg - set freed buffers to NULLStephan Mueller1-0/+2
2018-04-21crypto: api - fix finding algorithm currently being testedEric Biggers1-3/+8
2018-04-15Merge tag 'kbuild-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds8-35/+24
2018-04-10Merge tag 'mips_4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...Linus Torvalds1-0/+9
2018-04-07crypto: af_alg - fix possible uninit-value in alg_bind()Eric Dumazet1-4/+4
2018-04-07kbuild: rename *-asn1.[ch] to *.asn1.[ch]Masahiro Yamada6-23/+23
2018-04-07kbuild: clean up *-asn1.[ch] patterns from top-level MakefileMasahiro Yamada2-9/+0
2018-04-07.gitignore: move *-asn1.[ch] patterns to the top-level .gitignoreMasahiro Yamada2-2/+0
2018-04-04Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds24-661/+3219
2018-03-31crypto: ahash - Fix early termination in hash walkHerbert Xu1-3/+4
2018-03-31crypto: lrw - Free rctx->ext with kzfreeHerbert Xu1-1/+1
2018-03-31crypto: Deduplicate le32_to_cpu_array() and cpu_to_le32_array()Andy Shevchenko2-34/+0
2018-03-31crypto: api - Keep failed instances aliveHerbert Xu2-17/+13
2018-03-31crypto: api - Make crypto_alg_lookup staticHerbert Xu2-3/+2
2018-03-31crypto: api - Remove unused crypto_type lookup functionHerbert Xu1-7/+1
2018-03-16crypto: testmgr - add a new test case for CRC-T10DIFArd Biesheuvel1-0/+259
2018-03-16crypto: ecc - Remove stack VLA usageKees Cook1-6/+17
2018-03-16crypto: testmgr - introduce SM4 testsGilad Ben-Yossef3-0/+143
2018-03-16crypto: sm4 - introduce SM4 symmetric cipher algorithmGilad Ben-Yossef3-0/+270
2018-03-09mn10300: Remove the architectureDavid Howells1-1/+1
2018-03-09crypto: ecdh - fix to allow multi segment scatterlistsJames Bottomley1-6/+17
2018-03-09crypto: cfb - add support for Cipher FeedBack modeJames Bottomley3-0/+362
2018-03-03crypto: ablk_helper - remove ablk_helperEric Biggers3-155/+0
2018-03-03crypto: lrw - remove lrw_crypt()Eric Biggers1-113/+39
2018-03-03crypto: xts - remove xts_crypt()Eric Biggers1-72/+0
2018-03-03crypto: x86/camellia-aesni-avx, avx2 - convert to skcipher interfaceEric Biggers1-10/+3
2018-03-03crypto: x86/camellia - convert to skcipher interfaceEric Biggers1-1/+1
2018-03-03crypto: x86/camellia - remove XTS algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/camellia - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/camellia-aesni-avx2 - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/camellia-aesni-avx - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/des3_ede - convert to skcipher interfaceEric Biggers1-1/+1
2018-03-03crypto: x86/blowfish: convert to skcipher interfaceEric Biggers1-1/+1
2018-03-03crypto: x86/cast6-avx - convert to skcipher interfaceEric Biggers1-5/+4
2018-03-03crypto: x86/cast6-avx - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/cast5-avx - convert to skcipher interfaceEric Biggers1-4/+3
2018-03-03crypto: x86/twofish-avx - convert to skcipher interfaceEric Biggers1-4/+2
2018-03-03crypto: x86/twofish-avx - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/twofish-3way - convert to skcipher interfaceEric Biggers1-1/+1
2018-03-03crypto: x86/twofish-3way - remove XTS algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/twofish-3way - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/serpent-avx,avx2 - convert to skcipher interfaceEric Biggers1-9/+2
2018-03-03crypto: x86/serpent-avx - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/serpent-avx2 - remove LRW algorithmEric Biggers1-1/+0
2018-03-03crypto: x86/serpent-sse2 - convert to skcipher interfaceEric Biggers1-6/+4
2018-03-03crypto: x86/serpent-sse2 - remove XTS algorithmEric Biggers1-2/+0
2018-03-03crypto: x86/serpent-sse2 - remove LRW algorithmEric Biggers1-2/+0
2018-03-03crypto: simd - allow registering multiple algorithms at onceEric Biggers1-0/+50
2018-02-22X.509: fix NULL dereference when restricting key with unsupported_sigEric Biggers1-8/+13
2018-02-22X.509: fix BUG_ON() when hash algorithm is unsupportedEric Biggers1-1/+3
2018-02-22PKCS#7: fix direct verification of SignerInfo signatureEric Biggers1-0/+1
2018-02-22PKCS#7: fix certificate blacklistingEric Biggers1-4/+6
2018-02-22PKCS#7: fix certificate chain verificationEric Biggers1-1/+1
2018-02-22crypto: speck - add test vectors for Speck64-XTSEric Biggers2-0/+680
2018-02-22crypto: speck - add test vectors for Speck128-XTSEric Biggers2-0/+696