aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
AgeCommit message (Expand)AuthorFilesLines
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-22/+28
2020-03-12crypto: aead - improve documentation for scatterlist layoutEric Biggers1-21/+27
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-33/+79
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
2019-05-30crypto: cryptd - move kcrypto_wq into cryptdEric Biggers1-8/+0
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner2-10/+2
2019-05-23crypto: drbg - add FIPS 140-2 CTRNG for noise sourceStephan Mueller1-0/+2
2019-05-17crypto: hash - fix incorrect HASH_MAX_DESCSIZEEric Biggers1-1/+7
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers1-2/+8
2019-04-18crypto: cryptd - remove ability to instantiate ablkciphersEric Biggers1-17/+1
2019-04-18X.509: parse public key parameters from x509 for akcipherVitaly Chikunov2-8/+14
2019-04-18crypto: akcipher - new verify API for public key algorithmsVitaly Chikunov1-13/+23
2019-04-18crypto: des_generic - Forbid 2-key in 3DES and add helpersHerbert Xu1-0/+43
2019-04-08crypto: streebog - fix unaligned memory accessesEric Biggers1-1/+4
2019-04-08crypto: aes - Use ___cacheline_aligned for aes dataAndi Kleen1-4/+4
2019-03-22crypto: simd,testmgr - introduce crypto_simd_usable()Eric Biggers1-0/+24
2019-03-22crypto: x86/morus1280 - convert to use AEAD SIMD helpersEric Biggers1-57/+22
2019-03-22crypto: x86/morus640 - convert to use AEAD SIMD helpersEric Biggers1-57/+22
2019-03-22crypto: simd - support wrapping AEAD algorithmsEric Biggers1-0/+20
2019-02-15crypto: export arc4 definesIuliana Prodan1-0/+13
2019-01-25crypto: clarify name of WEAK_KEY request flagEric Biggers1-2/+2
2019-01-25crypto: api - add a helper to (un)register a array of templatesXiongfeng Wang1-0/+2
2019-01-25crypto: morus - Cleanup license messThomas Gleixner3-18/+3
2019-01-18crypto: af_alg - make some functions staticEric Biggers1-7/+0
2019-01-18crypto: user - forward declare crypto_nlskEric Biggers1-0/+2
2019-01-18crypto: streebog - use correct endianness typeEric Biggers1-1/+1
2019-01-11crypto: algapi - remove crypto_alloc_instance()Eric Biggers2-7/+5
2019-01-11crypto: skcipher - add helper for simple block cipher modesEric Biggers1-0/+15
2018-12-23crypto: skcipher - remove remnants of internal IV generatorsEric Biggers3-18/+0
2018-12-23crypto: user - remove unused dump functionsCorentin Labbe1-12/+0
2018-12-07crypto: user - fix use_after_free of struct xxx_requestCorentin Labbe7-238/+55
2018-12-07crypto: user - convert all stats from u32 to u64Corentin Labbe7-33/+33
2018-12-07crypto: user - made crypto_user_stat optionalCorentin Labbe1-0/+17
2018-11-20crypto: nhpoly1305 - add NHPoly1305 supportEric Biggers1-0/+74
2018-11-20crypto: poly1305 - add Poly1305 core APIEric Biggers1-0/+16
2018-11-20crypto: poly1305 - use structures for key and accumulatorEric Biggers1-2/+10
2018-11-20crypto: chacha - add XChaCha12 supportEric Biggers1-0/+7
2018-11-20crypto: chacha20-generic - refactor to allow varying number of roundsEric Biggers2-42/+47
2018-11-20crypto: chacha20-generic - add XChaCha20 supportEric Biggers1-1/+13
2018-11-20crypto: chacha20-generic - add HChaCha20 library functionEric Biggers1-0/+2
2018-11-16crypto: chacha20poly1305 - export CHACHAPOLY_IV_SIZECristian Stoica1-0/+1
2018-11-16crypto: streebog - register Streebog in hash info for IMAVitaly Chikunov1-0/+1
2018-11-16crypto: streebog - add Streebog hash functionVitaly Chikunov1-0/+34
2018-10-26KEYS: asym_tpm: extract key size & public key [ver #2]Denis Kenzior1-0/+3
2018-10-26KEYS: asym_tpm: add skeleton for asym_tpm [ver #2]Denis Kenzior1-0/+16
2018-10-26KEYS: Allow the public_key struct to hold a private key [ver #2]David Howells1-0/+1
2018-10-26KEYS: Provide missing asymmetric key subops for new key type ops [ver #2]David Howells1-2/+11
2018-10-05crypto/morus(640,1280) - make crypto_...-algs staticvaldis.kletnieks@vt.edu2-2/+2
2018-09-28crypto: user - Implement a generic crypto statisticsCorentin Labbe8-26/+303
2018-09-28crypto: skcipher - Remove SKCIPHER_REQUEST_ON_STACK()Kees Cook1-5/+0
2018-09-28crypto: null - Remove VLA usage of skcipherKees Cook2-2/+2
2018-09-28crypto: skcipher - Introduce crypto_sync_skcipherKees Cook1-0/+75
2018-09-21crypto: chacha20 - Fix chacha20_block() keystream alignment (again)Eric Biggers1-2/+1
2018-09-04crypto: api - Introduce notifier for new crypto algorithmsMartin K. Petersen1-0/+10
2018-09-04crypto: x86 - remove SHA multibuffer routines and mcryptdArd Biesheuvel1-114/+0
2018-09-04crypto: api - Introduce generic max blocksize and alignmaskKees Cook1-1/+3