Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/crypto/
H 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
146 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() argument
153 static inline __u8 drbg_blocklen(struct drbg_state *drbg) in drbg_blocklen()
160 static inline __u8 drbg_keylen(struct drbg_state *drbg) in drbg_keylen()
167 static inline size_t drbg_max_request_bytes(struct drbg_state *drbg) in drbg_max_request_bytes()
[all …]
/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()
307 static void drbg_kcapi_symsetkey(struct drbg_state *drbg,
309 static int drbg_kcapi_sym(struct drbg_state *drbg, unsigned char *outval,
311 static int drbg_init_sym_kernel(struct drbg_state *drbg);
312 static int drbg_fini_sym_kernel(struct drbg_state *drbg);
313 static int drbg_kcapi_sym_ctr(struct drbg_state *drbg,
319 static int drbg_ctr_bcc(struct drbg_state *drbg, in drbg_ctr_bcc()
397 static int drbg_ctr_df(struct drbg_state *drbg, in drbg_ctr_df()
531 static int drbg_ctr_update(struct drbg_state *drbg, struct list_head *seed, in drbg_ctr_update()
[all …]