Home
last modified time | relevance | path

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

/linux-4.1.27/include/crypto/
Ddrbg.h79 struct drbg_state;
92 int (*update)(struct drbg_state *drbg, struct list_head *seed,
94 int (*generate)(struct drbg_state *drbg,
97 int (*crypto_init)(struct drbg_state *drbg);
98 int (*crypto_fini)(struct drbg_state *drbg);
106 struct drbg_state { struct
127 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() argument
134 static inline __u8 drbg_blocklen(struct drbg_state *drbg) in drbg_blocklen()
141 static inline __u8 drbg_keylen(struct drbg_state *drbg) in drbg_keylen()
148 static inline size_t drbg_max_request_bytes(struct drbg_state *drbg) in drbg_max_request_bytes()
[all …]
/linux-4.1.27/crypto/
Ddrbg.c232 static bool drbg_fips_continuous_test(struct drbg_state *drbg, in drbg_fips_continuous_test()
294 static int drbg_kcapi_sym(struct drbg_state *drbg, const unsigned char *key,
296 static int drbg_init_sym_kernel(struct drbg_state *drbg);
297 static int drbg_fini_sym_kernel(struct drbg_state *drbg);
300 static int drbg_ctr_bcc(struct drbg_state *drbg, in drbg_ctr_bcc()
377 static int drbg_ctr_df(struct drbg_state *drbg, in drbg_ctr_df()
510 static int drbg_ctr_update(struct drbg_state *drbg, struct list_head *seed, in drbg_ctr_update()
575 static int drbg_ctr_generate(struct drbg_state *drbg, in drbg_ctr_generate()
639 static int drbg_kcapi_hash(struct drbg_state *drbg, const unsigned char *key,
641 static int drbg_init_hash_kernel(struct drbg_state *drbg);
[all …]