aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2023-04-06crypto: algif_hash - Allocate hash state with kmallocHerbert Xu1-4/+15
2023-04-06crypto: drbg - Only fail when jent is unavailable in FIPS modeHerbert Xu1-1/+1
2023-04-06crypto: jitter - permanent and intermittent health errorsStephan Müller3-120/+76
2023-03-24async_tx: fix kernel-doc notation warningsRandy Dunlap2-7/+7
2023-03-24crypto: api - Demote BUG_ON() in crypto_unregister_alg() to a WARN_ON()Toke Høiland-Jørgensen1-1/+3
2023-03-21asymmetric_keys: log on fatal failures in PE/pkcs7Robbie Harwood2-17/+17
2023-03-21verify_pefile: relax wrapper length checkRobbie Harwood1-4/+8
2023-03-17crypto: fips - simplify one-level sysctl registration for crypto_sysctl_tableLuis Chamberlain1-10/+1
2023-03-14crypto: testmgr - fix RNG performance in fuzz testsEric Biggers1-97/+169
2023-03-14crypto: api - Check CRYPTO_USER instead of NET for reportHerbert Xu9-72/+36
2023-03-14crypto: rng - Count error stats differentlyHerbert Xu3-77/+48
2023-03-14crypto: skcipher - Count error stats differentlyHerbert Xu3-55/+87
2023-03-14crypto: kpp - Count error stats differentlyHerbert Xu3-58/+34
2023-03-14crypto: acomp - Count error stats differentlyHerbert Xu5-74/+101
2023-03-14crypto: hash - Count error stats differentlyHerbert Xu5-117/+176
2023-03-14crypto: akcipher - Count error stats differentlyHerbert Xu3-76/+34
2023-03-14crypto: aead - Count error stats differentlyHerbert Xu3-60/+73
2023-03-14crypto: algapi - Move stat reporting into algapiHerbert Xu1-0/+6
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+1
2023-02-21Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds29-415/+400
2023-02-14crypto: proc - Print fips statusHerbert Xu1-0/+6
2023-02-14crypto: ecc - Silence sparse warningHerbert Xu1-2/+4
2023-02-13crypto: api - Use data directly in completion functionHerbert Xu19-139/+124
2023-02-13crypto: cryptd - Use request_complete helpersHerbert Xu1-108/+126
2023-02-13crypto: rsa-pkcs1pad - Use akcipher_request_completeHerbert Xu1-19/+15
2023-02-13crypto: engine - Use crypto_request_completeHerbert Xu1-3/+3
2023-02-13crypto: hash - Use crypto_request_completeHerbert Xu1-105/+74
2023-02-13crypto: cryptd - Use subreq for AEADHerbert Xu1-4/+16
2023-02-13KEYS: asymmetric: Fix ECDSA use via keyctl uapiDenis Kenzior1-2/+22
2023-02-13crypto: certs: fix FIPS selftest dependencyArnd Bergmann2-1/+2
2023-02-10crypto: testmgr - add diff-splits of src/dst into default cipher configZhang Yiqun1-0/+8
2023-02-03Revert "crypto: rsa-pkcs1pad - Replace GFP_ATOMIC with GFP_KERNEL in pkcs1pad...Herbert Xu1-1/+1
2023-01-27crypto: engine - Fix excess parameter doc warningHerbert Xu1-1/+1
2023-01-27crypto: xts - Handle EBUSY correctlyHerbert Xu1-4/+4
2023-01-27crypto: cryptd - Remove unnecessary skcipher_request_zeroHerbert Xu1-2/+0
2023-01-27crypto: testmgr - disallow certain DRBG hash functions in FIPS modeVladis Dronov1-4/+0
2023-01-20crypto: seqiv - Handle EBUSY correctlyHerbert Xu1-1/+1
2023-01-20crypto: essiv - Handle EBUSY correctlyHerbert Xu1-1/+6
2023-01-20crypto: tcrypt - include larger key sizes in RFC4106 benchmarkArd Biesheuvel2-5/+5
2023-01-19wifi: cfg80211: Deduplicate certificate loadingLukas Wunner1-0/+1
2023-01-13crypto: skcipher - Use scatterwalk (un)map interface for dst and src buffersArd Biesheuvel1-18/+4
2023-01-06crypto: x86/aria - do not use magic number offsets of aria_ctxTaehee Yoo1-0/+4
2023-01-06crypto: testmgr - allow ecdsa-nist-p256 and -p384 in FIPS modeNicolai Stange1-0/+2
2023-01-06crypto: testmgr - disallow plain ghash in FIPS modeNicolai Stange1-1/+0
2023-01-06crypto: testmgr - disallow plain cbcmac(aes) in FIPS modeNicolai Stange1-1/+0
2022-12-30crypto: wp512 - disable kmsan checks in wp512_process_buffer()Arnd Bergmann1-1/+1
2022-12-30crypto: scatterwalk - use kmap_local() not kmap_atomic()Ard Biesheuvel2-4/+4
2022-12-14Merge tag 'v6.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds35-728/+1481
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-02crypto: api - Increase MAX_ALGAPI_ALIGNMASK to 127Herbert Xu1-2/+7
2022-12-02crypto: Prepare to move crypto_tfm_ctxHerbert Xu17-17/+19
2022-12-02crypto: dh - Use helper to set reqsizeHerbert Xu1-1/+3
2022-12-02crypto: rsa-pkcs1pad - Use helper to set reqsizeHerbert Xu1-1/+4
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-11-25Revert "crypto: shash - avoid comparing pointers to exported functions under ...Eric Biggers1-15/+3
2022-11-25crypto: tcrypt - Fix multibuffer skcipher speed test mem leakZhang Yiqun1-9/+0
2022-11-25crypto: algboss - compile out test-related code when tests disabledEric Biggers1-5/+4
2022-11-25crypto: kdf - silence noisy self-testEric Biggers1-1/+1
2022-11-25crypto: kdf - skip self-test when tests disabledEric Biggers1-2/+6
2022-11-25crypto: api - compile out crypto_boot_test_finished when tests disabledEric Biggers3-6/+29
2022-11-25crypto: algboss - optimize registration of internal algorithmsEric Biggers2-13/+3
2022-11-25crypto: api - optimize algorithm registration when self-tests disabledEric Biggers2-71/+86
2022-11-18crypto: skcipher - Allow sync algorithms with large request contextsHerbert Xu1-1/+1
2022-11-18crypto: cryptd - Use request context instead of stack for sub-requestHerbert Xu1-17/+19
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld2-6/+6
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld2-44/+44
2022-11-11crypto: move gf128mul library into lib/cryptoArd Biesheuvel3-423/+3
2022-11-04crypto: tcrypt - add SM4 cts-cbc/xts/xcbc testTianjia Zhang1-0/+21
2022-11-04crypto: testmgr - add SM4 cts-cbc/xts/xcbc test vectorsTianjia Zhang2-0/+996
2022-11-04crypto: tcrypt - Drop leading newlines from printsAnirudh Venkataramanan1-5/+5
2022-11-04crypto: tcrypt - Drop module name from print stringAnirudh Venkataramanan1-2/+1
2022-11-04crypto: tcrypt - Use pr_info/pr_errAnirudh Venkataramanan1-7/+7
2022-11-04crypto: tcrypt - Use pr_cont to print test resultsAnirudh Venkataramanan1-4/+4
2022-10-28crypto: af_alg - Support symmetric encryption via keyring keysFrederick Lawler1-1/+134
2022-10-21crypto: tcrypt - fix return value for multiple subtestsRobert Elliott1-128/+128
2022-10-21crypto: ccm - use local variables instead of indirect referencesTianjia Zhang1-1/+1
2022-10-11treewide: use get_random_bytes() when possibleJason A. Donenfeld1-1/+1
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-4/+4
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-43/+43
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+2
2022-10-03crypto: kmsan: disable accelerated configs under KMSANAlexander Potapenko1-0/+30
2022-09-24crypto: tcrypt - add async speed test for aria cipherTaehee Yoo1-0/+30
2022-09-24crypto: aria - prepare generic module for optimized implementationsTaehee Yoo2-8/+33
2022-09-24crypto: add __init/__exit annotations to init/exit funcsXiu Jianfeng7-14/+14
2022-09-24crypto: blake2s - revert unintended config addition of CRYPTO_BLAKE2SLukas Bulwahn1-21/+0
2022-09-09crypto: akcipher - default implementation for setting a private keyIgnat Korchagin1-0/+8
2022-09-02crypto: testmgr - fix indentation for test_acomp() argsLucas Segarra Fernandez1-1/+1
2022-08-26crypto: Kconfig - simplify compression/RNG entriesRobert Elliott1-32/+50
2022-08-26crypto: Kconfig - simplify cipher entriesRobert Elliott1-113/+121
2022-08-26crypto: Kconfig - simplify userspace entriesRobert Elliott1-24/+41
2022-08-26crypto: Kconfig - simplify hash entriesRobert Elliott1-79/+97
2022-08-26crypto: Kconfig - simplify aead entriesRobert Elliott1-18/+30
2022-08-26crypto: Kconfig - simplify CRC entriesRobert Elliott1-12/+25
2022-08-26crypto: Kconfig - simplify public-key entriesRobert Elliott1-21/+34
2022-08-26crypto: Kconfig - add submenusRobert Elliott1-458/+479
2022-08-26crypto: Kconfig - submenus for arm and arm64Robert Elliott1-0/+6
2022-08-26crypto: Kconfig - move x86 entries to a submenuRobert Elliott1-495/+3
2022-08-26crypto: Kconfig - move sparc entries to a submenuRobert Elliott1-98/+3
2022-08-26crypto: Kconfig - move s390 entries to a submenuRobert Elliott1-115/+3
2022-08-26crypto: Kconfig - move powerpc entries to a submenuRobert Elliott1-73/+3
2022-08-26crypto: Kconfig - move mips entries to a submenuRobert Elliott1-55/+4
2022-08-26crypto: core - move from strlcpy with unused retval to strscpyWolfram Sang2-2/+2
2022-08-26crypto: tcrypt - remove mode=1000Robert Elliott1-27/+0
2022-08-19crypto: testmgr - don't generate WARN for missing modulesRobert Elliott1-2/+5
2022-08-19crypto: testmgr - extend acomp tests for NULL destination bufferLucas Segarra Fernandez1-0/+29
2022-08-19crypto: api - Fix comment typoJason Wang1-1/+1
2022-08-19crypto: drbg - remove unnecessary (void*) conversionsDong Chuanjian1-7/+5
2022-08-19crypto: lib - move __crypto_xor into utilsEric Biggers1-71/+0
2022-08-19crypto: lib - create utils module and move __crypto_memneq into itEric Biggers1-1/+1
2022-08-10crypto: blake2b: effectively disable frame size warningLinus Torvalds1-0/+1
2022-08-08Merge tag 'pull-work.iov_iter-rebased' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-4/+4
2022-08-08af_alg_make_sg(): switch to advancing variant of iov_iter_get_pages()Al Viro2-4/+4
2022-08-06Merge tag 'tpmdd-next-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-2/+26
2022-08-04Merge tag 'for-5.20/block-2022-08-04' of git://git.kernel.dk/linux-blockLinus Torvalds2-0/+12
2022-08-03KEYS: asymmetric: enforce SM2 signature use pkey algoTianjia Zhang1-2/+5
2022-08-03pkcs7: support EC-RDSA/streebog in SignerInfoElvira Khabirova1-0/+11
2022-08-03pkcs7: parser support SM2 and SM3 algorithms combinationTianjia Zhang1-0/+7
2022-08-03X.509: Support parsing certificate using SM2 algorithmTianjia Zhang1-0/+3
2022-08-02Merge tag 'v5.20-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds13-420/+6145
2022-08-02crypto: add crypto_has_kpp()Hannes Reinecke1-0/+6
2022-08-02crypto: add crypto_has_shash()Hannes Reinecke1-0/+6
2022-07-29crypto: tcrypt - Remove the static variable initialisations to NULLJason Wang1-1/+1
2022-07-22crypto: testmgr - some more fixes to RSA test vectorsIgnat Korchagin1-39/+63
2022-07-22crypto: twofish - Fix comment typoJason Wang1-1/+1
2022-07-22crypto: rmd160 - fix Kconfig "its" grammarRandy Dunlap1-1/+1
2022-07-15crypto: lib - make the sha1 library optionalEric Biggers1-0/+1
2022-07-15crypto: fips - make proc files report fips module name and versionVladis Dronov2-5/+51
2022-07-15crypto: testmgr - add ARIA testmgr testsTaehee Yoo3-1/+2928
2022-07-15crypto: aria - Implement ARIA symmetric cipher algorithmTaehee Yoo3-0/+304
2022-07-08crypto: testmgr - populate RSA CRT parameters in RSA test vectorsIgnat Korchagin1-21/+100
2022-07-06crypto: s390 - do not depend on CRYPTO_HW for SIMD implementationsJason A. Donenfeld1-0/+114
2022-06-30crypto: testmgr - fix version number of RSA testslei he1-3/+3
2022-06-24crypto: rsa - implement Chinese Remainder Theorem for faster private key oper...Ignat Korchagin1-5/+73
2022-06-21Merge tag 'certs-20220621' of git://git.kernel.org/pub/scm/linux/kernel/git/d...Linus Torvalds6-1/+309
2022-06-21certs: Add FIPS selftestsDavid Howells5-1/+251
2022-06-21certs: Move load_certificate_list() to be with the asymmetric keys codeDavid Howells2-0/+58
2022-06-12crypto: memneq - move into lib/Jason A. Donenfeld3-177/+2
2022-06-10crypto: blake2s - remove shash moduleJason A. Donenfeld6-348/+1
2022-06-10crypto: memneq - move into lib/Jason A. Donenfeld3-177/+2
2022-06-10crypto: x86/polyval - Add PCLMULQDQ accelerated implementation of POLYVALNathan Huckleberry2-0/+49
2022-06-10crypto: x86/aesni-xctr - Add accelerated implementation of XCTRNathan Huckleberry1-1/+1
2022-06-10crypto: hctr2 - Add HCTR2 supportNathan Huckleberry6-0/+1278
2022-06-10crypto: polyval - Add POLYVAL supportNathan Huckleberry6-0/+395
2022-06-10crypto: xctr - Add XCTR supportNathan Huckleberry6-0/+901
2022-05-27Merge tag 'v5.19-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds8-36/+525
2022-05-23certs: Factor out the blacklist hash creationMickaël Salaün1-1/+2
2022-05-13crypto: cryptd - Protect per-CPU resource by disabling BH.Sebastian Andrzej Siewior1-12/+11
2022-04-29crypto: ecrdsa - Fix incorrect use of vli_cmpVitaly Chikunov1-4/+4
2022-04-08crypto: testmgr - test in-place en/decryption with two sglistsEric Biggers1-12/+63
2022-04-08crypto: engine - Add parameter description in crypto_transfer_request() kerne...Yang Li1-0/+1
2022-04-08crypto: sm4 - export sm4 constant arraysTianjia Zhang1-1/+9
2022-04-08crypto: sm3,sm4 - move into crypto directoryJason A. Donenfeld4-8/+438
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