aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
AgeCommit message (Expand)AuthorFilesLines
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
2020-05-08crypto: lib/sha1 - fold linux/cryptohash.h into crypto/sha.hEric Biggers1-0/+10
2020-05-08crypto: hash - introduce crypto_shash_tfm_digest()Eric Biggers1-0/+19
2020-05-08crypto: lib/sha256 - return voidEric Biggers2-14/+10
2020-05-08crypto: acomp - search acomp with scomp backend in crypto_has_acompBarry Song1-1/+1
2020-05-08crypto: engine - support for batch requestsIuliana Prodan1-0/+5
2020-05-08crypto: engine - support for parallel requests based on retry mechanismIuliana Prodan1-2/+8
2020-05-08crypto: algapi - create function to add request in front of queueIuliana Prodan1-0/+2
2020-04-24crypto: drbg - always seeded with SP800-90B compliant noise sourceStephan Müller1-5/+1
2020-04-09crypto: curve25519 - do not pollute dispatcher based on assemblerJason A. Donenfeld1-4/+2
2020-04-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-18/+24
2020-03-12crypto: aead - improve documentation for scatterlist layoutEric Biggers1-17/+23
2020-03-06crypto: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-03-05crypto: x86/curve25519 - support assemblers with no adx supportJason A. Donenfeld1-2/+4
2020-01-16crypto: poly1305 - add new 32 and 64-bit generic versionsJason A. Donenfeld3-40/+35
2020-01-09crypto: algapi - remove crypto_template::{alloc,free}()Eric Biggers1-2/+0
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: algapi - fold crypto_init_spawn() into crypto_grab_spawn()Eric Biggers1-3/+0
2020-01-09crypto: ahash - unexport crypto_ahash_typeEric Biggers1-2/+0
2020-01-09crypto: algapi - remove obsoleted instance creation helpersEric Biggers2-53/+0
2020-01-09crypto: cipher - make crypto_spawn_cipher() take a crypto_cipher_spawnEric Biggers1-2/+2
2020-01-09crypto: skcipher - use crypto_grab_cipher() and simplify error pathsEric Biggers1-2/+2
2020-01-09crypto: cipher - introduce crypto_cipher_spawn and crypto_grab_cipher()Eric Biggers1-0/+25
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: algapi - pass instance to crypto_grab_spawn()Eric Biggers1-8/+2
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 Biggers2-21/+5
2020-01-09crypto: remove CRYPTO_TFM_RES_BAD_KEY_LENEric Biggers4-15/+6
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-27crypto: api - Retain alg refcount in crypto_grab_spawnHerbert Xu1-2/+15
2019-12-20crypto: algapi - make unregistration functions return voidEric Biggers4-10/+6
2019-12-11crypto: hmac - Use init_tfm/exit_tfm interfaceHerbert Xu1-0/+6
2019-12-11crypto: shash - Add init_tfm/exit_tfm and verify descsizeHerbert Xu1-0/+13
2019-12-11crypto: api - Do not zap spawn->algHerbert Xu1-0/+1
2019-12-11crypto: chacha - fix warning message in header fileValdis Klētnieks1-1/+1
2019-12-11crypto: skcipher - add crypto_skcipher_min_keysize()Eric Biggers1-0/+6
2019-12-11crypto: aead - move crypto_aead_maxauthsize() to <crypto/aead.h>Eric Biggers2-10/+10
2019-12-11crypto: shash - allow essiv and hmac to use OPTIONAL_KEY algorithmsEric Biggers1-0/+6
2019-12-11crypto: skcipher - remove crypto_skcipher::decryptEric Biggers1-2/+0
2019-12-11crypto: skcipher - remove crypto_skcipher::encryptEric Biggers1-1/+0
2019-12-11crypto: skcipher - remove crypto_skcipher::setkeyEric Biggers1-7/+2
2019-12-11crypto: skcipher - remove crypto_skcipher::keysizeEric Biggers1-3/+2
2019-12-11crypto: skcipher - remove crypto_skcipher::ivsizeEric Biggers1-2/+1
2019-12-11crypto: x86 - Regularize glue function prototypesKees Cook3-6/+4
2019-11-17crypto: ablkcipher - remove deprecated and unused ablkcipher supportArd Biesheuvel7-119/+2
2019-11-17crypto: lib/chacha20poly1305 - reimplement crypt_from_sg() routineArd Biesheuvel1-0/+11
2019-11-17crypto: chacha20poly1305 - import construction and selftest from ZincArd Biesheuvel1-0/+37
2019-11-17crypto: curve25519 - generic C library implementationsJason A. Donenfeld1-0/+71
2019-11-17crypto: blake2s - implement generic shash driverArd Biesheuvel1-0/+5
2019-11-17crypto: blake2s - generic C library implementation and selftestJason A. Donenfeld2-0/+125
2019-11-17crypto: x86/poly1305 - depend on generic library not generic shashArd Biesheuvel1-9/+0
2019-11-17crypto: poly1305 - expose init/update/final library interfaceArd Biesheuvel1-1/+37
2019-11-17crypto: x86/poly1305 - unify Poly1305 state struct with generic codeArd Biesheuvel2-11/+11
2019-11-17crypto: poly1305 - move core routines into a separate libraryArd Biesheuvel2-23/+67
2019-11-17crypto: chacha - unexport chacha_generic routinesArd Biesheuvel1-10/+0
2019-11-17crypto: x86/chacha - expose SIMD ChaCha routine as library functionArd Biesheuvel1-0/+6
2019-11-17crypto: chacha - move existing library code into lib/cryptoArd Biesheuvel2-17/+113
2019-11-01crypto: skcipher - remove the "blkcipher" algorithm typeEric Biggers3-94/+0
2019-11-01crypto: skcipher - unify the crypto_has_skcipher*() functionsEric Biggers1-18/+1
2019-10-05crypto: algif_skcipher - Use chunksize instead of blocksizeHerbert Xu2-30/+30
2019-09-27Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+4
2019-09-09crypto: skcipher - add the ability to abort a skcipher walkArd Biesheuvel1-0/+5
2019-09-05crypto: sha256 - Remove sha256/224_init code duplicationHans de Goede2-24/+30
2019-09-05crypto: sha256 - Merge crypto/sha256.h into crypto/sha.hHans de Goede2-34/+21
2019-08-22crypto: sha256 - Add sha224 support to sha256 library codeHans de Goede1-0/+5
2019-08-22crypto: sha256 - Make lib/crypto/sha256.c suitable for generic useHans de Goede1-2/+3
2019-08-22crypto: sha256 - Move lib/sha256.c to lib/cryptoHans de Goede1-0/+28
2019-08-22crypto: des - remove now unused __des3_ede_setkey()Ard Biesheuvel1-3/+0
2019-08-22crypto: des - split off DES library from generic DES cipher driverArd Biesheuvel2-32/+78
2019-08-22crypto: des - remove unused functionArd Biesheuvel1-41/+0
2019-08-22crypto: des/3des_ede - add new helpers to verify keysArd Biesheuvel1-0/+141
2019-08-09crypto: aes - helper function to validate key length for AES algorithmsIuliana Prodan1-0/+17
2019-08-09crypto: gcm - helper functions for assoclen/authsize checkIuliana Prodan1-0/+55
2019-08-05PKCS#7: Introduce pkcs7_get_digest()Thiago Jung Bauermann1-0/+4
2019-08-02crypto: api - Remove redundant #ifdef in crypto_yield()Thomas Gleixner1-2/+0
2019-08-02crypto: user - fix potential warnings in cryptouser.hMasahiro Yamada1-1/+4
2019-08-02crypto: add header include guardsMasahiro Yamada4-0/+20
2019-07-27crypto: ghash - add comment and improve help textEric Biggers1-1/+1
2019-07-26crypto: user - make NETLINK_CRYPTO work inside netnsOndrej Mosnacek1-2/+0
2019-07-26crypto: morus - remove generic and x86 implementationsArd Biesheuvel3-212/+0
2019-07-26crypto: lib/aes - export sbox and inverse sboxArd Biesheuvel1-0/+3
2019-07-26crypto: aes-generic - unexport last-round AES tablesArd Biesheuvel1-2/+0
2019-07-26crypto: ctr - add helper for performing a CTR encryption walkArd Biesheuvel1-0/+50
2019-07-26crypto: aes-generic - drop key expansion routine in favor of library versionArd Biesheuvel1-2/+0
2019-07-26crypto: aes - create AES library based on the fixed time AES codeArd Biesheuvel1-0/+34
2019-07-08Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds9-144/+77
2019-06-20crypto: arc4 - refactor arc4 core code into separate libraryArd Biesheuvel1-0/+10
2019-06-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-1/+7
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner3-12/+3
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234Thomas Gleixner1-12/+1
2019-06-13crypto: chacha - constify ctx and iv argumentsEric Biggers1-1/+1
2019-06-13crypto: skcipher - make chunksize and walksize accessors internalEric Biggers2-60/+60
2019-06-13crypto: skcipher - un-inline encrypt and decrypt functionsEric Biggers1-30/+2
2019-06-13crypto: aead - un-inline encrypt and decrypt functionsEric Biggers1-32/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335Thomas Gleixner1-13/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner28-168/+28
2019-05-30crypto: algapi - remove crypto_tfm_in_queue()Eric Biggers2-13/+0