aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
AgeCommit message (Expand)AuthorFilesLines
2024-03-15Merge tag 'v6.9-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-2/+1
2024-03-13crypto: introduce: acomp_is_async to expose if comp drivers might sleepBarry Song1-0/+6
2024-03-13Revert "crypto: remove CONFIG_CRYPTO_STATS"Herbert Xu11-12/+367
2024-03-01crypto: remove CONFIG_CRYPTO_STATSEric Biggers11-367/+12
2024-02-02crypto: ahash - unexport crypto_hash_alg_has_setkey()Eric Biggers1-2/+0
2024-01-26KEYS: include header for EINVAL definitionClay Chang1-0/+1
2023-12-29crypto: skcipher - remove excess kerneldoc membersVegard Nossum1-16/+0
2023-12-29crypto: shash - remove excess kerneldoc membersVegard Nossum1-4/+0
2023-12-08crypto: algif_skcipher - Fix stream cipher chainingHerbert Xu1-0/+2
2023-12-08crypto: skcipher - Make use of internal stateHerbert Xu1-0/+33
2023-12-08crypto: skcipher - Add internal state supportHerbert Xu1-9/+75
2023-12-08crypto: af_alg - Disallow multiple in-flight AIO requestsHerbert Xu1-0/+3
2023-10-27crypto: FIPS 202 SHA-3 register in hash info for IMADimitri John Ledkov1-0/+1
2023-10-27crypto: ahash - optimize performance when wrapping shashEric Biggers1-63/+5
2023-10-27crypto: ahash - remove crypto_ahash_alignmaskEric Biggers1-6/+0
2023-10-27crypto: ahash - remove support for nonzero alignmaskEric Biggers1-3/+1
2023-10-27crypto: shash - remove crypto_shash_ctx_aligned()Eric Biggers2-10/+0
2023-10-27crypto: shash - remove crypto_shash_alignmaskEric Biggers1-6/+0
2023-10-27crypto: shash - eliminate indirect call for default import and exportEric Biggers1-13/+2
2023-10-13crypto: skcipher - Remove obsolete skcipher_alg helpersHerbert Xu2-66/+1
2023-10-13crypto: skcipher - Add crypto_spawn_skcipher_alg_commonHerbert Xu1-0/+6
2023-10-05crypto: sig - fix kernel-doc typoRandy Dunlap1-1/+1
2023-10-05crypto: akcipher - fix kernel-doc typosRandy Dunlap1-2/+2
2023-10-01crypto: engine - Make crypto_engine_exit() return voidUwe Kleine-König1-1/+1
2023-09-20crypto: skcipher - Add lskcipherHerbert Xu2-26/+397
2023-09-20crypto: aead - Add crypto_has_aeadHerbert Xu1-0/+12
2023-08-29Merge tag 'v6.6-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds3-69/+126
2023-08-18crypto: engine - Remove crypto_engine_ctxHerbert Xu1-4/+0
2023-08-18crypto: engine - Move crypto_engine_ops from request into crypto_algHerbert Xu1-5/+54
2023-08-18crypto: engine - Move struct crypto_engine into internal/engine.hHerbert Xu2-57/+62
2023-08-18crypto: engine - Create internal/engine.hHerbert Xu1-0/+13
2023-08-18crypto: engine - Move crypto inclusions out of header fileHerbert Xu1-10/+7
2023-08-18crypto: engine - Remove prepare/unprepare requestHerbert Xu1-6/+0
2023-08-17KEYS: DigitalSignature link restrictionEric Snowberg1-0/+12
2023-08-11crypto: api - Use work queue in crypto_destroy_instanceHerbert Xu1-0/+3
2023-06-30Merge tag 'v6.5-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds12-29/+259
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-6/+3
2023-06-26crypto: sm2 - Provide sm2_compute_z_digest when sm2 is disabledHerbert Xu1-0/+9
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-2/+0
2023-06-23KEYS: asymmetric: Move sm2 code into x509_public_keyHerbert Xu2-11/+3
2023-06-23crypto: sig - Add interface for sign/verifyHerbert Xu2-0/+157
2023-06-23crypto: akcipher - Add sync interface without SG listsHerbert Xu1-0/+36
2023-06-23crypto: api - Remove crypto_init_ops()Dmitry Safonov1-1/+0
2023-06-08crypto: af_alg: Use extract_iter_to_sg() to create scatterlistsDavid Howells1-4/+2
2023-06-08crypto: af_alg: Pin pages rather than ref'ing if appropriateDavid Howells1-0/+1
2023-06-05cyrpto/b128ops: Remove struct u128Peter Zijlstra1-11/+3
2023-05-24crypto: cipher - Add crypto_clone_cipherHerbert Xu1-0/+2
2023-05-19crypto: lib/sha256 - Use generic code from sha256_baseHerbert Xu1-14/+36
2023-05-19crypto: lib/sha256 - Remove redundant and unused sha224_updateHerbert Xu1-1/+1
2023-05-12crypto: engine - Fix struct crypto_engine_op docDavid Yang1-1/+1
2023-05-12crypto: hash - Make crypto_ahash_alg helper availableHerbert Xu1-0/+6
2023-05-12crypto: hash - Add statesize to crypto_ahashHerbert Xu2-1/+8
2023-04-26Merge tag 'v6.4-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds12-199/+538
2023-04-24KEYS: CA link restrictionEric Snowberg1-0/+15
2023-04-24KEYS: X.509: Parse Key UsageEric Snowberg1-0/+2
2023-04-24KEYS: X.509: Parse Basic Constraints for CAEric Snowberg1-0/+2
2023-04-24KEYS: Create static version of public_key_verify_signatureEric Snowberg1-0/+9
2023-04-20crypto: hash - Add crypto_clone_ahash/shashHerbert Xu2-2/+8
2023-04-14crypto: api - Move low-level functions into algapi.hHerbert Xu1-0/+14
2023-04-06crypto: hash - Remove maximum statesize limitHerbert Xu1-2/+0
2023-03-31crypto: lib/utils - Move utilities into new headerHerbert Xu2-62/+74
2023-03-24crypto: hash - Fix kdoc errors about HASH_ALG_COMMONHerbert Xu1-1/+2
2023-03-14crypto: api - Move MODULE_ALIAS_CRYPTO to algapi.hHerbert Xu1-0/+13
2023-03-14crypto: rng - Count error stats differentlyHerbert Xu1-8/+57
2023-03-14crypto: skcipher - Count error stats differentlyHerbert Xu1-0/+22
2023-03-14crypto: kpp - Count error stats differentlyHerbert Xu1-18/+55
2023-03-14crypto: acomp - Count error stats differentlyHerbert Xu3-58/+128
2023-03-14crypto: hash - Count error stats differentlyHerbert Xu1-20/+64
2023-03-14crypto: akcipher - Count error stats differentlyHerbert Xu1-28/+74
2023-03-14crypto: aead - Count error stats differentlyHerbert Xu1-0/+22
2023-03-14crypto: algapi - Move stat reporting into algapiHerbert Xu1-0/+3
2023-03-10crypto: acomp - Be more careful with request flagsHerbert Xu1-1/+3
2023-02-13crypto: api - Use data directly in completion functionHerbert Xu2-5/+2
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
2023-02-13crypto: api - Add scaffolding to change completion function signatureHerbert Xu1-0/+7
2023-01-20crypto: aead - fix inaccurate documentationArd Biesheuvel1-10/+10
2023-01-06crypto: xts - drop xts_check_key()Vladis Dronov1-18/+4
2023-01-06crypto: xts - restrict key lengths to approved values in FIPS modeNicolai Stange1-0/+7
2022-12-30crypto: scatterwalk - use kmap_local() not kmap_atomic()Ard Biesheuvel1-2/+2
2022-12-09crypto: acomp - define max size for destinationGiovanni Cabiddu1-0/+1
2022-12-05crypto: api - Use linux/cache.h instead of asm/cache.hHerbert 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: api - Increase MAX_ALGAPI_ALIGNMASK to 127Herbert Xu1-1/+1
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: api - Add crypto_tfm_ctx_dmaHerbert Xu1-2/+39
2022-12-02crypto: Prepare to move crypto_tfm_ctxHerbert Xu3-2/+5
2022-12-02crypto: kpp - Move reqsize into tfmHerbert Xu2-5/+6
2022-12-02crypto: akcipher - Move reqsize into tfmHerbert Xu2-4/+5
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-11-11crypto: lib/aesgcm - Provide minimal library implementationArd Biesheuvel1-0/+22
2022-10-21crypto: scatterwalk - remove duplicate function declarationsTianjia Zhang1-1/+0
2022-09-30crypto: scatterwalk - Remove unused inline function scatterwalk_aligned()Gaosheng Cui1-6/+0
2022-09-30crypto: aead - Remove unused inline functions from aeadGaosheng Cui1-25/+0
2022-09-24crypto: aria - prepare generic module for optimized implementationsTaehee Yoo1-10/+7
2022-08-04Merge tag 'for-5.20/block-2022-08-04' of git://git.kernel.dk/linux-blockLinus Torvalds2-0/+4
2022-08-02crypto: add crypto_has_kpp()Hannes Reinecke1-0/+2
2022-08-02crypto: add crypto_has_shash()Hannes Reinecke1-0/+2
2022-07-15crypto: aria - Implement ARIA symmetric cipher algorithmTaehee Yoo1-0/+461
2022-06-10crypto: blake2s - remove shash moduleJason A. Donenfeld1-108/+0
2022-06-10crypto: x86/polyval - Add PCLMULQDQ accelerated implementation of POLYVALNathan Huckleberry1-0/+5
2022-06-10crypto: polyval - Add POLYVAL supportNathan Huckleberry1-0/+17
2022-04-08crypto: sm4 - export sm4 constant arraysTianjia Zhang1-0/+4
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-15/+213
2022-03-08KEYS: remove support for asym_tpm keysEric Biggers1-19/+0
2022-03-03crypto: crypto_xor - use helpers for unaligned accessesArd Biesheuvel1-2/+8
2022-03-03crypto: dh - split out deserialization code from crypto_dh_decode()Nicolai Stange1-0/+16
2022-03-03crypto: dh - constify struct dh's pointer membersNicolai Stange1-3/+3
2022-03-03crypto: dh - remove struct dh's ->q memberNicolai Stange1-4/+0
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-28crypto: sm3 - make dependent on sm3 libraryTianjia Zhang1-10/+0
2022-01-28crypto: sm3 - create SM3 stand-alone libraryTianjia Zhang1-0/+32
2022-01-18lib/crypto: blake2s: move hmac construction into wireguardJason A. Donenfeld1-3/+0
2022-01-11Merge tag 'tpmdd-next-v5.17-fixed' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2022-01-11Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds12-12/+163
2022-01-09keys: X.509 public key issuer lookup without AKIDAndrew Zaborowski1-1/+1
2022-01-07random: early initialization of ChaCha constantsDominik Brodowski1-4/+11
2022-01-07lib/crypto: blake2s: include as built-inJason A. Donenfeld1-3/+3
2021-12-17crypto: api - Replace kernel.h with the necessary inclusionsAndy Shevchenko9-9/+23
2021-11-26crypto: kdf - add SP800-108 counter key derivation functionStephan Müller1-0/+61
2021-11-26crypto: kdf - Add key derivation self-test support codeStephan Müller1-0/+71
2021-11-26crypto: drbg - reseed 'nopr' drbgs periodically from get_random_bytes()Nicolai Stange1-0/+1
2021-11-26crypto: drbg - make reseeding from get_random_bytes() synchronousNicolai Stange1-2/+0
2021-11-26crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()Nicolai Stange1-0/+1
2021-11-26crypto: drbg - prepare for more fine-grained tracking of seeding stateNicolai Stange1-1/+6
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-10-29crypto: engine - Add KPP Support to Crypto EnginePrabhjot Khurana1-0/+5
2021-08-30Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-6/+19
2021-08-23crypto: public_key: fix overflow during implicit conversionzhenwei pi1-2/+2
2021-07-30crypto: arm64/sm4-ce - Make dependent on sm4 library instead of sm4-genericTianjia Zhang1-7/+2
2021-07-30crypto: sm4 - create SM4 library based on sm4 generic codeTianjia Zhang1-3/+21
2021-06-28crypto: scatterwalk - Remove obsolete PageSlab checkHerbert Xu1-6/+1
2021-06-24crypto: api - Move crypto attr definitions out of crypto.hHerbert Xu1-0/+9
2021-06-17crypto: api - remove CRYPTOA_U32 and related functionsLiu Shixin1-1/+0
2021-06-17crypto: shash - avoid comparing pointers to exported functions under CFIArd Biesheuvel1-7/+1
2021-05-28crypto: header - Fix spelling errorsZhen Lei3-3/+3
2021-04-02crypto: poly1305 - fix poly1305_core_setkey() declarationArnd Bergmann2-3/+6
2021-04-02random: initialize ChaCha20 constants with correct endiannessEric Biggers1-2/+7
2021-03-26Merge branch 'ecc'Herbert Xu1-0/+1
2021-03-26crypto: ecc - Add NIST P384 curve parametersSaulo Alessandre1-0/+1
2021-03-13crypto: ecc - add curve25519 params and expose themMeng Yu1-0/+7
2021-03-13crypto: ecc - expose ecc curvesMeng Yu1-0/+53
2021-03-13crypto: ecdh - move curve_id of ECDH from the key to algorithm nameMeng Yu1-2/+0
2021-03-13crypto: api - check for ERR pointers in crypto_destroy_tfm()Ard Biesheuvel7-0/+16
2021-02-23Merge tag 'keys-misc-20210126' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+0
2021-01-22crypto - shash: reduce minimum alignment of shash_desc structureArd Biesheuvel1-4/+4
2021-01-21crypto: public_key: Remove redundant header file from public_key.hTianjia Zhang1-1/+0
2021-01-14crypto: x86 - remove glue helper moduleArd Biesheuvel1-1/+0
2021-01-03crypto: blake2b - sync with blake2s implementationEric Biggers2-0/+182
2021-01-03crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>Eric Biggers1-2/+1
2021-01-03crypto: blake2s - adjust include guard namingEric Biggers2-6/+6
2021-01-03crypto: blake2s - add comment for blake2s_state fieldsEric Biggers1-0/+1
2021-01-03crypto: blake2s - optimize blake2s initializationEric Biggers2-30/+28
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 Biesheuvel3-39/+219
2020-12-04crypto: lib/blake2s - Move selftest prototype into header fileHerbert Xu1-0/+2
2020-11-20crypto: lib/curve25519 - Move selftest prototype into header fileHerbert Xu1-0/+2
2020-11-20crypto: sha - split sha.h into sha1.h and sha2.hEric Biggers6-41/+55
2020-11-06crypto: aead - add crypto_aead_driver_name()Eric Biggers1-0/+5
2020-10-30crypto: hash - Use memzero_explicit() for clearing stateArvind Sankar4-4/+8
2020-10-08X.509: Fix modular build of public_key_sm2Herbert Xu1-12/+0
2020-09-25X.509: support OSCCA SM2-with-SM3 certificate verificationTianjia Zhang1-0/+15
2020-09-25crypto: sm2 - introduce OSCCA SM2 asymmetric cipher algorithmTianjia Zhang1-0/+25
2020-09-25crypto: sm3 - export crypto_sm3_final functionTianjia Zhang1-0/+2
2020-09-25crypto: af_alg - add extra parameters for DRBG interfaceElena Petrova1-0/+1
2020-09-11crypto: cbc - Remove cbc.hHerbert Xu1-141/+0
2020-08-28crypto: ahash - Remove AHASH_REQUEST_ON_STACKHerbert Xu1-5/+0
2020-08-28crypto: ahash - Add ahash_alg_instanceHerbert Xu1-0/+6
2020-08-28crypto: ahash - Add init_tfm/exit_tfmHerbert Xu1-0/+13
2020-08-21crypto: hash - Remove unused async iteratorsIra Weiny1-13/+0
2020-08-20crypto: algapi - Remove skbuff.h inclusionHerbert Xu1-1/+1
2020-08-19crypto: algapi - Move crypto_yield into internal.hHerbert Xu1-6/+0
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long7-7/+7
2020-08-04Merge tag 'docs-5.9' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2020-07-23crypto: skcipher - drop duplicated word in kernel-docRandy Dunlap1-1/+1
2020-07-23crypto: hash - drop duplicated word in a commentRandy Dunlap1-1/+1
2020-07-16crypto: algapi - introduce the flag CRYPTO_ALG_ALLOCATES_MEMORYEric Biggers1-1/+2
2020-07-16crypto: algapi - add NEED_FALLBACK to INHERITED_FLAGSEric Biggers1-1/+2
2020-07-16crypto: algapi - use common mechanism for inheriting flagsEric Biggers1-7/+16
2020-07-16crypto: geniv - remove unneeded arguments from aead_geniv_alloc()Eric Biggers1-1/+1
2020-07-16crypto: lib/sha256 - add sha256() functionEric Biggers1-0/+1
2020-07-16crypto: x86/chacha-sse3 - use unaligned loads for state arrayArd Biesheuvel1-4/+0
2020-07-16crypto: lib/chacha20poly1305 - Add missing function declarationHerbert Xu1-0/+2
2020-07-09crypto: api - permit users to specify numa node of acomp hardwareBarry Song1-0/+18
2020-06-19docs: crypto: convert asymmetric-keys.txt to ReSTMauro Carvalho Chehab1-1/+1
2020-06-18crypto: algif_aead - Only wake up when ctx->more is zeroHerbert Xu1-1/+3
2020-06-18crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()Herbert Xu1-2/+2