aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/drbg.c
AgeCommit message (Expand)AuthorFilesLines
2026-05-15crypto: drbg - Remove support for "prediction resistance"Eric Biggers1-58/+24
2026-05-15crypto: drbg - Rename MAX_ADDTL => MAX_ADDTL_BYTESEric Biggers1-5/+6
2026-05-07crypto: drbg - Clean up loop in drbg_hmac_update()Eric Biggers1-12/+2
2026-05-07crypto: drbg - Clean up generation codeEric Biggers1-34/+19
2026-05-07crypto: drbg - Remove redundant reseeding based on random.c stateEric Biggers1-98/+9
2026-05-07crypto: drbg - Change DRBG_MAX_REQUESTS to 4096Eric Biggers1-1/+1
2026-05-07crypto: drbg - Include get_random_bytes() output in additional inputEric Biggers1-4/+25
2026-05-07crypto: drbg - Simplify "uninstantiate" logicEric Biggers1-44/+13
2026-05-07crypto: drbg - Fold drbg_prepare_hrng() into drbg_kcapi_seed()Eric Biggers1-22/+12
2026-05-07crypto: drbg - Separate "reseed" case in drbg_kcapi_seed()Eric Biggers1-22/+16
2026-05-07crypto: drbg - Fold drbg_instantiate() into drbg_kcapi_seed()Eric Biggers1-64/+43
2026-05-07crypto: drbg - Put rng_alg methods in logical orderEric Biggers1-46/+36
2026-05-07crypto: drbg - Simplify drbg_generate_long() and fold into callerEric Biggers1-31/+17
2026-05-07crypto: drbg - Eliminate use of 'drbg_string' and listsEric Biggers1-110/+69
2026-05-07crypto: drbg - Consolidate "instantiate" logic and remove drbg_state::CEric Biggers1-23/+15
2026-05-07crypto: drbg - Move module aliases to end of fileEric Biggers1-3/+2
2026-05-07crypto: drbg - Install separate seed functions for pr and noprEric Biggers1-9/+16
2026-05-07crypto: drbg - Remove drbg_coreEric Biggers1-86/+13
2026-05-07crypto: drbg - Use HMAC-SHA512 library APIEric Biggers1-173/+40
2026-05-07crypto: drbg - Embed V and C into struct drbg_stateEric Biggers1-26/+4
2026-05-07crypto: drbg - Move fixed values into constantsEric Biggers1-122/+61
2026-05-07crypto: drbg - De-virtualize drbg_state_opsEric Biggers1-44/+6
2026-05-07crypto: drbg - Simplify algorithm registrationEric Biggers1-65/+35
2026-05-07crypto: drbg - Remove support for HMAC-SHA256 and HMAC-SHA384Eric Biggers1-20/+2
2026-05-07crypto: drbg - Remove support for HASH_DRBGEric Biggers1-342/+6
2026-05-07crypto: drbg - Remove support for CTR_DRBGEric Biggers1-326/+6
2026-05-07crypto: drbg - Remove import of crypto_cipher functionsEric Biggers1-2/+0
2026-05-07crypto: drbg - Fold include/crypto/drbg.h into crypto/drbg.cEric Biggers1-1/+131
2026-05-07crypto: drbg - Remove obsolete FIPS 140-2 continuous testEric Biggers1-76/+2
2026-05-07crypto: drbg - Remove unhelpful helper functionsEric Biggers1-10/+5
2026-05-07crypto: drbg - Remove broken commented-out codeEric Biggers1-29/+0
2026-05-07crypto: drbg - Remove always-enabled symbol CRYPTO_DRBG_HMACEric Biggers1-15/+0
2026-05-07crypto: drbg - Fix the fips_enabled priority boostEric Biggers1-1/+1
2026-05-07crypto: drbg - Fix ineffective sanity checkEric Biggers1-5/+4
2026-05-07crypto: drbg - Fix misaligned writes in CTR_DRBG and HASH_DRBGEric Biggers1-1/+2
2026-05-07crypto: drbg - Fix returning success on failure in CTR_DRBGEric Biggers1-1/+1
2026-03-22crypto: Fix several spelling mistakes in commentsSun Chaobo1-1/+1
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-2/+2
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-2/+2
2026-02-10Merge tag 'locking-core-2026-02-08' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+6
2026-02-10Merge tag 'v7.0-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-32/+17
2026-01-28crypto: Use scoped init guardMarco Elver1-1/+1
2026-01-15crypto: drbg - Use new AES library APIEric Biggers1-6/+6
2026-01-05crypto: Enable context analysisMarco Elver1-0/+5
2025-12-29crypto: drbg - make drbg_get_random_bytes() return *void*Sergey Shtylyov1-12/+5
2025-12-29crypto: drbg - make drbg_fips_continuous_test() return boolSergey Shtylyov1-17/+11
2025-12-29crypto: drbg - kill useless variable in drbg_fips_continuous_test()Sergey Shtylyov1-3/+1
2025-11-24crypto: drbg - Delete unused ctx from struct sdescHerbert Xu1-1/+0
2025-10-17crypto: drbg - Replace AES cipher calls with library callsHarsh Jain1-13/+8
2025-10-17crypto: drbg - Export CTR DRBG DF functionsHarsh Jain1-239/+5
2025-05-05Revert "crypto: run initcalls for generic implementations earlier"Herbert Xu1-1/+1
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra1-1/+1
2024-10-28crypto: drbg - Use str_true_false() and str_enabled_disabled() helpersThorsten Blum1-2/+3
2023-11-17crypto: drbg - Remove SHA1 from drbgDimitri John Ledkov1-16/+0
2023-11-17crypto: drbg - ensure drbg hmac sha512 is used in FIPS selftestsDimitri John Ledkov1-6/+6
2023-11-17crypto: drbg - update FIPS CTR self-checks to aes256Dimitri John Ledkov1-3/+3
2023-11-17crypto: drbg - ensure most preferred type is FIPS health checkedDimitri John Ledkov1-2/+4
2023-10-27crypto: drbg - stop checking crypto_shash_alignmaskEric Biggers1-1/+1
2023-04-06crypto: drbg - Only fail when jent is unavailable in FIPS modeHerbert Xu1-1/+1
2022-08-19crypto: drbg - remove unnecessary (void*) conversionsDong Chuanjian1-7/+5
2021-12-11crypto: drbg - ignore jitterentropy errors if not in FIPS modeNicolai Stange1-2/+5
2021-11-26crypto: drbg - reseed 'nopr' drbgs periodically from get_random_bytes()Nicolai Stange1-1/+25
2021-11-26crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errorsNicolai Stange1-8/+8
2021-11-26crypto: drbg - make reseeding from get_random_bytes() synchronousNicolai Stange1-51/+11
2021-11-26crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()Nicolai Stange1-9/+21
2021-11-26crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()Nicolai Stange1-4/+8
2021-11-26crypto: drbg - prepare for more fine-grained tracking of seeding stateNicolai Stange1-9/+10
2021-09-17crypto: drbg - Fix unused value warning in drbg_healthcheck_sanity()Tim Gardner1-1/+1
2021-05-28crypto: DRBG - switch to HMAC SHA512 DRBG as default DRBGStephan Müller1-6/+6
2021-01-03crypto: remove cipher routines from public crypto APIArd Biesheuvel1-0/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-5/+5
2020-06-15crypto: drbg - always try to free Jitter RNG instanceStephan Müller1-2/+4
2020-05-08crypto: drbg - fix error return code in drbg_alloc_state()Wei Yongjun1-1/+3
2020-04-24crypto: drbg - always seeded with SP800-90B compliant noise sourceStephan Müller1-7/+19
2019-05-23crypto: drbg - add FIPS 140-2 CTRNG for noise sourceStephan Mueller1-3/+91
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers1-1/+0
2019-04-18crypto: run initcalls for generic implementations earlierEric Biggers1-1/+1
2018-08-03crypto: drbg - in-place cipher operation for CTRStephan Müller1-20/+14
2018-07-20crypto: drbg - eliminate constant reinitialization of SGLStephan Mueller1-4/+7
2018-04-21crypto: drbg - set freed buffers to NULLStephan Mueller1-0/+2
2017-11-03crypto: drbg - move to generic async completionGilad Ben-Yossef1-27/+9
2017-09-20crypto: drbg - fix freeing of resourcesStephan Mueller1-4/+4
2017-06-22crypto: drbg - Fixes panic in wait_for_completion callStephan Mueller1-0/+1
2017-05-23crypto: drbg - wait for crypto op not signal safeGilad Ben-Yossef1-3/+2
2017-03-24crypto: DRBG - initialize SGL only onceStephan Mueller1-3/+2
2016-11-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-5/+24
2016-11-30crypto: drbg - prevent invalid SG mappingsStephan Mueller1-5/+24
2016-11-21crypto: drbg - advance output buffer pointerStephan Mueller1-0/+1
2016-08-24crypto: drbg - fix error return codeWei Yongjun1-5/+11
2016-08-16crypto: drbg - do not call drbg_instantiate in healt testStephan Mueller1-11/+4
2016-06-20crypto: drbg - fix an error code in drbg_init_sym_kernel()Dan Carpenter1-1/+1
2016-06-20crypto: drbg - fix semicolon.cocci warningsWu Fengguang1-1/+1
2016-06-15crypto: drbg - avoid duplicate maintenance of keyStephan Mueller1-2/+1
2016-06-15crypto: drbg - use full CTR AES for updateStephan Mueller1-17/+13
2016-06-15crypto: drbg - use aligned buffersStephan Mueller1-20/+24
2016-06-15crypto: drbg - use CTR AES instead of ECB AESStephan Mueller1-54/+139
2016-06-02crypto: drbg - reduce number of setkey callsStephan Mueller1-9/+24
2016-04-05crypto: drbg - set HMAC key only when alteredStephan Mueller1-14/+25
2016-01-25crypto: drbg - remove FIPS 140-2 continuous testStephan Mueller1-64/+0
2015-12-10crypto: drbg - constify drbg_state_ops structuresJulia Lawall1-3/+3
2015-06-11crypto: drbg - report backend_cra_name when allocation failsSergey Senozhatsky1-2/+4
2015-06-10crypto: drbg - reseed often if seedsource is degradedStephan Mueller1-1/+11
2015-06-10crypto: drbg - Use callback API for random readinessStephan Mueller1-90/+125
2015-06-04crypto: drbg - Add stdrng alias and increase priorityHerbert Xu1-1/+2
2015-05-27crypto: drbg - use Jitter RNG to obtain seedStephan Mueller1-7/+45
2015-05-27crypto: drbg - add async seeding operationStephan Mueller1-0/+24
2015-05-27crypto: drbg - prepare for async seedingStephan Mueller1-27/+54
2015-04-23crypto: drbg - Remove FIPS ifdef from drbg_healthcheck_sanityHerbert Xu1-4/+0
2015-04-22crypto: drbg - Convert to new rng interfaceHerbert Xu1-68/+53
2015-04-21crypto: drbg - Do not seed RNG in drbg_kcapi_initHerbert Xu1-48/+55
2015-04-21crypto: drbg - Initialise mutex in drbg_healthcheck_sanityHerbert Xu1-0/+2
2015-04-21crypto: drbg - leave cipher handles operationalStephan Mueller1-8/+4
2015-04-21crypto: drbg - replace spinlock with mutexStephan Mueller1-119/+25
2015-04-21crypto: drbg - fix drbg_generate return val checkStephan Mueller1-7/+7
2015-04-21cryoto: drbg - clear all temporary memoryStephan Mueller1-1/+1
2015-03-09crypto: rng - RNGs must return 0 in success caseStephan Mueller1-1/+6
2015-03-04crypto: drbg - remove superflowous memsetsStephan Mueller1-18/+0
2015-03-04crypto: drbg - use single block cipher APIStephan Mueller1-22/+15
2015-01-05Revert "crypto: drbg - use memzero_explicit() for clearing sensitive data"Herbert Xu1-12/+11
2014-12-22crypto: drbg - panic on continuous self test errorStephan Mueller1-9/+2
2014-11-27crypto: drbg - use memzero_explicit() for clearing sensitive dataNickolaus Woodruff1-11/+12
2014-11-26crypto: drbg - use MODULE_ALIAS_CRYPTOStephan Mueller1-22/+22
2014-11-10crypto: drbg - add MODULE_ALIAS for all DRBG typesStephan Mueller1-0/+25
2014-10-24crypto: drbg - use crypto_incStephan Mueller1-41/+38
2014-09-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-3/+0
2014-09-05crypto: drbg - remove check for uninitialized DRBG handleStephan Mueller1-3/+0
2014-08-26crypto: drbg - fix sparse warning for cpu_to_be[32|64]Stephan Mueller1-2/+2
2014-08-25crypto: drbg - remove unnecessary sanity check for shadow stateStephan Mueller1-3/+0
2014-08-25crypto: drbg - remove configuration of fixed valuesStephan Mueller1-33/+0
2014-08-25crypto: drbg - remove unnecessary sanity checksStephan Mueller1-9/+0
2014-08-25crypto: drbg - use kmalloc instead of kzalloc for V and CStephan Mueller1-3/+8
2014-08-25crypto: drbg - remove superflowous memset(0)Stephan Mueller1-4/+2
2014-08-25crypto: drbg - remove superflowous checksStephan Mueller1-10/+6
2014-08-25crypto: drbg - kzfree does not need a check for NULL pointerStephan Mueller1-12/+6
2014-08-25crypto: drbg - replace int2byte with cpu_to_beStephan Mueller1-16/+18
2014-08-01crypto: drbg - fix failure of generating multiple of 2**16 bytesStephan Mueller1-1/+1
2014-07-10crypto: drbg - drbg_exit() can be staticFengguang Wu1-1/+1
2014-07-08crypto: drbg - HMAC-SHA1 DRBG has crypto strength of 128 bitsStephan Mueller1-1/+1
2014-07-08crypto: drbg - Mix a time stamp into DRBG stateStephan Mueller1-24/+35
2014-07-08crypto: drbg - Select correct DRBG core for stdrngStephan Mueller1-1/+1
2014-07-08crypto: drbg - Call CTR DRBG DF function only onceStephan Mueller1-19/+22
2014-07-08crypto: drbg - Fix format string for debugging statementsStephan Mueller1-2/+2
2014-07-08crypto: drbg - cleanup of preprocessor macrosStephan Mueller1-11/+17
2014-07-04crypto: drbg - Use Kconfig to ensure at least one RNG option is setHerbert Xu1-6/+0
2014-07-04crypto: drbg - use of kernel linked listStephan Mueller1-109/+124
2014-07-04crypto: drbg - fix memory corruption for AES192Stephan Mueller1-3/+11
2014-06-26crypto: drbg - simplify ordering of linked list in drbg_ctr_dfStephan Mueller1-5/+5
2014-06-20crypto: drbg - SP800-90A Deterministic Random Bit GeneratorStephan Mueller1-0/+2007