aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2021-11-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds17-322/+205
2021-10-29crypto: testmgr - fix wrong key length for pkcs1padLei He1-1/+1
2021-10-29crypto: pcrypt - Delay write to padata->infoDaniel Jordan1-4/+8
2021-10-29crypto: ecc - Export additional helper functionsDaniele Alessandrelli1-4/+8
2021-10-29crypto: ecc - Move ecc.h to include/crypto/internalDaniele Alessandrelli6-250/+5
2021-10-29crypto: engine - Add KPP Support to Crypto EnginePrabhjot Khurana1-0/+26
2021-10-29crypto: api - Do not create test larvals if manager is disabledHerbert Xu2-25/+38
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-1/+1
2021-10-22crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocksHoria Geantă1-3/+2
2021-10-08crypto: testmgr - Only disable migration in crypto_disable_simd_for_test()Sebastian Andrzej Siewior1-2/+2
2021-10-01crypto: api - Export crypto_boot_test_finishedHerbert Xu1-0/+1
2021-10-01crypto: ecc - fix CRYPTO_DEFAULT_RNG dependencyArnd Bergmann1-1/+1
2021-09-24crypto: api - Fix built-in testing dependency failuresHerbert Xu3-27/+108
2021-09-17crypto: drbg - Fix unused value warning in drbg_healthcheck_sanity()Tim Gardner1-1/+1
2021-09-17crypto: jitter - drop kernel-doc notationRandy Dunlap1-12/+12
2021-08-30Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds10-183/+331
2021-08-27crypto: sha512 - remove imaginary and mystifying clearing of variablesLukas Bulwahn1-3/+0
2021-08-27crypto: x86/sm4 - add AES-NI/AVX2/x86_64 implementationTianjia Zhang1-0/+22
2021-08-27crypto: rmd320 - remove rmd320 in MakefileLukas Bulwahn1-1/+0
2021-08-23certs: Add support for using elliptic curve keys for signing modulesStefan Berger1-0/+8
2021-08-21crypto: skcipher - in_irq() cleanupChangbin Du1-1/+1
2021-08-21crypto: tcrypt - add GCM/CCM mode test for SM4 algorithmTianjia Zhang1-0/+45
2021-08-21crypto: testmgr - Add GCM/CCM mode test of SM4 algorithmTianjia Zhang2-0/+177
2021-08-21crypto: tcrypt - Fix missing return value checkTianjia Zhang1-10/+19
2021-08-12crypto: wp512 - correct a non-kernel-doc commentRandy Dunlap1-1/+1
2021-07-30crypto: ecc - handle unaligned input buffer in ecc_swap_digitsMian Yousaf Kaukab1-2/+3
2021-07-30crypto: tcrypt - add the asynchronous speed test for SM4Tianjia Zhang1-1/+25
2021-07-30crypto: x86/sm4 - add AES-NI/AVX/x86_64 implementationTianjia Zhang1-0/+21
2021-07-30crypto: arm64/sm4-ce - Make dependent on sm4 library instead of sm4-genericTianjia Zhang1-15/+12
2021-07-30crypto: sm4 - create SM4 library based on sm4 generic codeTianjia Zhang2-149/+5
2021-07-16crypto: drbg - select SHA512Stephan Mueller1-1/+1
2021-07-09Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-1/+53
2021-06-28Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds13-101/+224
2021-06-28crypto: drbg - self test for HMAC(SHA-512)Stephan Müller2-1/+53
2021-06-24crypto: api - Move crypto attr definitions out of crypto.hHerbert Xu1-0/+12
2021-06-17crypto: api - remove CRYPTOA_U32 and related functionsLiu Shixin2-43/+6
2021-06-17crypto: shash - avoid comparing pointers to exported functions under CFIArd Biesheuvel1-3/+15
2021-06-11crypto: sm2 - fix a memory leak in sm2Hongbo Li1-14/+10
2021-06-10async_xor: check src_offs is not NULL before updating itXiao Ni1-1/+2
2021-06-03crypto: af_alg - use DIV_ROUND_UP helper macro for calculationsWu Bo1-1/+1
2021-05-28crypto: ecdh - add test suite for NIST P384Hui Tang2-0/+68
2021-05-28crypto: ecdh - register NIST P384 tfmHui Tang1-0/+33
2021-05-28crypto: ecdh - fix 'ecdh_init'Hui Tang1-1/+10
2021-05-28crypto: ecdh - fix ecdh-nist-p192's entry in testmgrHui Tang3-5/+1
2021-05-28crypto: DRBG - switch to HMAC SHA512 DRBG as default DRBGStephan Müller1-6/+6
2021-05-28crypto: tcrypt - enable tests for xxhash and blake2Ard Biesheuvel1-0/+36
2021-05-28crypto: khazad,wp512 - remove leading spaces before tabsHui Tang2-22/+20
2021-05-21crypto: ecdh - extend 'cra_driver_name' with curve nameHui Tang1-2/+2
2021-05-21crypto: testmgr - fix initialization of 'secret_size'Hui Tang1-4/+4
2021-04-28Merge tag 'for-5.13/drivers-2021-04-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2021-04-26async_xor: increase src_offs when dropping destination pageXiao Ni1-0/+1
2021-04-26Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds25-297/+1356
2021-04-22crypto: camellia - drop duplicate "depends on CRYPTO"Randy Dunlap1-5/+0
2021-04-22crypto: doc - fix kernel-doc notation in chacha.c and af_alg.cRandy Dunlap1-41/+53
2021-04-16crypto: crc32-generic - Use SPDX-License-IdentifierChristophe JAILLET1-23/+1
2021-04-16crypto: ecc - delete a useless function declarationMeng Yu1-8/+0
2021-04-02crypto: fcrypt - Remove 'do while(0)' loop for single statement macroMilan Djurovic1-4/+1
2021-04-02crypto: keywrap - Remove else after break statementMilan Djurovic1-2/+2
2021-04-02crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATSEric Biggers1-7/+3
2021-03-26crypto: ecc - Correct an error in the commentsMeng Yu1-1/+1
2021-03-26crypto: jitterentropy - Put constants on the right side of the expressionMilan Djurovic1-4/+4
2021-03-26Merge branch 'ecc'Herbert Xu12-89/+1144
2021-03-26x509: Add OID for NIST P384 and extend parser for itSaulo Alessandre1-0/+3
2021-03-26x509: Add support for parsing x509 certs with ECDSA keysStefan Berger3-3/+39
2021-03-26x509: Detect sm2 keys by their parameters OIDStefan Berger1-1/+11
2021-03-26crypto: ecdsa - Register NIST P384 and extend test suiteSaulo Alessandre3-1/+195
2021-03-26crypto: ecc - Add math to support fast NIST P384Saulo Alessandre2-75/+194
2021-03-26crypto: ecc - Add NIST P384 curve parametersSaulo Alessandre2-0/+34
2021-03-26crypto: ecdsa - Add support for ECDSA signature verificationStefan Berger8-11/+671
2021-03-19crypto: aegis128 - Move simd prototypes into aegis.hHerbert Xu3-20/+24
2021-03-13crypto: ecc - add curve25519 params and expose themMeng Yu2-0/+23
2021-03-13crypto: ecc - expose ecc curvesMeng Yu2-36/+6
2021-03-13crypto: ecdh - move curve_id of ECDH from the key to algorithm nameMeng Yu4-46/+77
2021-03-13crypto: api - check for ERR pointers in crypto_destroy_tfm()Ard Biesheuvel1-1/+1
2021-03-08crypto: mips/poly1305 - enable for all MIPS processorsMaciej W. Rozycki1-1/+1
2021-03-07crypto: testmgr - delete some redundant codeKai Ye1-8/+3
2021-03-07crypto: serpent - Fix sparse byte order warningsHerbert Xu1-14/+25
2021-02-23Merge tag 'keys-misc-20210126' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-11/+11
2021-02-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds41-4374/+248
2021-02-16keys: Update comment for restrict_link_by_key_or_keyring_chainAndrew Zaborowski1-3/+4
2021-02-10crypto: xor - Fix typo of optimizationBhaskar Chowdhury1-1/+1
2021-02-10crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()Daniele Alessandrelli1-0/+3
2021-02-10crypto: twofish - use unaligned accessors instead of alignmaskArd Biesheuvel1-8/+3
2021-02-10crypto: fcrypt - drop unneeded alignmaskArd Biesheuvel1-1/+0
2021-02-10crypto: cast6 - use unaligned accessors instead of alignmaskArd Biesheuvel1-22/+17
2021-02-10crypto: cast5 - use unaligned accessors instead of alignmaskArd Biesheuvel1-14/+9
2021-02-10crypto: camellia - use unaligned accessors instead of alignmaskArd Biesheuvel1-29/+16
2021-02-10crypto: blowfish - use unaligned accessors instead of alignmaskArd Biesheuvel1-14/+9
2021-02-10crypto: serpent - use unaligned accessors instead of alignmaskArd Biesheuvel1-27/+17
2021-02-10crypto: serpent - get rid of obsolete tnepres variantArd Biesheuvel5-169/+7
2021-02-10crypto: michael_mic - fix broken misalignment handlingArd Biesheuvel1-19/+12
2021-01-29crypto: salsa20 - remove Salsa20 stream cipher algorithmArd Biesheuvel6-1403/+1
2021-01-29crypto: tgr192 - remove Tiger 128/160/192 hash algorithmsArd Biesheuvel6-876/+0
2021-01-29crypto: rmd320 - remove RIPE-MD 320 hash algorithmArd Biesheuvel6-494/+1
2021-01-29crypto: rmd256 - remove RIPE-MD 256 hash algorithmArd Biesheuvel7-441/+1
2021-01-29crypto: rmd128 - remove RIPE-MD 128 hash algorithmArd Biesheuvel7-506/+1
2021-01-21crypto: pkcs7: Use match_string() helper to simplify the codeYueHaibing1-5/+4
2021-01-21PKCS#7: drop function from kernel-doc pkcs7_validate_trust_oneAlex Shi1-1/+1
2021-01-21crypto: asymmetric_keys: fix some comments in pkcs7_parser.hRandy Dunlap1-3/+2
2021-01-21KEYS: asymmetric: Fix kerneldocKrzysztof Kozlowski1-2/+4
2021-01-20X.509: Fix crash caused by NULL pointerTianjia Zhang1-1/+2
2021-01-18Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+2
2021-01-14crypto: x86 - remove glue helper moduleArd Biesheuvel2-11/+0
2021-01-14crypto: x86/twofish - drop dependency on glue helperArd Biesheuvel1-2/+0
2021-01-14crypto: x86/cast6 - drop dependency on glue helperArd Biesheuvel1-1/+0
2021-01-14crypto: x86/serpent - drop dependency on glue helperArd Biesheuvel1-3/+0
2021-01-14crypto: x86/camellia - drop dependency on glue helperArd Biesheuvel1-2/+0
2021-01-14crypto: x86/blowfish - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/des - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/twofish - drop CTR mode implementationArd Biesheuvel1-0/+2
2021-01-14crypto: x86/cast6 - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/cast5 - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/serpent - drop CTR mode implementationArd Biesheuvel1-0/+3
2021-01-14crypto: x86/camellia - drop CTR mode implementationArd Biesheuvel1-0/+1
2021-01-14crypto: x86/twofish - switch to XTS templateArd Biesheuvel1-0/+1
2021-01-14crypto: x86/serpent- switch to XTS templateArd Biesheuvel1-1/+1
2021-01-14crypto: x86/cast6 - switch to XTS templateArd Biesheuvel1-1/+1
2021-01-14crypto: x86/camellia - switch to XTS templateArd Biesheuvel1-1/+1
2021-01-10Merge tag 'char-misc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2021-01-08crypto: x86/aes-ni-xts - rewrite and drop indirections via glue helperArd Biesheuvel1-1/+0
2021-01-08crypto: xor - Fix divide error in do_xor_speed()Kirill Tkhai1-0/+2
2021-01-03crypto: blake2b - update file commentEric Biggers1-13/+10
2021-01-03crypto: blake2b - sync with blake2s implementationEric Biggers1-178/+48
2021-01-03crypto: blake2s - share the "shash" API boilerplate codeEric Biggers1-67/+9
2021-01-03crypto: blake2s - remove unneeded includesEric Biggers1-2/+0
2021-01-03crypto: blake2s - define shash_alg structs using macrosEric Biggers1-61/+27
2021-01-03crypto: remove cipher routines from public crypto APIArd Biesheuvel19-3/+39
2021-01-03crypto: tcrypt - avoid signed overflow in byte countArd Biesheuvel1-10/+10
2021-01-03crypto: ecdh - avoid buffer overflow in ecdh_set_secret()Ard Biesheuvel1-1/+2
2020-12-31crypto: asym_tpm: correct zero out potential secretsGreg Kroah-Hartman1-1/+1
2020-12-04crypto: aegis128 - avoid spurious references crypto_aegis128_update_simdArd Biesheuvel1-2/+2
2020-12-04crypto: seed - remove trailing semicolon in macro definitionTom Rix1-1/+1
2020-12-04crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()Ard Biesheuvel1-4/+5
2020-11-27crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarksArd Biesheuvel1-37/+44
2020-11-27crypto: tcrypt - permit tcrypt.ko to be builtinArd Biesheuvel1-1/+1
2020-11-27crypto: tcrypt - don't initialize at subsys_initcall timeArd Biesheuvel1-1/+1
2020-11-27crypto: aegis128 - expose SIMD code path as separate driverArd Biesheuvel1-77/+143
2020-11-27crypto: aegis128/neon - move final tag check to SIMD domainArd Biesheuvel3-18/+57
2020-11-27crypto: aegis128/neon - optimize tail block handlingArd Biesheuvel1-14/+75
2020-11-27crypto: aegis128 - wipe plaintext and tag if decryption failsArd Biesheuvel1-6/+26
2020-11-20crypto: sha - split sha.h into sha1.h and sha2.hEric Biggers4-4/+4
2020-11-13crypto: Kconfig - CRYPTO_MANAGER_EXTRA_TESTS requires the managerJason A. Donenfeld1-1/+1
2020-11-06crypto: af_alg - avoid undefined behavior accessing salg_nameEric Biggers1-3/+7
2020-11-06crypto: testmgr - WARN on test failureEric Biggers1-7/+13
2020-11-06crypto: testmgr - always print the actual skcipher driver nameEric Biggers1-20/+16
2020-11-06crypto: testmgr - always print the actual AEAD driver nameEric Biggers1-24/+18
2020-11-06crypto: testmgr - always print the actual hash driver nameEric Biggers1-23/+20
2020-10-30crypto: sm2 - remove unnecessary reset operationsTianjia Zhang1-46/+29
2020-10-13Merge tag 'drivers-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds4-92/+287
2020-10-13Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds28-153/+1122
2020-10-08X.509: Fix modular build of public_key_sm2Herbert Xu3-64/+57
2020-10-08crypto: xor - Remove unused variable count in do_xor_speedNathan Chancellor1-3/+1
2020-10-08X.509: fix error return value on the failed pathTianjia Zhang1-1/+3
2020-10-02crypto: xor - use ktime for template benchmarkingArd Biesheuvel1-22/+16
2020-10-02crypto: xor - defer load time benchmark to a later timeArd Biesheuvel1-1/+28
2020-09-25X.509: support OSCCA SM2-with-SM3 certificate verificationTianjia Zhang4-0/+71
2020-09-25X.509: support OSCCA certificate parseTianjia Zhang1-5/+22
2020-09-25crypto: sm2 - add SM2 test vectors to testmgrTianjia Zhang2-0/+65
2020-09-25crypto: testmgr - Fix potential memory leak in test_akcipher_one()Tianjia Zhang1-4/+7
2020-09-25crypto: testmgr - support test with different ciphertext per encryptionTianjia Zhang1-1/+6
2020-09-25crypto: sm2 - introduce OSCCA SM2 asymmetric cipher algorithmTianjia Zhang4-0/+510
2020-09-25crypto: sm3 - export crypto_sm3_final functionTianjia Zhang1-3/+4
2020-09-25crypto: af_alg - add extra parameters for DRBG interfaceElena Petrova3-12/+186
2020-09-25crypto: proc - Removing some useless only space linesCorentin Labbe1-2/+2
2020-09-24md/raid6: let async recovery function support different page offsetYufen Yu2-45/+122
2020-09-24md/raid6: let syndrome computor support different page offsetYufen Yu2-32/+64
2020-09-24md/raid5: add new xor function to support different page offsetYufen Yu1-17/+103
2020-09-18crypto: Kconfig - mark unused ciphers as obsoleteArd Biesheuvel1-0/+4
2020-09-11crypto: cbc - Remove cbc.hHerbert Xu1-11/+133
2020-09-11crypto: arc4 - mark ecb(arc4) skcipher as obsoleteArd Biesheuvel2-0/+21
2020-08-30Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-3/+10
2020-08-28crypto: ahash - Add init_tfm/exit_tfmHerbert Xu1-1/+12
2020-08-27crypto: af_alg - Work around empty control messages without MSG_MOREHerbert Xu1-3/+10
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-58/+58
2020-08-21crypto: hash - Remove unused async iteratorsIra Weiny1-37/+4
2020-08-21crypto: tcrypt - Add support for hash speed testing with keysHerbert Xu2-34/+9
2020-08-21crypto: algif_aead - Do not set MAY_BACKLOG on the async pathHerbert Xu1-3/+4
2020-08-21crypto: algif_skcipher - EBUSY on aio should be an errorHerbert Xu1-1/+1
2020-08-21crypto: tcrypt - delete duplicated words in messagesRandy Dunlap1-2/+2
2020-08-21crypto: engine - delete duplicated wordRandy Dunlap1-1/+1
2020-08-21crypto: crct10dif_generic - fix duplicated wordsRandy Dunlap1-1/+1
2020-08-21crypto: crc32c_generic - delete and fix duplicated wordsRandy Dunlap1-2/+2
2020-08-21crypto: algif_aead - delete duplicated wordRandy Dunlap1-1/+1
2020-08-20crypto: algapi - Remove skbuff.h inclusionHerbert Xu5-1/+5
2020-08-19crypto: algapi - Move crypto_yield into internal.hHerbert Xu1-6/+10
2020-08-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-12/+1
2020-08-13crypto: algif_aead - fix uninitialized ctx->initOndrej Mosnacek2-12/+1
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long18-32/+32
2020-08-06Merge tag 'sched-fifo-2020-08-04' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+1
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds5-19/+3
2020-08-04Merge tag 'docs-5.9' of git://git.lwn.net/linuxLinus Torvalds3-3/+3
2020-08-03Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds40-444/+456
2020-07-31crypto: xts - Replace memcpy() invocation with simple assignmentArd Biesheuvel1-1/+1
2020-07-31crypto: ecc - SP800-56A rev 3 local public key validationStephan Müller2-1/+44
2020-07-31crypto: dh - SP800-56A rev 3 local public key validationStephan Müller1-25/+34
2020-07-31crypto: dh - check validity of Z before exportStephan Müller1-0/+29
2020-07-31crypto: ecdh - check validity of Z before exportStephan Müller1-3/+8
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-4/+3
2020-07-23crypto: testmgr - delete duplicated wordsRandy Dunlap1-5/+5