aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2024-03-25Merge tag 'v6.9-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds6-2/+98
2024-03-22Merge tag 'riscv-for-linus-6.9-mw2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+3
2024-03-22Revert "crypto: pkcs7 - remove sha1 support"Eric Biggers6-2/+98
2024-03-15Merge tag 'v6.9-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds9-64/+110
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2024-03-13Revert "crypto: remove CONFIG_CRYPTO_STATS"Herbert Xu18-47/+760
2024-03-08crypto: scomp - remove memcpy if sg_nents is 1 and pages are lowmemBarry Song1-7/+29
2024-03-08crypto: tcrypt - add ffdhe2048(dh) testVladis Dronov1-0/+3
2024-03-01crypto: remove CONFIG_CRYPTO_STATSEric Biggers18-760/+47
2024-03-01crypto: dh - Make public key test FIPS-onlyHerbert Xu1-28/+29
2024-02-24crypto: jitter - fix CRYPTO_JITTERENTROPY help textRandy Dunlap1-2/+3
2024-02-24crypto: lskcipher - Copy IV in lskcipher glue code alwaysHerbert Xu1-4/+2
2024-02-22treewide: update LLVM Bugzilla linksNathan Chancellor1-1/+1
2024-02-09crypto: rsa - restrict plaintext/ciphertext values moreJoachim Vandersmissen1-4/+32
2024-02-02crypto: ahash - unexport crypto_hash_alg_has_setkey()Eric Biggers1-11/+10
2024-02-02crypto: algif_hash - Remove bogus SGL free on zero-length error pathHerbert Xu1-2/+3
2024-02-02crypto: cbc - Ensure statesize is zeroHerbert Xu1-0/+3
2024-01-26crypto: testmgr - remove unused xts4096 and xts512 algorithms from testmgr.cJoachim Vandersmissen1-8/+0
2024-01-26crypto: asymmetric_keys - remove redundant pointer secsColin Ian King1-2/+2
2024-01-26crypto: pcbc - remove redundant assignment to nbytesColin Ian King1-2/+2
2024-01-22RISC-V: hook new crypto subdir into build-systemHeiko Stuebner1-0/+3
2023-12-29crypto: scomp - fix req->dst buffer overflowChengming Zhou1-0/+6
2023-12-22crypto: skcipher - Pass statesize for simple lskcipher instancesHerbert Xu1-0/+1
2023-12-15crypto: api - Disallow identical driver namesHerbert Xu1-0/+1
2023-12-15crypto: iaa - Add support for deflate-iaa compression algorithmTom Zanussi1-0/+10
2023-12-08crypto: algif_skcipher - Fix stream cipher chainingHerbert Xu1-3/+69
2023-12-08crypto: arc4 - Add internal stateHerbert Xu1-1/+10
2023-12-08crypto: skcipher - Make use of internal stateHerbert Xu2-8/+106
2023-12-08crypto: skcipher - Add internal state supportHerbert Xu4-13/+19
2023-12-08crypto: cfb,ofb - Remove cfb and ofbHerbert Xu4-385/+0
2023-12-08crypto: testmgr - Remove cfb and ofbHerbert Xu2-1187/+0
2023-12-08crypto: tcrypt - Remove cfb and ofbHerbert Xu1-76/+0
2023-12-08crypto: af_alg - Disallow multiple in-flight AIO requestsHerbert Xu1-1/+13
2023-11-17crypto: drbg - Remove SHA1 from drbgDimitri John Ledkov2-37/+4
2023-11-17crypto: drbg - ensure drbg hmac sha512 is used in FIPS selftestsDimitri John Ledkov1-6/+6
2023-11-17crypto: drbg - update FIPS CTR self-checks to aes256Dimitri John Ledkov1-3/+3
2023-11-17crypto: drbg - ensure most preferred type is FIPS health checkedDimitri John Ledkov1-2/+4
2023-11-17crypto: rsa - add a check for allocation failureDan Carpenter1-0/+2
2023-11-17crypto: shash - don't exclude async statuses from error statsEric Biggers1-5/+1
2023-11-09Merge tag 'v6.7-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-3/+26
2023-11-07crypto: ahash - Set using_shash for cloned ahash wrapper over shashDmitry Safonov1-0/+1
2023-11-07crypto: jitterentropy - Hide esoteric Kconfig options under FIPS and EXPERTHerbert Xu1-3/+25
2023-11-02Merge tag 'v6.7-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds57-1349/+1981
2023-11-02Merge tag 'integrity-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/z...Linus Torvalds1-0/+4
2023-11-01crypto: adiantum - flush destination page before unmappingEric Biggers1-1/+3
2023-11-01crypto: testmgr - move pkcs1pad(rsa,sha3-*) to correct placeEric Biggers1-5/+5
2023-10-31certs: Only allow certs signed by keys on the builtin keyringMimi Zohar1-0/+4
2023-10-27crypto: asymmetric_keys - allow FIPS 202 SHA-3 signaturesDimitri John Ledkov4-1/+49
2023-10-27crypto: rsa-pkcs1pad - Add FIPS 202 SHA-3 supportDimitri John Ledkov2-1/+36
2023-10-27crypto: FIPS 202 SHA-3 register in hash info for IMADimitri John Ledkov1-0/+6
2023-10-27crypto: ahash - optimize performance when wrapping shashEric Biggers3-141/+162
2023-10-27crypto: ahash - check for shash type instead of not ahash typeEric Biggers1-5/+3
2023-10-27crypto: hash - move "ahash wrapping shash" functions to ahash.cEric Biggers3-191/+188
2023-10-27crypto: ahash - improve file commentEric Biggers1-2/+6
2023-10-27crypto: ahash - remove struct ahash_request_privEric Biggers1-8/+0
2023-10-27crypto: gcm - stop using alignmask of ahashEric Biggers1-2/+1
2023-10-27crypto: chacha20poly1305 - stop using alignmask of ahashEric Biggers1-2/+1
2023-10-27crypto: ccm - stop using alignmask of ahashEric Biggers1-2/+1
2023-10-27crypto: testmgr - stop checking crypto_ahash_alignmaskEric Biggers1-6/+3
2023-10-27crypto: authencesn - stop using alignmask of ahashEric Biggers1-14/+6
2023-10-27crypto: authenc - stop using alignmask of ahashEric Biggers1-10/+2
2023-10-27crypto: ahash - remove support for nonzero alignmaskEric Biggers2-113/+12
2023-10-27treewide: Add SPDX identifier to IETF ASN.1 modulesLukas Wunner6-0/+39
2023-10-27crypto: jitter - use permanent health test storageStephan Müller1-51/+74
2023-10-27crypto: hctr2 - stop using alignmask of shash_algEric Biggers1-2/+1
2023-10-27crypto: adiantum - stop using alignmask of shash_algEric Biggers1-2/+1
2023-10-27crypto: testmgr - stop checking crypto_shash_alignmaskEric Biggers1-3/+2
2023-10-27crypto: drbg - stop checking crypto_shash_alignmaskEric Biggers1-1/+1
2023-10-27crypto: shash - remove support for nonzero alignmaskEric Biggers1-120/+8
2023-10-27crypto: xcbc - remove unnecessary alignment logicEric Biggers1-22/+10
2023-10-27crypto: vmac - don't set alignmaskEric Biggers1-1/+0
2023-10-27crypto: hmac - remove unnecessary alignment logicEric Biggers1-34/+22
2023-10-27crypto: cmac - remove unnecessary alignment logicEric Biggers1-28/+11
2023-10-27crypto: cbcmac - remove unnecessary alignment logicEric Biggers1-10/+7
2023-10-27crypto: shash - eliminate indirect call for default import and exportEric Biggers1-8/+33
2023-10-27crypto: rsa - Add module alias for pkcs1padHerbert Xu1-0/+2
2023-10-27certs: Break circular dependency when selftest is modularHerbert Xu5-21/+15
2023-10-20crypto: skcipher - fix weak key check for lskciphersEric Biggers3-11/+7
2023-10-20crypto: lskcipher - Return EINVAL when ecb_name fails sanity checksHerbert Xu1-0/+1
2023-10-20crypto: mscode_parser - remove sha224 authenticode supportDimitri John Ledkov1-3/+0
2023-10-20crypto: pkcs7 - remove sha1 supportDimitri John Ledkov6-98/+2
2023-10-20crypto: adiantum - add fast path for single-page messagesEric Biggers1-18/+47
2023-10-20crypto: shash - fold shash_digest_unaligned() into crypto_shash_digest()Eric Biggers1-9/+2
2023-10-20crypto: shash - optimize the default digest and finupEric Biggers1-2/+20
2023-10-20crypto: xts - use 'spawn' for underlying single-block cipherEric Biggers1-8/+15
2023-10-18KEYS: asymmetric: Fix sign/verify on pkcs1pad without a hashHerbert Xu1-3/+2
2023-10-13crypto: jitter - reuse allocated entropy collectorStephan Müller3-12/+28
2023-10-13crypto: xts - Only access common skcipher fields on spawnHerbert Xu1-5/+5
2023-10-13crypto: lrw - Only access common skcipher fields on spawnHerbert Xu1-7/+5
2023-10-13crypto: hctr2 - Only access common skcipher fields on spawnHerbert Xu1-4/+4
2023-10-13crypto: gcm - Only access common skcipher fields on spawnHerbert Xu1-5/+4
2023-10-13crypto: cts - Only access common skcipher fields on spawnHerbert Xu1-6/+6
2023-10-13crypto: ctr - Only access common skcipher fields on spawnHerbert Xu1-8/+6
2023-10-13crypto: chacha20poly1305 - Only access common skcipher fields on spawnHerbert Xu1-4/+4
2023-10-13crypto: ccm - Only access common skcipher fields on spawnHerbert Xu1-5/+4
2023-10-13crypto: authencesn - Only access common skcipher fields on spawnHerbert Xu1-4/+4
2023-10-13crypto: authenc - Only access common skcipher fields on spawnHerbert Xu1-4/+4
2023-10-13crypto: adiantum - Only access common skcipher fields on spawnHerbert Xu1-5/+5
2023-10-13crypto: cryptd - Only access common skcipher fields on spawnHerbert Xu1-6/+6
2023-10-13crypto: essiv - Handle lskcipher spawnsHerbert Xu1-10/+10
2023-10-13crypto: arc4 - Convert from skcipher to lskcipherHerbert Xu2-38/+24
2023-10-13crypto: skcipher - Add dependency on ecbHerbert Xu1-1/+2
2023-10-12crypto: testmgr - Remove zlib-deflateHerbert Xu2-85/+0
2023-10-12crypto: deflate - Remove zlib-deflateHerbert Xu1-44/+17
2023-10-05crypto: pkcs7 - remove md4 md5 x.509 supportDimitri John Ledkov3-18/+0
2023-10-05X.509: Add missing IMPLICIT annotations to AKID ASN.1 moduleLukas Wunner1-7/+17
2023-10-01crypto: engine - Make crypto_engine_exit() return voidUwe Kleine-König1-6/+2
2023-10-01crypto: jitter - Allow configuration of oversampling rateStephan Müller2-2/+21
2023-10-01crypto: jitter - Allow configuration of memory sizeStephan Müller4-7/+65
2023-10-01crypto: jitter - add RCT/APT support for different OSRsStephan Müller3-117/+123
2023-09-20crypto: cbc - Convert from skcipher to lskcipherHerbert Xu1-102/+61
2023-09-20crypto: ecb - Convert from skcipher to lskcipherHerbert Xu1-34/+156
2023-09-20crypto: testmgr - Add support for lskcipher algorithmsHerbert Xu1-0/+19
2023-09-20crypto: lskcipher - Add compatibility wrapper around ECBHerbert Xu1-5/+52
2023-09-20crypto: skcipher - Add lskcipherHerbert Xu5-19/+688
2023-09-20crypto: hash - Hide CRYPTO_ALG_TYPE_AHASH_MASKHerbert Xu1-0/+2
2023-09-20crypto: aead - Add crypto_has_aeadHerbert Xu1-0/+6
2023-09-20crypto: api - Remove unnecessary NULL initialisationLi zeming1-1/+1
2023-09-20crypto: sm2 - Fix crash caused by uninitialized contextTianjia Zhang1-1/+5
2023-09-15crypto: pcrypt - Fix hungtask for PADATA_RESETLu Jialin1-0/+4
2023-08-29Merge tag 'v6.6-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds10-68/+238
2023-08-29Merge tag 'tpmdd-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkk...Linus Torvalds1-0/+44
2023-08-25X.509: if signature is unsupported skip validationThore Sommer1-0/+5
2023-08-18crypto: fix uninit-value in af_alg_free_resourcesPavel Skripkin1-2/+2
2023-08-18crypto: engine - Remove crypto_engine_ctxHerbert Xu1-9/+3
2023-08-18crypto: engine - Move crypto_engine_ops from request into crypto_algHerbert Xu1-12/+203
2023-08-18crypto: engine - Create internal/engine.hHerbert Xu1-1/+1
2023-08-18crypto: engine - Move crypto inclusions out of header fileHerbert Xu1-1/+6
2023-08-18crypto: engine - Remove prepare/unprepare requestHerbert Xu1-41/+1
2023-08-17KEYS: DigitalSignature link restrictionEric Snowberg1-0/+44
2023-08-11crypto: jitter - Add clarifying comments to Jitter Entropy RCT cutoff valuesJoachim Vandersmissen1-3/+7
2023-08-11crypto: api - Use work queue in crypto_destroy_instanceHerbert Xu1-2/+14
2023-08-11crypto: af_alg - Decrement struct key.usage in alg_set_by_key_serial()Frederick Lawler1-0/+3
2023-08-04crypto: af_alg - Fix missing initialisation affecting gcm-aes-s390David Howells1-0/+1
2023-07-28KEYS: use kfree_sensitive with keyMahmoud Adam1-4/+4
2023-07-20crypto: sig - Remove some unused functionsJiapeng Chong1-5/+0
2023-07-14crypto: lrw,xts - Replace strlcpy with strscpyAzeem Shaikh2-6/+6
2023-07-14KEYS: fix kernel-doc warnings in verify_pefileGaosheng Cui1-1/+1
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