aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/internal
AgeCommit message (Expand)AuthorFilesLines
2025-12-03Merge tag 'v6.19-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-1/+101
2025-11-22Revert "crypto: scatterwalk - Move skcipher walk and use it for memcpy_sglist"Eric Biggers1-1/+47
2025-10-29crypto: blake2b - Reimplement using library APIEric Biggers1-116/+0
2025-10-29lib/crypto: blake2b: Add BLAKE2b library functionsEric Biggers1-1/+16
2025-10-17crypto: drbg - Export CTR DRBG DF functionsHarsh Jain1-0/+54
2025-10-04Merge tag 'v6.18-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-10/+1
2025-09-20crypto: comp - Use same definition of context alloc and free opsDan Moulding1-10/+1
2025-08-29lib/crypto: blake2s: Consolidate into single C translation unitEric Biggers1-19/+0
2025-08-29lib/crypto: blake2s: Remove obsolete self-testEric Biggers1-2/+0
2025-08-29lib/crypto: poly1305: Consolidate into single moduleEric Biggers1-9/+7
2025-07-31Merge tag 'v6.17-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds3-19/+37
2025-07-18crypto: engine - remove {prepare,unprepare}_crypt_hardware callbacksOvidiu Panait1-11/+0
2025-07-18crypto: engine - remove request batching supportOvidiu Panait1-4/+0
2025-07-18crypto: acomp - Fix CFI failure due to type punningEric Biggers1-4/+1
2025-07-04lib/crypto: sha256: Consolidate into single moduleEric Biggers1-52/+0
2025-07-04lib/crypto: sha256: Remove sha256_is_arch_optimized()Eric Biggers1-8/+0
2025-07-04lib/crypto: sha256: Propagate sha256_block_state type to implementationsEric Biggers1-4/+4
2025-07-04lib/crypto: sha256: Remove sha256_blocks_simd()Eric Biggers1-6/+0
2025-06-27Merge tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2025-06-26crypto: ahash - Add crypto_ahash_tested() helper functionHarald Freudenberger1-0/+7
2025-06-26crypto: ahash - make hash walk functions from ahash.c publicHarald Freudenberger1-0/+23
2025-06-23crypto: ahash - Stop legacy tfms from using the set_virt fallback pathHerbert Xu1-0/+6
2025-06-20lib/crypto: sha256: Mark sha256_choose_blocks as __always_inlineArnd Bergmann1-1/+1
2025-06-13crypto: testmgr - reinstate kconfig control over full self-testsEric Biggers1-2/+4
2025-05-23Revert "crypto: testmgr - Add hash export format testing"Herbert Xu1-6/+0
2025-05-19crypto: testmgr - Add hash export format testingHerbert Xu1-0/+6
2025-05-19crypto: hmac - Add ahash supportHerbert Xu1-0/+9
2025-05-19crypto: hash - Add export_core and import_core hooksHerbert Xu1-0/+3
2025-05-19crypto: hash - Move core export and import into internel/hash.hHerbert Xu1-0/+48
2025-05-12crypto: testmgr - make it easier to enable the full set of testsEric Biggers1-4/+2
2025-05-12crypto: geniv - use memcpy_sglist() instead of null skcipherEric Biggers1-1/+0
2025-05-05crypto: ahash - Add HASH_REQUEST_ZEROHerbert Xu1-0/+4
2025-05-05crypto: lib/sha256 - Use generic block helperHerbert Xu1-7/+0
2025-05-05crypto: lib/sha256 - Add helpers for block-based shashHerbert Xu1-0/+45
2025-05-05crypto: api - Rename CRYPTO_ALG_REQ_CHAIN to CRYPTO_ALG_REQ_VIRTHerbert Xu2-4/+4
2025-05-05crypto: sha256 - support arch-optimized lib and expose through shashEric Biggers1-0/+28
2025-05-05crypto: lib/poly1305 - Add block-only interfaceHerbert Xu1-2/+26
2025-05-05crypto: lib/sha256 - Move partial block handling outHerbert Xu1-0/+52
2025-04-28crypto: scatterwalk - Move skcipher walk and use it for memcpy_sglistHerbert Xu1-47/+1
2025-04-28crypto: api - Add crypto_stack_request_init and initialise flags fullyHerbert Xu2-4/+4
2025-04-28crypto: api - Add crypto_request_clone and fbHerbert Xu2-2/+12
2025-04-23crypto: arm/blake2b - Use API partial block handlingHerbert Xu1-62/+0
2025-04-23crypto: blake2b-generic - Use API partial block handlingHerbert Xu1-9/+57
2025-04-23crypto: shash - Handle partial blocks in APIHerbert Xu1-0/+15
2025-04-23crypto: engine - Realign struct crypto_engine to save 8 bytesThorsten Blum1-3/+2
2025-04-17crypto: deflate - Make the acomp walk atomicHerbert Xu1-1/+1
2025-04-16crypto: hash - Add HASH_REQUEST_ON_STACKHerbert Xu1-1/+25
2025-04-16crypto: skcipher - Realign struct skcipher_walk to save 8 bytesThorsten Blum1-2/+1
2025-04-16crypto: simd - Include asm/simd.h in internal/simd.hHerbert Xu1-3/+1
2025-04-16crypto: acomp - Remove reqsize fieldHerbert Xu1-3/+0
2025-04-16crypto: acomp - Simplify folio handlingHerbert Xu1-15/+1
2025-04-16crypto: acomp - Add ACOMP_REQUEST_CLONEHerbert Xu1-8/+3
2025-04-16crypto: acomp - Add ACOMP_FBREQ_ON_STACKHerbert Xu1-0/+26
2025-04-16crypto: acomp - Use request flag helpers and add acomp_request_flagsHerbert Xu1-0/+6
2025-04-16crypto: ahash - Remove request chainingHerbert Xu1-5/+0
2025-04-16crypto: acomp - Remove request chainingHerbert Xu1-5/+0
2025-04-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-1/+1
2025-04-12crypto: ahash - Disable request chainingHerbert Xu1-1/+1
2025-04-07crypto: chacha - remove <crypto/internal/chacha.h>Eric Biggers1-43/+0
2025-04-07crypto: acomp - Add acomp_walkHerbert Xu1-0/+44
2025-04-07crypto: acomp - Move scomp stream allocation code into acompHerbert Xu2-19/+42
2025-04-07crypto: scomp - Allocate per-cpu buffer on first use of each CPUHerbert Xu2-1/+13
2025-03-21crypto: acomp - Add support for foliosHerbert Xu1-0/+18
2025-03-21crypto: acomp - Add ACOMP_REQUEST_ALLOC and acomp_request_alloc_extraHerbert Xu1-0/+6
2025-03-21crypto: acomp - Remove dst_freeHerbert Xu1-2/+0
2025-03-21crypto: scomp - Remove support for some non-trivial SG listsHerbert Xu1-2/+0
2025-03-15crypto: acomp - Add request chaining and virtual addressesHerbert Xu1-0/+42
2025-03-15crypto: acomp - Move stream management into scomp layerHerbert Xu2-27/+2
2025-03-15crypto: scomp - Remove tfm argument from alloc/free_ctxHerbert Xu1-4/+4
2025-03-15crypto: skcipher - Make skcipher_walk src.virt.addr constHerbert Xu1-1/+1
2025-03-15crypto: skcipher - Eliminate duplicate virt.addr fieldHerbert Xu1-5/+21
2025-03-02crypto: skcipher - Use restrict rather than hand-rolling accessesHerbert Xu1-6/+8
2025-02-22crypto: ahash - Add virtual address supportHerbert Xu1-0/+5
2025-02-22crypto: hash - Add request chaining APIHerbert Xu1-0/+10
2025-01-14crypto: skcipher - document skcipher_walk_done() and rename some varsEric Biggers1-1/+1
2025-01-04crypto: ahash - make hash walk functions private to ahash.cEric Biggers1-23/+0
2024-12-14crypto: skcipher - remove support for physical address walksEric Biggers1-12/+0
2024-11-19Merge tag 'v6.13-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-2/+125
2024-10-05crypto: ecdsa - Support P1363 signature decodingLukas Wunner1-0/+1
2024-10-05crypto: ecdsa - Move X9.62 signature decoding into templateLukas Wunner1-0/+13
2024-10-05crypto: akcipher - Drop sign/verify operationsLukas Wunner1-2/+2
2024-10-05crypto: rsassa-pkcs1 - Migrate to sig_alg backendLukas Wunner1-0/+1
2024-10-05crypto: rsa-pkcs1pad - Deduplicate set_{pub,priv}_key callbacksLukas Wunner1-0/+28
2024-10-05crypto: sig - Introduce sig_alg backendLukas Wunner1-0/+80
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro2-2/+2
2024-08-24crypto: simd - Do not call crypto_alloc_tfm during registrationHerbert Xu1-10/+2
2024-06-16crypto: ecc - Add comment to ecc_digits_from_bytes about input byte arrayStefan Berger1-0/+3
2024-05-20Merge tag 'v6.10-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-13/+2
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+3
2024-05-17crypto: ecc - Prevent ecc_digits_from_bytes from reading too many bytesStefan Berger1-13/+2
2024-04-26crypto: ecdh - Initialize ctx->private_key in proper byte orderStefan Berger1-1/+2
2024-04-25mm: change inlined allocation helpers to account at the call siteSuren Baghdasaryan1-2/+3
2024-04-12crypto: ecc - Implement vli_mmod_fast_521 for NIST p521Stefan Berger1-1/+2
2024-04-12crypto: ecdsa - Convert byte arrays with key coordinates to digitsStefan Berger1-0/+21
2024-04-02crypto: remove CONFIG_CRYPTO_STATSEric Biggers3-18/+0
2024-03-13Revert "crypto: remove CONFIG_CRYPTO_STATS"Herbert Xu3-2/+29
2024-03-01crypto: remove CONFIG_CRYPTO_STATSEric Biggers3-29/+2
2024-02-02crypto: ahash - unexport crypto_hash_alg_has_setkey()Eric Biggers1-2/+0
2023-10-27crypto: ahash - remove support for nonzero alignmaskEric Biggers1-3/+1
2023-10-27crypto: shash - remove crypto_shash_ctx_aligned()Eric Biggers1-5/+0
2023-10-13crypto: skcipher - Remove obsolete skcipher_alg helpersHerbert Xu1-42/+0
2023-10-13crypto: skcipher - Add crypto_spawn_skcipher_alg_commonHerbert Xu1-0/+6
2023-09-20crypto: skcipher - Add lskcipherHerbert Xu1-14/+100
2023-08-18crypto: engine - Move struct crypto_engine into internal/engine.hHerbert Xu1-0/+61
2023-08-18crypto: engine - Create internal/engine.hHerbert Xu1-0/+13
2023-06-23crypto: sig - Add interface for sign/verifyHerbert Xu1-0/+17
2023-05-24crypto: cipher - Add crypto_clone_cipherHerbert Xu1-0/+2
2023-05-12crypto: hash - Make crypto_ahash_alg helper availableHerbert Xu1-0/+6
2023-05-12crypto: hash - Add statesize to crypto_ahashHerbert Xu1-0/+6
2023-04-20crypto: hash - Add crypto_clone_ahash/shashHerbert Xu1-2/+0
2023-03-14crypto: acomp - Count error stats differentlyHerbert Xu2-10/+48
2023-02-13crypto: skcipher - Use crypto_request_completeHerbert Xu1-1/+1
2023-02-13crypto: kpp - Use crypto_request_completeHerbert Xu1-1/+1
2023-02-13crypto: hash - Use crypto_request_completeHerbert Xu1-1/+1
2023-02-13crypto: akcipher - Use crypto_request_completeHerbert Xu1-1/+1
2023-02-13crypto: aead - Use crypto_request_completeHerbert Xu1-1/+1
2023-02-13crypto: acompress - Use crypto_request_completeHerbert Xu1-1/+1
2022-12-02crypto: kpp - Add ctx helpers with DMA alignmentHerbert Xu1-1/+23
2022-12-02crypto: akcipher - Add ctx helpers with DMA alignmentHerbert Xu1-1/+23
2022-12-02crypto: skcipher - Add ctx helpers with DMA alignmentHerbert Xu1-0/+22
2022-12-02crypto: hash - Add ctx helpers with DMA alignmentHerbert Xu1-0/+22
2022-12-02crypto: aead - Add ctx helpers with DMA alignmentHerbert Xu1-0/+22
2022-12-02crypto: Prepare to move crypto_tfm_ctxHerbert Xu2-1/+4
2022-12-02crypto: kpp - Move reqsize into tfmHerbert Xu1-1/+1
2022-12-02crypto: akcipher - Move reqsize into tfmHerbert Xu1-1/+1
2022-12-02crypto: kpp - Add helper to set reqsizeHerbert Xu1-0/+6
2022-11-25Revert "crypto: shash - avoid comparing pointers to exported functions under ...Eric Biggers1-1/+7
2022-11-18crypto: skcipher - Allow sync algorithms with large request contextsHerbert Xu1-0/+8
2022-09-30crypto: aead - Remove unused inline functions from aeadGaosheng Cui1-25/+0
2022-06-10crypto: blake2s - remove shash moduleJason A. Donenfeld1-108/+0
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+158
2022-03-03crypto: kpp - provide support for KPP spawnsNicolai Stange1-0/+75
2022-03-03crypto: kpp - provide support for KPP template instancesNicolai Stange1-0/+83
2022-02-04lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFIJason A. Donenfeld1-15/+25
2022-01-11Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+71
2022-01-07lib/crypto: blake2s: include as built-inJason A. Donenfeld1-3/+3
2021-11-26crypto: kdf - Add key derivation self-test support codeStephan Müller1-0/+71
2021-10-29crypto: ecc - Export additional helper functionsDaniele Alessandrelli1-0/+36
2021-10-29crypto: ecc - Move ecc.h to include/crypto/internalDaniele Alessandrelli1-0/+245
2021-06-17crypto: shash - avoid comparing pointers to exported functions under CFIArd Biesheuvel1-7/+1
2021-04-02crypto: poly1305 - fix poly1305_core_setkey() declarationArnd Bergmann1-1/+2
2021-01-14crypto: x86 - remove glue helper moduleArd Biesheuvel1-1/+0
2021-01-03crypto: blake2b - sync with blake2s implementationEric Biggers1-0/+115
2021-01-03crypto: blake2s - adjust include guard namingEric Biggers1-3/+3
2021-01-03crypto: blake2s - optimize blake2s initializationEric Biggers1-4/+1
2021-01-03crypto: blake2s - share the "shash" API boilerplate codeEric Biggers1-5/+60
2021-01-03crypto: blake2s - move update and final logic to internal/blake2s.hEric Biggers1-0/+41
2021-01-03crypto: remove cipher routines from public crypto APIArd Biesheuvel2-0/+219
2020-12-04crypto: lib/blake2s - Move selftest prototype into header fileHerbert Xu1-0/+2
2020-08-28crypto: ahash - Add ahash_alg_instanceHerbert Xu1-0/+6
2020-08-21crypto: hash - Remove unused async iteratorsIra Weiny1-13/+0
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-1/+1
2020-07-16crypto: geniv - remove unneeded arguments from aead_geniv_alloc()Eric Biggers1-1/+1
2020-01-16crypto: poly1305 - add new 32 and 64-bit generic versionsJason A. Donenfeld1-35/+10
2020-01-09crypto: shash - convert shash_free_instance() to new styleEric Biggers1-1/+1
2020-01-09crypto: geniv - convert to new way of freeing instancesEric Biggers1-1/+0
2020-01-09crypto: hash - add support for new way of freeing instancesEric Biggers1-0/+2
2020-01-09crypto: ahash - unexport crypto_ahash_typeEric Biggers1-2/+0
2020-01-09crypto: algapi - remove obsoleted instance creation helpersEric Biggers1-31/+0
2020-01-09crypto: skcipher - use crypto_grab_cipher() and simplify error pathsEric Biggers1-2/+2
2020-01-09crypto: ahash - introduce crypto_grab_ahash()Eric Biggers1-0/+10
2020-01-09crypto: shash - introduce crypto_grab_shash()Eric Biggers1-0/+10
2020-01-09crypto: akcipher - pass instance to crypto_grab_akcipher()Eric Biggers1-9/+3
2020-01-09crypto: aead - pass instance to crypto_grab_aead()Eric Biggers1-8/+3
2020-01-09crypto: skcipher - pass instance to crypto_grab_skcipher()Eric Biggers1-8/+3
2020-01-09crypto: ahash - make struct ahash_instance be the full sizeEric Biggers1-3/+9
2020-01-09crypto: shash - make struct shash_instance be the full sizeEric Biggers1-4/+9
2020-01-09crypto: remove CRYPTO_TFM_RES_WEAK_KEYEric Biggers1-12/+3
2020-01-09crypto: remove CRYPTO_TFM_RES_BAD_KEY_LENEric Biggers1-6/+2
2020-01-09crypto: skcipher - remove skcipher_walk_aead()Eric Biggers1-2/+0
2019-12-27crypto: skcipher - Add skcipher_ialg_simple helperHerbert Xu1-3/+11
2019-12-20crypto: algapi - make unregistration functions return voidEric Biggers3-9/+5
2019-12-11crypto: hmac - Use init_tfm/exit_tfm interfaceHerbert Xu1-0/+6
2019-12-11crypto: chacha - fix warning message in header fileValdis Klētnieks1-1/+1
2019-12-11crypto: aead - move crypto_aead_maxauthsize() to <crypto/aead.h>Eric Biggers1-10/+0
2019-12-11crypto: shash - allow essiv and hmac to use OPTIONAL_KEY algorithmsEric Biggers1-0/+6
2019-11-17crypto: ablkcipher - remove deprecated and unused ablkcipher supportArd Biesheuvel2-32/+0
2019-11-17crypto: blake2s - implement generic shash driverArd Biesheuvel1-0/+5
2019-11-17crypto: blake2s - generic C library implementation and selftestJason A. Donenfeld1-0/+19
2019-11-17crypto: x86/poly1305 - depend on generic library not generic shashArd Biesheuvel1-9/+0
2019-11-17crypto: x86/poly1305 - unify Poly1305 state struct with generic codeArd Biesheuvel1-2/+2
2019-11-17crypto: poly1305 - move core routines into a separate libraryArd Biesheuvel1-0/+67
2019-11-17crypto: chacha - unexport chacha_generic routinesArd Biesheuvel1-10/+0
2019-11-17crypto: chacha - move existing library code into lib/cryptoArd Biesheuvel1-0/+53
2019-11-01crypto: skcipher - remove the "blkcipher" algorithm typeEric Biggers1-12/+0
2019-10-05crypto: algif_skcipher - Use chunksize instead of blocksizeHerbert Xu1-30/+0
2019-09-09crypto: skcipher - add the ability to abort a skcipher walkArd Biesheuvel1-0/+5
2019-08-22crypto: des - split off DES library from generic DES cipher driverArd Biesheuvel1-29/+40
2019-08-22crypto: des/3des_ede - add new helpers to verify keysArd Biesheuvel1-0/+141
2019-08-02crypto: user - fix potential warnings in cryptouser.hMasahiro Yamada1-1/+4
2019-07-26crypto: user - make NETLINK_CRYPTO work inside netnsOndrej Mosnacek1-2/+0
2019-07-08Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-6/+60
2019-06-13crypto: skcipher - make chunksize and walksize accessors internalEric Biggers1-0/+60
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner10-60/+10
2019-05-30crypto: algapi - remove crypto_tfm_in_queue()Eric Biggers1-6/+0
2019-03-22crypto: simd,testmgr - introduce crypto_simd_usable()Eric Biggers1-0/+24
2019-03-22crypto: simd - support wrapping AEAD algorithmsEric Biggers1-0/+20
2019-01-18crypto: user - forward declare crypto_nlskEric Biggers1-0/+2
2019-01-11crypto: algapi - remove crypto_alloc_instance()Eric Biggers1-3/+3
2019-01-11crypto: skcipher - add helper for simple block cipher modesEric Biggers1-0/+15