Home
last modified time | relevance | path

Searched refs:drbg_state (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/include/crypto/
A Ddrbg.h81 struct drbg_state;
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);
114 struct drbg_state { struct
147 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() argument
154 static inline __u8 drbg_blocklen(struct drbg_state *drbg) in drbg_blocklen()
161 static inline __u8 drbg_keylen(struct drbg_state *drbg) in drbg_keylen()
174 static inline size_t drbg_max_addtl(struct drbg_state *drbg) in drbg_max_addtl()
[all …]
/linux-6.3-rc2/crypto/
A Ddrbg.c314 static int drbg_kcapi_sym_ctr(struct drbg_state *drbg,
320 static int drbg_ctr_bcc(struct drbg_state *drbg, in drbg_ctr_bcc()
398 static int drbg_ctr_df(struct drbg_state *drbg, in drbg_ctr_df()
595 static int drbg_ctr_generate(struct drbg_state *drbg, in drbg_ctr_generate()
822 static int drbg_hash_df(struct drbg_state *drbg, in drbg_hash_df()
1383 static int drbg_generate(struct drbg_state *drbg, in drbg_generate()
1662 struct drbg_state *drbg = crypto_rng_ctx(tfm); in drbg_kcapi_set_entropy()
1927 struct drbg_state *drbg = crypto_tfm_ctx(tfm); in drbg_kcapi_init()
1952 struct drbg_state *drbg = crypto_rng_ctx(tfm); in drbg_kcapi_random()
1971 struct drbg_state *drbg = crypto_rng_ctx(tfm); in drbg_kcapi_seed()
[all …]

Completed in 8 milliseconds