aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2022-03-26Merge tag 'for-5.18/64bit-pi-2022-03-25' of git://git.kernel.dk/linux-blockLinus Torvalds5-0/+117
2022-03-22crypto: fix crc64 testmgr digest byte orderKeith Busch1-2/+2
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds23-466/+2396
2022-03-14crypto: dh - Remove the unused function dh_safe_prime_dh_alg()Jiapeng Chong1-6/+0
2022-03-10KEYS: asymmetric: properly validate hash_algo and encodingEric Biggers1-35/+76
2022-03-10KEYS: asymmetric: enforce that sig algo matches key algoEric Biggers3-12/+15
2022-03-08KEYS: remove support for asym_tpm keysEric Biggers5-1097/+0
2022-03-08KEYS: x509: remove dead code that set ->unsupported_sigEric Biggers1-9/+0
2022-03-08KEYS: x509: remove never-set ->unsupported_key flagEric Biggers3-15/+2
2022-03-08KEYS: x509: remove unused fieldsEric Biggers1-2/+0
2022-03-08KEYS: x509: clearly distinguish between key and signature algorithmsEric Biggers2-15/+19
2022-03-07crypto: add rocksoft 64b crc guard tag frameworkKeith Busch5-0/+117
2022-03-03crypto: crypto_xor - use helpers for unaligned accessesArd Biesheuvel1-3/+21
2022-03-03crypto: cleanup commentsTom Rix6-10/+10
2022-03-03crypto: dh - calculate Q from P for the full public key verificationNicolai Stange1-11/+29
2022-03-03crypto: dh - disallow plain "dh" usage in FIPS modeNicolai Stange1-1/+0
2022-03-03crypto: api - allow algs only in specific constructions in FIPS modeNicolai Stange4-10/+54
2022-03-03crypto: dh - allow for passing NULL to the ffdheXYZ(dh)s' ->set_secret()Nicolai Stange1-7/+8
2022-03-03crypto: testmgr - add keygen tests for ffdheXYZ(dh) templatesNicolai Stange1-0/+558
2022-03-03crypto: dh - implement private key generation primitive for ffdheXYZ(dh)Nicolai Stange2-3/+138
2022-03-03crypto: testmgr - add known answer tests for ffdheXYZ(dh) templatesNicolai Stange2-0/+908
2022-03-03crypto: dh - implement ffdheXYZ(dh) templatesNicolai Stange2-1/+303
2022-03-03crypto: dh - introduce common code for built-in safe-prime group supportNicolai Stange1-0/+208
2022-03-03crypto: dh - split out deserialization code from crypto_dh_decode()Nicolai Stange1-8/+19
2022-03-03crypto: dh - remove struct dh's ->q memberNicolai Stange3-29/+10
2022-03-03crypto: kpp - provide support for KPP spawnsNicolai Stange1-0/+9
2022-03-03crypto: kpp - provide support for KPP template instancesNicolai Stange1-0/+20
2022-03-03crypto: engine - check if BH is disabled during completionCorentin Labbe1-0/+1
2022-02-18crypto: lrw - Add dependency on ecbHerbert Xu2-0/+2
2022-02-18crypto: xts - Add softdep on ecbHerbert Xu1-0/+1
2022-02-15crypto: af_alg - get rid of alg_memory_allocatedEric Dumazet1-3/+0
2022-02-11crypto: hmac - disallow keys < 112 bits in FIPS modeStephan Müller2-0/+13
2022-02-11crypto: hmac - add fips_skip supportStephan Müller2-0/+5
2022-02-09Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-1/+1
2022-02-05crypto: tcrypt - remove all multibuffer ahash testsTianjia Zhang1-224/+0
2022-02-05crypto: api - Move cryptomgr soft dependency into algapiHerbert Xu2-1/+1
2022-02-04lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFIJason A. Donenfeld1-2/+2
2022-01-31crypto: memneq - avoid implicit unaligned accessesArd Biesheuvel1-7/+15
2022-01-31crypto: authenc - Fix sleep in atomic context in decrypt_tailHerbert Xu1-1/+1
2022-01-31crypto: rsa-pkcs1pad - use clearer variable namesEric Biggers1-15/+16
2022-01-31crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()Eric Biggers1-0/+2
2022-01-31crypto: rsa-pkcs1pad - restore signature length checkEric Biggers1-1/+1
2022-01-31crypto: rsa-pkcs1pad - correctly get hash from source scatterlistEric Biggers1-1/+1
2022-01-31crypto: rsa-pkcs1pad - only allow with rsaEric Biggers1-0/+5
2022-01-31crypto: kdf - Select hmac in addition to sha256Herbert Xu1-0/+1
2022-01-31crypto: testmgr - Move crypto_simd_disabled_for_test outHerbert Xu2-3/+6
2022-01-28crypto: tcrypt - add asynchronous speed test for SM3Tianjia Zhang1-5/+9
2022-01-28crypto: x86/sm3 - add AVX assembly implementationTianjia Zhang1-0/+13
2022-01-28crypto: sm3 - make dependent on sm3 libraryTianjia Zhang2-127/+16
2022-01-28crypto: sm2 - make dependent on sm3 libraryTianjia Zhang2-20/+20
2022-01-18lib/crypto: add prompts back to crypto librariesJustin M. Forbes1-2/+0
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2022-01-11Merge tag 'tpmdd-next-v5.17-fixed' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds5-35/+96
2022-01-11Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds13-118/+280
2022-01-09keys: X.509 public key issuer lookup without AKIDAndrew Zaborowski5-35/+96
2022-01-07crypto: af_alg - rewrite NULL pointer checkJiasheng Jiang1-2/+5
2022-01-07lib/crypto: blake2s: include as built-inJason A. Donenfeld1-1/+2
2021-12-31crypto: kdf - select SHA-256 required for self-testStephan Müller1-1/+1
2021-12-31crypto: sha256 - remove duplicate generic hash init functionTianjia Zhang1-14/+2
2021-12-31crypto: jitter - add oversampling of noise sourceStephan Müller1-2/+21
2021-12-13exit: Rename module_put_and_exit to module_put_and_kthread_exitEric W. Biederman1-2/+2
2021-12-11crypto: jitter - quit sample collection loop upon RCT failureNicolai Stange1-1/+1
2021-12-11crypto: jitter - don't limit ->health_failure check to FIPS modeNicolai Stange3-11/+0
2021-12-11crypto: drbg - ignore jitterentropy errors if not in FIPS modeNicolai Stange1-2/+5
2021-12-11crypto: dh - remove duplicate includesGuo Zhengkui1-1/+0
2021-11-26crypto: des - disallow des3 in FIPS modeStephan Müller1-9/+0
2021-11-26crypto: dh - limit key size to 2048 in FIPS modeStephan Müller1-0/+4
2021-11-26crypto: rsa - limit key size to 2048 in FIPS modeStephan Müller1-0/+4
2021-11-26crypto: jitter - consider 32 LSB for APTStephan Müller1-2/+1
2021-11-26crypto: kdf - add SP800-108 counter key derivation functionStephan Müller3-0/+162
2021-11-26crypto: drbg - reseed 'nopr' drbgs periodically from get_random_bytes()Nicolai Stange1-1/+25
2021-11-26crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errorsNicolai Stange1-8/+8
2021-11-26crypto: drbg - make reseeding from get_random_bytes() synchronousNicolai Stange1-51/+11
2021-11-26crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()Nicolai Stange1-9/+21
2021-11-26crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()Nicolai Stange1-4/+8
2021-11-26crypto: drbg - prepare for more fine-grained tracking of seeding stateNicolai Stange1-9/+10
2021-11-20crypto: testmgr - Fix wrong test case of RSALei He1-3/+3
2021-11-13Merge tag 'zstd-for-linus-v5.16' of git://github.com/terrelln/linuxLinus Torvalds1-14/+14
2021-11-12Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+2
2021-11-09crypto: api - Fix boot-up crash when crypto manager is disabledHerbert Xu1-0/+2
2021-11-08lib: zstd: Add kernel-specific APINick Terrell1-14/+14
2021-11-08Merge tag 'kbuild-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-0/+2
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-22isystem: delete global -isystem compile optionAlexey Dobriyan1-0/+2
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