Searched defs:drbg (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/crypto/
H A Ddrbg.h127 static inline __u8 drbg_statelen(struct drbg_state *drbg) drbg_statelen() argument
134 static inline __u8 drbg_blocklen(struct drbg_state *drbg) drbg_blocklen() argument
141 static inline __u8 drbg_keylen(struct drbg_state *drbg) drbg_keylen() argument
148 static inline size_t drbg_max_request_bytes(struct drbg_state *drbg) drbg_max_request_bytes() argument
154 static inline size_t drbg_max_addtl(struct drbg_state *drbg) drbg_max_addtl() argument
169 static inline size_t drbg_max_requests(struct drbg_state *drbg) drbg_max_requests() argument
/linux-4.1.27/crypto/
H A Ddrbg.c232 static bool drbg_fips_continuous_test(struct drbg_state *drbg, drbg_fips_continuous_test() argument
300 static int drbg_ctr_bcc(struct drbg_state *drbg, drbg_ctr_bcc() argument
377 static int drbg_ctr_df(struct drbg_state *drbg, drbg_ctr_df() argument
510 static int drbg_ctr_update(struct drbg_state *drbg, struct list_head *seed, drbg_ctr_update() argument
575 static int drbg_ctr_generate(struct drbg_state *drbg, drbg_ctr_generate() argument
657 static int drbg_hmac_update(struct drbg_state *drbg, struct list_head *seed, drbg_hmac_update() argument
706 static int drbg_hmac_generate(struct drbg_state *drbg, drbg_hmac_generate() argument
823 static int drbg_hash_df(struct drbg_state *drbg, drbg_hash_df() argument
862 static int drbg_hash_update(struct drbg_state *drbg, struct list_head *seed, drbg_hash_update() argument
905 static int drbg_hash_process_addtl(struct drbg_state *drbg, drbg_hash_process_addtl() argument
937 static int drbg_hash_hashgen(struct drbg_state *drbg, drbg_hash_hashgen() argument
982 static int drbg_hash_generate(struct drbg_state *drbg, drbg_hash_generate() argument
1055 static int drbg_seed(struct drbg_state *drbg, struct drbg_string *pers, drbg_seed() argument
1128 static inline void drbg_dealloc_state(struct drbg_state *drbg) drbg_dealloc_state() argument
1150 static inline int drbg_alloc_state(struct drbg_state *drbg) drbg_alloc_state() argument
1222 static int drbg_make_shadow(struct drbg_state *drbg, struct drbg_state **shadow) drbg_make_shadow() argument
1252 static void drbg_restore_shadow(struct drbg_state *drbg, drbg_restore_shadow() argument
1285 static int drbg_generate(struct drbg_state *drbg, drbg_generate() argument
1441 static int drbg_generate_long(struct drbg_state *drbg, drbg_generate_long() argument
1477 static int drbg_instantiate(struct drbg_state *drbg, struct drbg_string *pers, drbg_instantiate() argument
1545 static int drbg_uninstantiate(struct drbg_state *drbg) drbg_uninstantiate() argument
1560 static inline void drbg_set_testdata(struct drbg_state *drbg, drbg_set_testdata() argument
1580 static int drbg_init_hash_kernel(struct drbg_state *drbg) drbg_init_hash_kernel() argument
1604 static int drbg_fini_hash_kernel(struct drbg_state *drbg) drbg_fini_hash_kernel() argument
1615 static int drbg_kcapi_hash(struct drbg_state *drbg, const unsigned char *key, drbg_kcapi_hash() argument
1631 static int drbg_init_sym_kernel(struct drbg_state *drbg) drbg_init_sym_kernel() argument
1646 static int drbg_fini_sym_kernel(struct drbg_state *drbg) drbg_fini_sym_kernel() argument
1656 static int drbg_kcapi_sym(struct drbg_state *drbg, const unsigned char *key, drbg_kcapi_sym() argument
1716 struct drbg_state *drbg = crypto_tfm_ctx(tfm); drbg_kcapi_init() local
1748 struct drbg_state *drbg = crypto_rng_ctx(tfm); drbg_kcapi_random() local
1773 struct drbg_state *drbg = crypto_rng_ctx(tfm); drbg_kcapi_reset() local
1818 struct drbg_state *drbg = NULL; drbg_healthcheck_sanity() local
H A Dtestmgr.c130 struct drbg_test_suite drbg; member in union:alg_test_desc::__anon3263

Completed in 112 milliseconds