aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2023-07-08crypto: algif_hash - Fix race between MORE and non-MORE sendsDavid Howells1-1/+3
2023-07-07KEYS: asymmetric: Fix error codesDan Carpenter1-5/+15
2023-07-05crypto: af_alg - Fix merging of written data into spliced pagesDavid Howells1-3/+4
2023-06-30Merge tag 'v6.5-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds22-411/+1249
2023-06-27crypto: akcipher - Do not copy dst if it is NULLHerbert Xu1-1/+2
2023-06-27crypto: sig - Fix verify callHerbert Xu3-7/+11
2023-06-27crypto: akcipher - Set request tfm on sync pathHerbert Xu1-0/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells4-62/+4
2023-06-23KEYS: asymmetric: Use new crypto interface without scatterlistsHerbert Xu1-97/+137
2023-06-23KEYS: asymmetric: Move sm2 code into x509_public_keyHerbert Xu3-111/+91
2023-06-23crypto: sig - Add interface for sign/verifyHerbert Xu5-17/+226
2023-06-23crypto: akcipher - Add sync interface without SG listsHerbert Xu1-0/+95
2023-06-23crypto: cipher - On clone do crypto_mod_get()Dmitry Safonov1-1/+6
2023-06-23crypto: api - Add __crypto_alloc_tfmgfpHerbert Xu3-5/+14
2023-06-23crypto: api - Remove crypto_init_ops()Dmitry Safonov1-14/+0
2023-06-23crypto: rsa - allow only odd e and restrict value in FIPS modeMahmoud Adam1-0/+36
2023-06-23crypto: geniv - Split geniv out of AEAD Kconfig optionHerbert Xu2-12/+9
2023-06-23crypto: algboss - Add missing dependency on RNG2Herbert Xu1-3/+4
2023-06-20crypto: af_alg/hash: Fix recvmsg() after sendmsg(MSG_MORE)David Howells1-13/+25
2023-06-18crypto: Fix af_alg_sendmsg(MSG_SPLICE_PAGES) sglist limitDavid Howells1-1/+1
2023-06-16crypto: hmac - Add missing blank lineFranziska Naepelt1-0/+1
2023-06-12algif: Remove hash_sendpage*()David Howells1-66/+0
2023-06-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-17/+21
2023-06-08crypto: af_alg/hash: Support MSG_SPLICE_PAGESDavid Howells2-41/+70
2023-06-08crypto: af_alg: Convert af_alg_sendpage() to use MSG_SPLICE_PAGESDavid Howells1-44/+8
2023-06-08crypto: af_alg: Support MSG_SPLICE_PAGESDavid Howells3-17/+37
2023-06-08crypto: af_alg: Indent the loop in af_alg_sendmsg()David Howells1-24/+27
2023-06-08crypto: af_alg: Use extract_iter_to_sg() to create scatterlistsDavid Howells4-55/+38
2023-06-08crypto: af_alg: Pin pages rather than ref'ing if appropriateDavid Howells1-3/+7
2023-06-02KEYS: asymmetric: Copy sig and digest in public_key_verify_signature()Roberto Sassu1-17/+21
2023-06-02crypto: jitter - correct health test during initializationStephan Müller1-6/+3
2023-05-24crypto: Kconfig - warn about performance overhead of CRYPTO_STATSEric Biggers1-0/+3
2023-05-24crypto: shash - Allow cloning on algorithms with no init_tfmHerbert Xu1-5/+7
2023-05-24crypto: cmac - Add support for cloningHerbert Xu1-1/+17
2023-05-24crypto: cipher - Add crypto_clone_cipherHerbert Xu1-0/+23
2023-05-24crypto: cmac - Use modern init_tfm/exit_tfmHerbert Xu1-9/+9
2023-05-24crypto: aegis128-neon - add header for internal prototypesArnd Bergmann3-11/+19
2023-05-12crypto: jitter - add interface for gathering of raw entropyStephan Müller5-1/+333
2023-05-12crypto: jitter - replace LFSR with SHA3-256Stephan Müller4-120/+219
2023-05-12crypto: hash - Make crypto_ahash_alg helper availableHerbert Xu1-6/+0
2023-05-12crypto: hash - Add statesize to crypto_ahashHerbert Xu1-0/+3
2023-05-07Merge tag 'v6.4-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds11-12/+15
2023-05-04Merge tag 'loongarch-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds1-0/+3
2023-05-02crypto: api - Fix CRYPTO_USER checks for report functionOndrej Mosnacek9-9/+9
2023-05-01LoongArch: crypto: Add crc32 and crc32c hw accelerationMin Zhou1-0/+3
2023-04-28crypto: engine - fix crypto_queue backlog handlingOlivier Bacon2-3/+6
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2023-04-26Merge tag 'v6.4-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds28-851/+1137
2023-04-24integrity: machine keyring CA configurationEric Snowberg1-0/+2
2023-04-24KEYS: CA link restrictionEric Snowberg1-0/+38
2023-04-24KEYS: X.509: Parse Key UsageEric Snowberg1-0/+28
2023-04-24KEYS: X.509: Parse Basic Constraints for CAEric Snowberg1-0/+22
2023-04-20crypto: testmgr - Add some test vectors for cmac(camellia)David Howells2-0/+53
2023-04-20crypto: cryptd - Add support for cloning hashesHerbert Xu1-0/+16
2023-04-20crypto: cryptd - Convert hash to use modern init_tfm/exit_tfmHerbert Xu1-9/+9
2023-04-20crypto: hmac - Add support for cloningHerbert Xu1-0/+15
2023-04-20crypto: hash - Add crypto_clone_ahash/shashHerbert Xu3-0/+107
2023-04-20crypto: api - Add crypto_clone_tfmHerbert Xu2-9/+52
2023-04-20crypto: api - Add crypto_tfm_getHerbert Xu2-0/+10
2023-04-14crypto: api - Move low-level functions into algapi.hHerbert Xu2-4/+9
2023-04-13KEYS: remove MODULE_LICENSE in non-modulesNick Alcock1-1/+0
2023-04-06crypto: hash - Remove maximum statesize limitHerbert Xu1-2/+1
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