summaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2018-02-22X.509: fix NULL dereference when restricting key with unsupported_sigEric Biggers1-8/+13
2018-02-22X.509: fix BUG_ON() when hash algorithm is unsupportedEric Biggers1-1/+3
2018-02-22PKCS#7: fix direct verification of SignerInfo signatureEric Biggers1-0/+1
2018-02-22PKCS#7: fix certificate blacklistingEric Biggers1-4/+6
2018-02-22PKCS#7: fix certificate chain verificationEric Biggers1-1/+1
2018-02-12Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-100/+118
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-8/+8
2018-02-08crypto: sha3-generic - Use __optimize to support old compilersGeert Uytterhoeven1-1/+1
2018-02-08crypto: sha3-generic - deal with oversize stack framesArd Biesheuvel1-100/+118
2018-01-31Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds44-653/+2032
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-3/+2
2018-01-29Merge branch 'for-4.16/block' of git://git.kernel.dk/linux-blockLinus Torvalds2-49/+3
2018-01-26crypto: testmgr - add new testcases for sha3Ard Biesheuvel1-0/+550
2018-01-26crypto: sha3-generic - export init/update/final routinesArd Biesheuvel1-15/+18
2018-01-26crypto: sha3-generic - simplify codeArd Biesheuvel1-125/+59
2018-01-26crypto: sha3-generic - rewrite KECCAK transform to help the compiler optimizeArd Biesheuvel1-38/+96
2018-01-26crypto: sha3-generic - fixes for alignment and big endian operationArd Biesheuvel1-2/+3
2018-01-26crypto: testmgr - test misuse of result in ahashKamil Konieczny1-0/+39
2018-01-20crypto: aes-generic - fix aes-generic regression on powerpcArnd Bergmann1-1/+1
2018-01-12Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+12
2018-01-12crypto: x86/salsa20 - cleanup and convert to skcipher APIEric Biggers1-0/+2
2018-01-12crypto: salsa20 - export generic helpersEric Biggers1-13/+7
2018-01-12crypto: salsa20-generic - cleanup and convert to skcipher APIEric Biggers1-136/+104
2018-01-12crypto: aes-generic - build with -Os on gcc-7+Arnd Bergmann1-0/+1
2018-01-12crypto: aead - prevent using AEADs without setting keyEric Biggers2-10/+14
2018-01-12crypto: skcipher - prevent using skciphers without setting keyEric Biggers2-50/+39
2018-01-12crypto: ghash - remove checks for key being setEric Biggers1-6/+0
2018-01-12crypto: hash - prevent using keyed hashes without setting keyEric Biggers3-50/+49
2018-01-12crypto: hash - annotate algorithms taking optional keyEric Biggers4-8/+8
2018-01-12crypto: poly1305 - remove ->setkey() methodEric Biggers1-12/+5
2018-01-12crypto: mcryptd - pass through absence of ->setkey()Eric Biggers1-1/+2
2018-01-12crypto: cryptd - pass through absence of ->setkey()Eric Biggers1-1/+2
2018-01-12crypto: hash - introduce crypto_hash_alg_has_setkey()Eric Biggers1-0/+11
2018-01-12crypto: tcrypt - free xoutbuf instead of axbufColin Ian King1-1/+1
2018-01-12crypto: tcrypt - fix spelling mistake: "bufufer"-> "buffer"Colin Ian King1-2/+2
2018-01-12crypto: af_alg - whitelist mask and typeStephan Mueller1-4/+6
2018-01-12crypto: testmgr - change `guard` to unsigned charJoey Pabalinas1-1/+1
2018-01-06crypto: scompress - use sgl_alloc() and sgl_free()Bart Van Assche2-49/+3
2018-01-05Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds5-14/+19
2018-01-05crypto: poly1305 - remove cra_alignmaskEric Biggers1-1/+0
2018-01-05crypto: poly1305 - use unaligned access macros to output digestEric Biggers1-5/+4
2018-01-05crypto: algapi - remove unused notificationsEric Biggers2-8/+0
2018-01-05crypto: algapi - convert cra_refcnt to refcount_tEric Biggers5-10/+10
2018-01-05crypto: algapi - fix NULL dereference in crypto_remove_spawns()Eric Biggers1-0/+12
2017-12-28crypto: tcrypt - add multibuf aead speed testGilad Ben-Yossef1-59/+378
2017-12-28crypto: tcrypt - add multibuf skcipher speed testGilad Ben-Yossef1-0/+460
2017-12-28crypto: tcrypt - add multi buf ahash jiffies testGilad Ben-Yossef1-30/+82
2017-12-28crypto: tcrypt - allow setting num of bufsGilad Ben-Yossef1-12/+19
2017-12-28crypto: tcrypt - fix AEAD decryption speed testGilad Ben-Yossef1-1/+29
2017-12-28crypto: tcrypt - use multi buf for ahash mb testGilad Ben-Yossef1-4/+9
2017-12-22Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds5-35/+36
2017-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu13-92/+125
2017-12-22crypto: seqiv - Remove unused alg/spawn variableCorentin Labbe1-5/+0
2017-12-22crypto: echainiv - Remove unused alg/spawn variableCorentin Labbe1-5/+0
2017-12-22crypto: gf128mul - remove incorrect commentEric Biggers1-2/+0
2017-12-22crypto: null - Get rid of crypto_{get,put}_default_null_skcipher2()Eric Biggers5-11/+11
2017-12-22crypto: api - Unexport crypto_larval_lookup()Eric Biggers2-3/+2
2017-12-22crypto: pcrypt - fix freeing pcrypt instancesEric Biggers1-9/+10
2017-12-22crypto: af_alg - Fix race around ctx->rcvused by making it atomic_tJonathan Cameron3-4/+4
2017-12-22crypto: chacha20poly1305 - validate the digest sizeEric Biggers1-1/+5
2017-12-11Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds6-18/+17
2017-12-11crypto: cryptd - make cryptd_max_cpu_qlen module parameter staticColin Ian King1-1/+1
2017-12-11crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDHHauke Mehrtens1-1/+1
2017-12-11crypto: af_alg - fix race accessing cipher requestStephan Mueller2-10/+10
2017-12-11crypto: mcryptd - protect the per-CPU queue with a lockSebastian Andrzej Siewior1-13/+10
2017-12-11crypto: af_alg - wait for data at beginning of recvmsgStephan Mueller3-6/+12
2017-12-11crypto: skcipher - set walk.iv for zero-length inputsEric Biggers1-6/+4
2017-12-08X.509: fix comparisons of ->pkey_algoEric Biggers2-2/+2
2017-12-08X.509: use crypto_shash_digest()Eric Biggers1-5/+1
2017-12-08KEYS: be careful with error codes in public_key_verify_signature()Eric Biggers1-2/+5
2017-12-08pkcs7: use crypto_shash_digest()Eric Biggers1-5/+2
2017-12-08pkcs7: fix check for self-signed certificateEric Biggers1-1/+1
2017-12-08pkcs7: return correct error code if pkcs7_check_authattrs() failsEric Biggers1-1/+3
2017-12-08X.509: reject invalid BIT STRING for subjectPublicKeyEric Biggers1-0/+2
2017-11-29crypto: chacha20 - Fix keystream alignment for chacha20_block()Eric Biggers1-3/+3
2017-11-29crypto: chacha20 - Remove cra_alignmaskEric Biggers1-1/+0
2017-11-29crypto: chacha20 - Use unaligned access macros when loading key and IVEric Biggers1-10/+6
2017-11-29crypto: chacha20 - Fix unaligned access when loading constantsEric Biggers1-6/+4
2017-11-29crypto: cryptd - Add cryptd_max_cpu_qlen module parameterJon Maxwell1-2/+5
2017-11-29crypto: remove unused hardirq.hYang Shi3-3/+0
2017-11-29crypto: keywrap - Add missing ULL suffixes for 64-bit constantsGeert Uytterhoeven1-2/+2
2017-11-29crypto: tcrypt - set assoc in sg_init_aead()Tudor-Dan Ambarus1-7/+9
2017-11-29crypto: replace FSF address with web source in license noticesMartin Kepplinger8-20/+10
2017-11-29crypto: ecc - Fix NULL pointer deref. on no default_rngPierre1-1/+1
2017-11-29crypto: tcrypt - fix S/G table for test_aead_speed()Robert Baronescu1-2/+4
2017-11-29crypto: salsa20 - fix blkcipher_walk API usageEric Biggers1-7/+0
2017-11-29crypto: hmac - require that the underlying hash algorithm is unkeyedEric Biggers2-3/+8
2017-11-29crypto: af_alg - fix NULL pointer dereference inEric Biggers1-6/+7
2017-11-29crypto: algif_aead - fix reference counting of null skcipherEric Biggers1-1/+1
2017-11-29crypto: rsa - fix buffer overread when stripping leading zeroesEric Biggers1-1/+1
2017-11-28Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-38/+65
2017-11-27crypto: annotate ->poll() instancesAl Viro2-3/+2
2017-11-25crypto: skcipher - Fix skcipher_walk_aead_commonOndrej Mosnáček1-0/+3
2017-11-24crypto: af_alg - remove locking in async callbackStephan Mueller3-29/+38
2017-11-24crypto: algif_aead - skip SGL entries with NULL pageStephan Mueller1-9/+24
2017-11-24Merge tag 'keys-next-20171123' of git://git.kernel.org/pub/scm/linux/kernel/g...James Morris4-0/+9
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-6/+1
2017-11-15pkcs7: Set the module licence to prevent taintingDavid Howells4-0/+9
2017-11-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds32-540/+613
2017-11-10crypto: dh - Remove pointless checks for NULL 'p' and 'g'Eric Biggers1-3/+0
2017-11-10crypto: dh - Don't permit 'key' or 'g' size longer than 'p'Eric Biggers1-0/+8
2017-11-10crypto: dh - Don't permit 'p' to be 0Eric Biggers1-0/+8
2017-11-10crypto: dh - Fix double free of ctx->pEric Biggers1-20/+13
2017-11-06Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+3
2017-11-06crypto: ecdh - remove empty exit()Tudor-Dan Ambarus1-6/+0
2017-11-03crypto: tcrypt - move to generic async completionGilad Ben-Yossef1-59/+25
2017-11-03crypto: testmgr - move to generic async completionGilad Ben-Yossef1-138/+66
2017-11-03crypto: gcm - move to generic async completionGilad Ben-Yossef1-26/+6
2017-11-03crypto: drbg - move to generic async completionGilad Ben-Yossef1-27/+9
2017-11-03crypto: move pub key to generic async completionGilad Ben-Yossef1-24/+4
2017-11-03crypto: algif - move to generic async completionGilad Ben-Yossef4-52/+22
2017-11-03crypto: introduce crypto wait for async opGilad Ben-Yossef1-0/+13
2017-11-03crypto: remove redundant backlog checks on EBUSYGilad Ben-Yossef5-37/+13
2017-11-03crypto: change transient busy return code to -ENOSPCGilad Ben-Yossef2-5/+5
2017-11-03crypto: tcrypt - fix buffer lengths in test_aead_speed()Robert Baronescu1-2/+4
2017-11-03crypto: tcrypt - mark expected switch fall-throughs in do_test()Gustavo A. R. Silva1-57/+51
2017-11-03crypto: gf128mul - The x8_ble multiplication functionsHarsh Jain1-0/+13
2017-11-03crypto: ccm - preserve the IV bufferRomain Izard1-1/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman8-0/+8
2017-10-19Merge commit 'tags/keys-fixes-20171018' into fixes-v4.14-rc5James Morris2-1/+6
2017-10-18pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.Eric Sesterhenn1-0/+3
2017-10-18KEYS: checking the input id parameters before finding asymmetric keyChun-Yi Lee1-0/+2
2017-10-18KEYS: Fix the wrong index when checking the existence of second idChun-Yi Lee1-1/+1
2017-10-12crypto: keywrap - simplify codeStephan Mueller1-58/+26
2017-10-12crypto: dh - return unsigned value for crypto_dh_key_len()Tudor-Dan Ambarus1-1/+1
2017-10-12crypto: dh - return unsigned int for dh_data_size()Tudor-Dan Ambarus1-1/+1
2017-10-12crypto: ecdh - return unsigned value for crypto_ecdh_key_len()Tudor-Dan Ambarus1-1/+1
2017-10-12crypto: lrw - Check for incorrect cipher nameChristophe Jaillet1-1/+2
2017-10-12crypto: lrw - Fix an error handling path in 'create()'Christophe Jaillet1-2/+4
2017-10-11crypto: shash - Fix zero-length shash ahash digest crashHerbert Xu1-3/+5
2017-10-07crypto: algboss - remove redundant setting of len to zeroColin Ian King1-1/+0
2017-10-07crypto: skcipher - Fix crash on zero-length inputHerbert Xu1-6/+11
2017-10-07crypto: shash - Fix a sleep-in-atomic bug in shash_setkey_unalignedJia-Ju Bai1-1/+1
2017-10-07crypto: xts - Fix an error handling path in 'create()'Christophe Jaillet1-2/+4
2017-09-22crypto: drop unnecessary return statementsGeliang Tang5-9/+0
2017-09-22crypto: gcm - Use GCM IV size constantCorentin LABBE1-11/+12
2017-09-22crypto: sm3 - add SM3 test vectorsGilad Ben-Yossef3-1/+86
2017-09-22crypto: sm3 - add OSCCA SM3 secure hashGilad Ben-Yossef3-0/+222
2017-09-20crypto: af_alg - update correct dst SGL entryStephan Mueller1-2/+2
2017-09-20crypto: drbg - fix freeing of resourcesStephan Mueller1-4/+4
2017-08-22crypto: af_alg - get_page upon reassignment to TX SGLStephan Mueller1-4/+2
2017-08-22crypto: hash - add crypto_(un)register_ahashes()Rabin Vincent1-0/+29
2017-08-22crypto: algif_aead - fix comment regarding memory layoutStephan Mueller1-2/+2
2017-08-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu2-2/+14
2017-08-22crypto: algif_skcipher - only call put_page on referenced and used pagesStephan Mueller1-2/+7
2017-08-22crypto: testmgr - add chunked test cases for chacha20Ard Biesheuvel1-0/+7
2017-08-22crypto: chacha20 - fix handling of chunked inputArd Biesheuvel1-2/+7
2017-08-09crypto: af_alg - consolidation of duplicate codeStephan Mueller3-1262/+770
2017-08-09crypto: serpent - improve __serpent_setkey with UBSANArnd Bergmann1-36/+41
2017-08-09crypto: algif_aead - copy AAD from src to dstStephan Mueller2-23/+162
2017-08-09crypto: algif - return error code when no data was processedStephan Mueller2-2/+6
2017-08-04crypto: algapi - make crypto_xor() take separate dst and src argumentsArd Biesheuvel2-10/+5
2017-08-04crypto: algapi - use separate dst and src operands for __crypto_xor()Ard Biesheuvel1-10/+15
2017-08-03crypto: scompress - defer allocation of scratch buffer to first useArd Biesheuvel1-29/+17
2017-08-03crypto: scompress - free partially allocated scratch buffers on failureArd Biesheuvel1-1/+4
2017-08-03crypto: scompress - don't sleep with preemption disabledArd Biesheuvel1-3/+1
2017-08-03crypto: ecdh - fix concurrency on shared secret and pubkeyTudor-Dan Ambarus1-18/+33
2017-08-03crypto: tcrypt - remove AES-XTS-192 speed testsHoria Geantă1-4/+4
2017-07-28crypto: rng - ensure that the RNG is ready before usingJason A. Donenfeld1-2/+4
2017-07-28crypto: algif_aead - overhaul memory managementStephan Mueller1-324/+442
2017-07-28crypto: algif_skcipher - overhaul memory managementStephan Mueller1-282/+279
2017-07-18crypto: authencesn - Fix digest_null crashHerbert Xu1-0/+5
2017-07-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+1
2017-07-12NetworkingHerbert Xu1-1/+1
2017-07-08Merge tag 'dmaengine-4.13-rc1' of git://git.infradead.org/users/vkoul/slave-dmaLinus Torvalds1-3/+2
2017-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+1
2017-07-05Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds19-117/+397
2017-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu3-8/+5
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-28crypto: testmgr - Reenable sha1/aes in FIPS modeHerbert Xu1-0/+1
2017-06-22crypto: drbg - Fixes panic in wait_for_completion callStephan Mueller1-0/+1
2017-06-20crypto: testmgr - add testvector for pkcs1pad(rsa)Stephan Mueller2-4/+125
2017-06-20crypto: rsa-pkcs1pad - use constant time memory comparison for MACsJason A. Donenfeld1-1/+1
2017-06-19crypto: engine - replace pr_xxx by dev_xxxCorentin LABBE1-10/+13
2017-06-19crypto: testmgr - use consistent format for errorsGilad Ben-Yossef1-9/+9
2017-06-19crypto: algapi - Use pr_err common logging style.Karim Eshapa1-1/+1
2017-06-19crypto: aes_ti - fix comment for MixColumns stepEric Biggers1-1/+1
2017-06-10crypto: testmgr - add genkey kpp testTudor-Dan Ambarus2-11/+112
2017-06-10crypto: ecdh - add privkey generation supportTudor-Dan Ambarus5-4/+80
2017-06-10X.509: Fix error code in x509_cert_parse()Dan Carpenter1-0/+1
2017-06-10crypto: drbg - Fixes panic in wait_for_completion callStephan Mueller1-0/+1
2017-06-10crypto: pkcs1pad - comply with crypto_akcipher_maxsize()Tudor-Dan Ambarus1-8/+2
2017-06-10crypto: rsa - comply with crypto_akcipher_maxsize()Tudor-Dan Ambarus1-2/+2
2017-06-10crypto: ecdh - comply with crypto_kpp_maxsize()Tudor-Dan Ambarus1-4/+3
2017-06-10crypto: dh - comply with crypto_kpp_maxsize()Tudor-Dan Ambarus1-1/+1
2017-06-10crypto: dh - fix memleak in setkeyTudor-Dan Ambarus1-0/+3
2017-06-10crypto: ecc - rename ecdh_make_pub_key()Tudor-Dan Ambarus3-7/+7
2017-06-10crypto: ecc - remove unnecessary castsTudor-Dan Ambarus3-25/+22
2017-06-10crypto: ecc - remove unused function argumentsTudor-Dan Ambarus3-21/+11
2017-06-10crypto: kpp, (ec)dh - fix typosTudor-Dan Ambarus5-11/+13
2017-06-10crypto: rng - Remove unused function __crypto_rng_cast()Matthias Kaehlcke1-5/+0
2017-06-09crypto : asymmetric_keys : verify_pefile:zero memory content before freeingLoganaden Velvindron1-2/+2
2017-06-09X.509: Fix error code in x509_cert_parse()Dan Carpenter1-0/+1
2017-05-23crypto: hmac - add hmac IPAD/OPAD constantCorentin LABBE1-2/+3
2017-05-23crypto: gcm - wait for crypto op not signal safeGilad Ben-Yossef1-4/+2
2017-05-23crypto: drbg - wait for crypto op not signal safeGilad Ben-Yossef1-3/+2
2017-05-23crypto: asymmetric_keys - handle EBUSY due to backlog correctlyGilad Ben-Yossef1-1/+1
2017-05-18crypto: tcrypt - don't disable irqs and waitGilad Ben-Yossef1-4/+0
2017-05-18crypto: skcipher - Add missing API setkey checksHerbert Xu1-1/+39
2017-05-16async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()Anup Patel1-3/+2