Home
last modified time | relevance | path

Searched refs:drbg (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/crypto/
H A Ddrbg.c195 static int drbg_uninstantiate(struct drbg_state *drbg);
242 static int drbg_fips_continuous_test(struct drbg_state *drbg, in drbg_fips_continuous_test() argument
245 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test()
252 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test()
258 if (!drbg->fips_primed) { in drbg_fips_continuous_test()
260 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
261 drbg->fips_primed = true; in drbg_fips_continuous_test()
265 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
268 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
307 static void drbg_kcapi_symsetkey(struct drbg_state *drbg,
[all …]
H A Dfips140-selftests.c138 struct drbg_testvec drbg; member
466 const struct drbg_testvec *vec = &test->drbg; in fips_test_drbg()
525 if (test->drbg.entpr_size) { in fips_test_drbg()
907 .drbg = {
H A DMakefile160 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o
213 crypto-fips-objs := drbg.o ecb.o cbc.o ctr.o cts.o gcm.o xts.o hmac.o cmac.o \
H A Dtestmgr.c155 struct drbg_test_suite drbg; member
3730 const struct drbg_testvec *template = desc->suite.drbg.vecs; in alg_test_drbg()
3731 unsigned int tcount = desc->suite.drbg.count; in alg_test_drbg()
4669 .drbg = __VECS(drbg_nopr_ctr_aes128_tv_template)
4676 .drbg = __VECS(drbg_nopr_ctr_aes192_tv_template)
4683 .drbg = __VECS(drbg_nopr_ctr_aes256_tv_template)
4698 .drbg = __VECS(drbg_nopr_hmac_sha256_tv_template)
4718 .drbg = __VECS(drbg_nopr_sha256_tv_template)
4734 .drbg = __VECS(drbg_pr_ctr_aes128_tv_template)
4754 .drbg = __VECS(drbg_pr_hmac_sha256_tv_template)
[all …]
/OK3568_Linux_fs/kernel/include/crypto/
H A Ddrbg.h94 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);
146 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() argument
148 if (drbg && drbg->core) in drbg_statelen()
149 return drbg->core->statelen; in drbg_statelen()
153 static inline __u8 drbg_blocklen(struct drbg_state *drbg) in drbg_blocklen() argument
155 if (drbg && drbg->core) in drbg_blocklen()
156 return drbg->core->blocklen_bytes; in drbg_blocklen()
[all …]
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/
H A Dmodules.builtin.modinfo
H A Dmodules.builtin
/OK3568_Linux_fs/output/sessions/2025-06-06_01-57-56/
H A D10-kernel-build_2025-06-06_01-57-58.log
H A Dbuild_2025-06-06_01-57-58.log
H A D10-kernel-build.log
H A Dbuild.log
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...