aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2025-04-16crypto: hmac - Make descsize an algorithm attributeHerbert Xu1-3/+1
2025-04-16crypto: api - Add support for duplicating algorithms before registrationHerbert Xu14-14/+52
2025-04-16crypto: api - Allow delayed algorithm destructionHerbert Xu1-4/+4
2025-04-16crypto: essiv - Remove unnecessary strscpy() size argumentThorsten Blum1-2/+1
2025-04-16crypto: ecdsa - Fix NIST P521 key size reported by KEYCTL_PKEY_QUERYLukas Wunner7-13/+21
2025-04-16crypto: ecdsa - Fix enc/dec size reported by KEYCTL_PKEY_QUERYLukas Wunner1-2/+7
2025-04-16crypto: ahash - Use cra_reqsizeHerbert Xu1-2/+2
2025-04-16crypto: acomp - Remove reqsize fieldHerbert Xu1-1/+1
2025-04-16crypto: acomp - Use cra_reqsizeHerbert Xu1-1/+1
2025-04-16crypto: acomp - Simplify folio handlingHerbert Xu2-48/+4
2025-04-16crypto: acomp - Add ACOMP_REQUEST_CLONEHerbert Xu1-0/+23
2025-04-16crypto: acomp - Add ACOMP_FBREQ_ON_STACKHerbert Xu1-13/+1
2025-04-16crypto: x509 - Replace kmalloc() + NUL-termination with kzalloc()Thorsten Blum1-2/+1
2025-04-16crypto: ahash - Remove request chainingHerbert Xu1-137/+32
2025-04-16Revert "crypto: tcrypt - Restore multibuffer ahash tests"Herbert Xu1-231/+0
2025-04-16crypto: acomp - Remove request chainingHerbert Xu2-100/+35
2025-04-16crypto: deflate - Remove request chainingHerbert Xu1-14/+0
2025-04-16Revert "crypto: testmgr - Add multibuffer acomp testing"Herbert Xu1-82/+63
2025-04-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu2-75/+2
2025-04-12crypto: ahash - Disable request chainingHerbert Xu1-75/+1
2025-04-12crypto: scomp - Fix wild memory accesses in scomp_free_streamsHerbert Xu1-3/+4
2025-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-0/+3
2025-04-09crypto: scomp - Fix null-pointer deref when freeing streamsHerbert Xu1-0/+3
2025-04-07crypto: chacha - remove <crypto/internal/chacha.h>Eric Biggers1-1/+34
2025-04-07crypto: chacha - centralize the skcipher wrappers for arch codeEric Biggers3-140/+229
2025-04-07crypto: scomp - Drop the dst scratch bufferHerbert Xu1-54/+44
2025-04-07crypto: deflate - Convert to acompHerbert Xu1-175/+186
2025-04-07crypto: acomp - Add acomp_walkHerbert Xu1-0/+116
2025-04-07crypto: acomp - Move scomp stream allocation code into acompHerbert Xu2-121/+124
2025-04-07crypto: scomp - Allocate per-cpu buffer on first use of each CPUHerbert Xu1-41/+158
2025-04-07crypto: api - Ensure cra_type->destroy is done in process contextHerbert Xu3-15/+11
2025-04-07crypto: api - Move alg destroy work from instance to templateHerbert Xu1-8/+27
2025-04-02Merge tag 'v6.15-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-133/+24
2025-03-30Revert "crypto: testmgr - Add multibuffer hash testing"Herbert Xu1-133/+24
2025-03-29Merge tag 'v6.15-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds53-1215/+5800
2025-03-26Merge tag 'for-6.15/block-20250322' of git://git.kernel.dk/linuxLinus Torvalds3-0/+580
2025-03-22crypto: testmgr - Add multibuffer acomp testingHerbert Xu1-63/+79
2025-03-22crypto: acomp - Fix synchronous acomp chaining fallbackHerbert Xu1-22/+11
2025-03-22crypto: testmgr - Add multibuffer hash testingHerbert Xu1-24/+136
2025-03-22crypto: hash - Fix synchronous ahash chaining fallbackHerbert Xu1-32/+28
2025-03-21crypto: essiv - Replace memcpy() + NUL-termination with strscpy()Thorsten Blum1-2/+1
2025-03-21crypto: api - Call crypto_alg_put in crypto_unregister_algHerbert Xu1-2/+1
2025-03-21crypto: scompress - Fix incorrect stream freeingHerbert Xu1-1/+1
2025-03-21crypto: lib/chacha - remove unused arch-specific init supportEric Biggers1-2/+2
2025-03-21crypto: remove obsolete 'comp' compression APIArd Biesheuvel6-194/+13
2025-03-21crypto: compress_null - drop obsolete 'comp' implementationArd Biesheuvel2-29/+5
2025-03-21crypto: zstd - drop obsolete 'comp' implementationArd Biesheuvel1-55/+1
2025-03-21crypto: lzo - drop obsolete 'comp' implementationArd Biesheuvel1-64/+4
2025-03-21crypto: lzo-rle - drop obsolete 'comp' implementationArd Biesheuvel1-64/+4
2025-03-21crypto: lz4hc - drop obsolete 'comp' implementationArd Biesheuvel1-64/+2
2025-03-21crypto: lz4 - drop obsolete 'comp' implementationArd Biesheuvel1-60/+1
2025-03-21crypto: deflate - drop obsolete 'comp' implementationArd Biesheuvel1-57/+1
2025-03-21crypto: 842 - drop obsolete 'comp' implementationArd Biesheuvel1-64/+2
2025-03-21crypto: scompress - Fix scratch allocation failure handlingHerbert Xu1-1/+5
2025-03-21crypto: acomp - Add support for foliosHerbert Xu2-29/+79
2025-03-21crypto: acomp - Add async nondma fallbackHerbert Xu1-28/+41
2025-03-21crypto: acomp - Add ACOMP_REQUEST_ALLOC and acomp_request_alloc_extraHerbert Xu1-5/+33
2025-03-21crypto: scomp - Add chaining and virtual address supportHerbert Xu1-29/+63
2025-03-21crypto: scomp - Remove support for some non-trivial SG listsHerbert Xu2-53/+71
2025-03-21crypto: hash - Use nth_page instead of doing it by handHerbert Xu1-2/+2
2025-03-21crypto: hash - Fix test underflow in shash_ahash_digestHerbert Xu1-14/+26
2025-03-21crypto: krb5 - Use SG miter instead of doing it by handHerbert Xu1-20/+15
2025-03-21crypto: scatterwalk - simplify map and unmap calling conventionEric Biggers1-20/+8
2025-03-20crypto,fs: Separate out hkdf_extract() and hkdf_expand()Hannes Reinecke3-0/+580
2025-03-15crypto: testmgr - Remove NULL dst acomp testsHerbert Xu1-29/+0
2025-03-15crypto: acomp - Add request chaining and virtual addressesHerbert Xu1-0/+197
2025-03-15crypto: scomp - Disable BH when taking per-cpu spin lockHerbert Xu1-2/+2
2025-03-15crypto: acomp - Move stream management into scomp layerHerbert Xu3-64/+58
2025-03-15crypto: scomp - Remove tfm argument from alloc/free_ctxHerbert Xu7-24/+24
2025-03-15crypto: api - Add cra_type->destroy hookHerbert Xu2-2/+14
2025-03-15crypto: skcipher - Make skcipher_walk src.virt.addr constHerbert Xu5-22/+22
2025-03-15crypto: skcipher - Eliminate duplicate virt.addr fieldHerbert Xu1-17/+12
2025-03-15crypto: scatterwalk - Add memcpy_sglistHerbert Xu1-0/+27
2025-03-15crypto: scatterwalk - Change scatterwalk_next calling conventionHerbert Xu3-15/+16
2025-03-15async_xor: Remove unused 'async_xor_val'Dr. David Alan Gilbert1-26/+0
2025-03-08crypto: skcipher - fix mismatch between mapping and unmapping orderEric Biggers1-3/+3
2025-03-08crypto: Kconfig - Select LIB generic optionHerbert Xu1-0/+3
2025-03-08crypto: acomp - Remove acomp request flagsHerbert Xu1-1/+1
2025-03-08crypto: lzo - Fix compression buffer overrunHerbert Xu2-2/+2
2025-03-08crypto: api - Move struct crypto_type into internal.hHerbert Xu1-0/+14
2025-03-02crypto/krb5: Implement crypto self-testingDavid Howells6-0/+905
2025-03-02crypto/krb5: Implement the Camellia enctypes from rfc6803David Howells5-0/+248
2025-03-02crypto/krb5: Implement the AES enctypes from rfc8009David Howells5-1/+374
2025-03-02crypto/krb5: Implement the AES enctypes from rfc3962David Howells5-1/+126
2025-03-02crypto/krb5: Implement the Kerberos5 rfc3961 get_mic and verify_micDavid Howells2-0/+140
2025-03-02crypto/krb5: Implement the Kerberos5 rfc3961 encrypt and decrypt functionsDavid Howells2-0/+159
2025-03-02crypto/krb5: Provide RFC3961 setkey packaging functionsDavid Howells2-4/+138
2025-03-02crypto/krb5: Implement the Kerberos5 rfc3961 key derivationDavid Howells3-1/+415
2025-03-02crypto/krb5: Provide infrastructure and key derivationDavid Howells3-0/+156
2025-03-02crypto/krb5: Add an API to perform requestsDavid Howells1-0/+141
2025-03-02crypto/krb5: Add an API to alloc and prepare a crypto objectDavid Howells2-0/+154
2025-03-02crypto/krb5: Add an API to query the layout of the crypto sectionDavid Howells1-0/+108
2025-03-02crypto/krb5: Implement Kerberos crypto coreDavid Howells6-0/+180
2025-03-02crypto/krb5: Test manager dataDavid Howells2-0/+367
2025-03-02crypto: Add 'krb5enc' hash and cipher AEAD algorithmDavid Howells3-0/+517
2025-03-02crypto: lib/Kconfig - Hide arch options from userHerbert Xu1-3/+3
2025-03-02crypto: skcipher - Use restrict rather than hand-rolling accessesHerbert Xu1-28/+23
2025-03-02crypto: scatterwalk - don't split at page boundaries when !HIGHMEMEric Biggers1-2/+2
2025-03-02crypto: scatterwalk - remove obsolete functionsEric Biggers1-37/+0
2025-03-02crypto: skcipher - use the new scatterwalk functionsEric Biggers1-32/+19
2025-03-02crypto: aegis - use the new scatterwalk functionsEric Biggers1-6/+4
2025-03-02crypto: skcipher - use scatterwalk_start_at_pos()Eric Biggers1-8/+2
2025-03-02crypto: scatterwalk - add new functions for copying dataEric Biggers1-9/+50
2025-03-02crypto: scatterwalk - add new functions for skipping dataEric Biggers1-0/+15
2025-03-02crypto: bpf - Add MODULE_DESCRIPTION for skcipherArnd Bergmann1-0/+1
2025-02-22crypto: ahash - Set default reqsize from ahash_algHerbert Xu1-0/+4
2025-02-22crypto: ahash - Add virtual address supportHerbert Xu1-31/+251
2025-02-22crypto: tcrypt - Restore multibuffer ahash testsHerbert Xu1-0/+231
2025-02-22crypto: hash - Add request chaining APIHerbert Xu2-27/+236
2025-02-22crypto: ahash - Only save callback and data in ahash_save_reqHerbert Xu1-62/+35
2025-02-22crypto: skcipher - Zap type in crypto_alloc_sync_skcipherHerbert Xu1-0/+1
2025-02-22crypto: api - Fix larval relookup type and maskHerbert Xu1-10/+7
2025-02-22crypto: null - Use spin lock instead of mutexHerbert Xu1-12/+25
2025-02-22crypto: aead - use str_yes_no() helper in crypto_aead_show()Thorsten Blum1-2/+3
2025-02-22crypto: ahash - use str_yes_no() helper in crypto_ahash_show()Thorsten Blum1-2/+3
2025-02-09crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()Lukas Wunner3-4/+4
2025-02-09crypto: sig - Prepare for algorithms with variable signature sizeLukas Wunner3-11/+7
2025-02-09crypto: skcipher - use str_yes_no() helper in crypto_skcipher_show()Thorsten Blum1-1/+2
2025-02-08crypto: crct10dif - remove from crypto APIEric Biggers6-482/+0
2025-02-08lib/crc32: remove "_le" from crc32c base and arch functionsEric Biggers1-2/+2
2025-02-08lib/crc32: standardize on crc32c() name for Castagnoli CRC32Eric Biggers1-2/+2
2025-02-08crypto: crc64-rocksoft - remove from crypto APIEric Biggers5-123/+0
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2025-01-24Merge tag 'v6.14-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds20-1744/+296
2025-01-22Merge tag 'crc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds6-107/+81
2025-01-21Merge tag 'kthread-for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2025-01-19crypto: asymmetric_keys - Remove unused key_being_used_for[]Dr. David Alan Gilbert1-10/+0
2025-01-14crypto: skcipher - call cond_resched() directlyEric Biggers1-2/+2
2025-01-14crypto: skcipher - optimize initializing skcipher_walk fieldsEric Biggers1-10/+20
2025-01-14crypto: skcipher - clean up initialization of skcipher_walk::flagsEric Biggers1-26/+13
2025-01-14crypto: skcipher - fold skcipher_walk_skcipher() into skcipher_walk_virt()Eric Biggers1-15/+8
2025-01-14crypto: skcipher - remove redundant check for SKCIPHER_WALK_SLOWEric Biggers1-1/+1
2025-01-14crypto: skcipher - remove redundant clamping to page sizeEric Biggers1-5/+1
2025-01-14crypto: skcipher - remove unnecessary page alignment of bounce bufferEric Biggers1-46/+14
2025-01-14crypto: skcipher - document skcipher_walk_done() and rename some varsEric Biggers1-16/+34
2025-01-14crypto: proc - Use str_yes_no() and str_no_yes() helpersThorsten Blum1-6/+3
2025-01-08treewide: Introduce kthread_run_worker[_on_cpu]()Frederic Weisbecker1-1/+1
2025-01-04crypto: ahash - make hash walk functions private to ahash.cEric Biggers1-71/+87
2025-01-04crypto: keywrap - remove unused keywrap algorithmEric Biggers5-386/+1
2025-01-04crypto: vmac - remove unused VMAC algorithmEric Biggers6-870/+0
2025-01-04crypto: fips - Use str_enabled_disabled() helper in fips_enable()Thorsten Blum1-2/+2
2024-12-14crypto: keywrap - remove assignment of 0 to cra_alignmaskEric Biggers1-1/+0
2024-12-14crypto: aegis - remove assignments of 0 to cra_alignmaskEric Biggers1-2/+0
2024-12-14crypto: seed - stop using cra_alignmaskEric Biggers1-27/+21
2024-12-14crypto: khazad - stop using cra_alignmaskEric Biggers1-11/+6
2024-12-14crypto: tea - stop using cra_alignmaskEric Biggers1-50/+33
2024-12-14crypto: aria - stop using cra_alignmaskEric Biggers1-20/+17
2024-12-14crypto: anubis - stop using cra_alignmaskEric Biggers1-9/+5
2024-12-14crypto: skcipher - remove support for physical address walksEric Biggers1-160/+25
2024-12-10crypto: sig - Set maskset to CRYPTO_ALG_TYPE_MASKHerbert Xu1-3/+1
2024-12-10crypto: api - Call crypto_schedule_test outside of mutexHerbert Xu1-10/+17
2024-12-10crypto: api - Fix boot-up self-test raceHerbert Xu1-2/+2
2024-12-10crypto: rsassa-pkcs1 - Copy source data for SG listHerbert Xu1-31/+14
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra18-20/+20
2024-12-01crypto: crct10dif - expose arch-optimized lib functionEric Biggers2-18/+65
2024-12-01lib/crc-t10dif: stop wrapping the crypto APIEric Biggers3-83/+2
2024-12-01crypto: crc32 - don't unnecessarily register arch algorithmsEric Biggers2-4/+12
2024-12-01lib/crc32: improve support for arch-specific overridesEric Biggers2-4/+4
2024-12-01lib/crc32: drop leading underscores from __crc32c_le_baseEric Biggers1-4/+4
2024-11-19Merge tag 'random-6.13-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2024-11-19Merge tag 'v6.13-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds23-1052/+2327
2024-11-10crypto: rsassa-pkcs1 - Reinstate support for legacy protocolsLukas Wunner4-5/+78
2024-11-02crypto: asymmetric_keys - Remove unused functionsDr. David Alan Gilbert1-63/+0
2024-10-28crypto: api - move crypto_simd_disabled_for_test to libEric Biggers1-6/+0
2024-10-28crypto: crc32c - Provide crc32c-arch driver for accelerated library codeArd Biesheuvel2-22/+73
2024-10-28crypto: crc32 - Provide crc32-arch driver for accelerated library codeArd Biesheuvel2-24/+71
2024-10-28crypto: drbg - Use str_true_false() and str_enabled_disabled() helpersThorsten Blum1-2/+3
2024-10-28crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return ...Yi Yang1-4/+8
2024-10-28crypto: ecdsa - Update Kconfig help text for NIST P521Lukas Wunner1-1/+1
2024-10-26crypto: sig - Fix oops on KEYCTL_PKEY_QUERY for RSA keysLukas Wunner1-12/+24
2024-10-19crypto: jitter - output full sample from test interfaceJoachim Vandersmissen2-17/+18
2024-10-16Merge tag 'v6.12-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2-13/+12
2024-10-10crypto: testmgr - Hide ENOENT errors betterHerbert Xu1-12/+11
2024-10-10crypto: api - Fix liveliness check in crypto_alg_testedHerbert Xu1-1/+1
2024-10-05crypto: ecrdsa - Fix signature size calculationLukas Wunner1-0/+8
2024-10-05crypto: ecdsa - Support P1363 signature decodingLukas Wunner6-1/+216
2024-10-05crypto: ecdsa - Move X9.62 signature size calculation into templateLukas Wunner4-34/+60
2024-10-05crypto: sig - Rename crypto_sig_maxsize() to crypto_sig_keysize()Lukas Wunner7-17/+17
2024-10-05crypto: ecdsa - Move X9.62 signature decoding into templateLukas Wunner6-70/+942
2024-10-05crypto: ecdsa - Avoid signed integer overflow on signature decodingLukas Wunner1-12/+7
2024-10-05crypto: sig - Move crypto_sig_*() API calls to include fileLukas Wunner1-46/+0
2024-10-05crypto: akcipher - Drop sign/verify operationsLukas Wunner5-220/+54
2024-10-05crypto: rsassa-pkcs1 - Avoid copying hash prefixLukas Wunner1-8/+10
2024-10-05crypto: rsassa-pkcs1 - Harden digest length verificationLukas Wunner1-1/+19
2024-10-05crypto: rsassa-pkcs1 - Migrate to sig_alg backendLukas Wunner8-341/+474
2024-10-05crypto: rsa-pkcs1pad - Deduplicate set_{pub,priv}_key callbacksLukas Wunner1-28/+2
2024-10-05crypto: ecrdsa - Migrate to sig_alg backendLukas Wunner4-41/+28
2024-10-05crypto: ecdsa - Migrate to sig_alg backendLukas Wunner4-90/+55
2024-10-05crypto: sig - Introduce sig_alg backendLukas Wunner3-2/+269
2024-10-05crypto: ecdsa - Drop unused test vector elementsLukas Wunner1-105/+10
2024-10-03crypto: testmgr: Include <linux/prandom.h> instead of <linux/random.h>Uros Bizjak1-1/+1
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro26-26/+26
2024-09-20KEYS: prevent NULL pointer dereference in find_asymmetric_key()Roman Smirnov1-3/+4
2024-09-13crypto: aegis128 - Fix indentation issue in crypto_aegis128_process_crypt()Riyan Dhiman1-2/+3
2024-09-06crypto: testmgr - Hide ENOENT errorsHerbert Xu1-1/+22
2024-09-06crypto: algboss - Pass instance creation error upHerbert Xu1-1/+2
2024-09-06crypto: api - Fix generic algorithm self-test racesHerbert Xu1-7/+8
2024-08-30crypto: jitter - Use min() to simplify jent_read_entropy()Thorsten Blum1-4/+2
2024-08-24crypto: simd - Do not call crypto_alloc_tfm during registrationHerbert Xu1-61/+15
2024-08-24crypto: api - Do not wait for tests during registrationHerbert Xu3-31/+32