Home
last modified time | relevance | path

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

/linux/include/crypto/
H A Ddrbg.h58 struct drbg_state;
71 int (*update)(struct drbg_state *drbg, struct list_head *seed,
73 int (*generate)(struct drbg_state *drbg,
76 int (*crypto_init)(struct drbg_state *drbg);
77 int (*crypto_fini)(struct drbg_state *drbg);
91 struct drbg_state { struct
124 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() argument
131 static inline __u8 drbg_blocklen(struct drbg_state *drbg) in drbg_blocklen()
138 static inline __u8 drbg_keylen(struct drbg_state *drbg) in drbg_keylen()
145 static inline size_t drbg_max_request_bytes(struct drbg_state *drbg) in drbg_max_request_bytes()
[all …]
/linux/crypto/
H A Ddrbg.c186 static int drbg_uninstantiate(struct drbg_state *drbg);
232 static bool drbg_fips_continuous_test(struct drbg_state *drbg, in drbg_fips_continuous_test()
276 static int drbg_init_sym_kernel(struct drbg_state *drbg);
277 static int drbg_fini_sym_kernel(struct drbg_state *drbg);
278 static int drbg_kcapi_sym_ctr(struct drbg_state *drbg,
283 static int drbg_ctr_df(struct drbg_state *drbg, in drbg_ctr_df()
306 static int drbg_ctr_update(struct drbg_state *drbg, struct list_head *seed, in drbg_ctr_update()
369 static int drbg_ctr_generate(struct drbg_state *drbg, in drbg_ctr_generate()
409 static int drbg_kcapi_hash(struct drbg_state *drbg, unsigned char *outval,
411 static void drbg_kcapi_hmacsetkey(struct drbg_state *drbg,
[all …]