aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/drbg.c
AgeCommit message (Expand)AuthorFilesLines
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-91/+126
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-69/+54
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-23/+16
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