Home
last modified time | relevance | path

Searched full:drbg (Results 1 – 8 of 8) sorted by relevance

/linux/include/crypto/
H A Ddrbg.h2 * DRBG based on NIST SP800-90A
94 int (*update)(struct drbg_state *drbg, struct list_head *seed,
96 int (*generate)(struct drbg_state *drbg,
99 int (*crypto_init)(struct drbg_state *drbg);
100 int (*crypto_fini)(struct drbg_state *drbg);
115 struct mutex drbg_mutex; /* lock around DRBG */
124 /* some memory the DRBG can use for its operation */
136 enum drbg_seed_state seeded; /* DRBG fully seeded? */
147 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() argument
149 if (drbg && drbg->core) in drbg_statelen()
[all …]
/linux/Documentation/crypto/
H A Dapi-samples.rst162 char *drbg = "drbg_nopr_sha256"; /* Hash DRBG with SHA-256, no PR */
170 rng = crypto_alloc_rng(drbg, 0, 0);
172 pr_debug("could not allocate RNG handle for %s\n", drbg);
/linux/crypto/
H A DKconfig1184 tristate "NIST SP800-90A DRBG (Deterministic Random Bit Generator)"
1186 DRBG (Deterministic Random Bit Generator) (NIST SP800-90A)
1188 In the following submenu, one or more of the DRBG types must be selected.
1386 bool "Enable CAVP testing of DRBG"
1391 - resetting DRBG entropy
H A Dalgif_rng.c93 * RNG implementation. Some RNGs (DRBG, krng) do not need specific in _rng_recvmsg()
H A DMakefile167 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o
H A Dtestmgr.h22474 * SP800-90A DRBG Test vectors from
22475 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
22477 * Test vectors for DRBG with prediction resistance. All types of DRBGs
22914 * SP800-90A DRBG Test vectors from
22915 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
22917 * Test vectors for DRBG without prediction resistance. All types of DRBGs
/linux/arch/arm64/include/asm/
H A Darchrandom.h115 * RNDRRS is not backed by an entropy source but by a DRBG that is in arch_get_random_seed_longs()
/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c14 #include <crypto/drbg.h>