Searched refs:crypto_rng (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/include/crypto/
H A Drng.h18 extern struct crypto_rng *crypto_default_rng;
30 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) __crypto_rng_cast()
32 return (struct crypto_rng *)tfm; __crypto_rng_cast()
43 * crypto_rng is the cipher handle that is required for any subsequent
55 static inline struct crypto_rng *crypto_alloc_rng(const char *alg_name, crypto_alloc_rng()
65 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) crypto_rng_tfm()
78 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) crypto_rng_alg()
83 static inline struct rng_tfm *crypto_rng_crt(struct crypto_rng *tfm) crypto_rng_crt()
92 static inline void crypto_free_rng(struct crypto_rng *tfm) crypto_free_rng()
108 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, crypto_rng_get_bytes()
131 static inline int crypto_rng_reset(struct crypto_rng *tfm, crypto_rng_reset()
149 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) crypto_rng_seedsize()
H A Ddrbg.h203 static inline int crypto_drbg_get_bytes_addtl(struct crypto_rng *drng, crypto_drbg_get_bytes_addtl()
234 static inline int crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, crypto_drbg_get_bytes_addtl_test()
263 static inline int crypto_drbg_reset_test(struct crypto_rng *drng, crypto_drbg_reset_test()
/linux-4.1.27/crypto/
H A Dkrng.c19 static int krng_get_random(struct crypto_rng *tfm, u8 *rdata, unsigned int dlen) krng_get_random()
25 static int krng_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) krng_reset()
H A Drng.c28 struct crypto_rng *crypto_default_rng;
32 static int rngapi_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) rngapi_reset()
113 struct crypto_rng *rng; crypto_get_default_rng()
H A Dansi_cprng.c356 static int cprng_get_random(struct crypto_rng *tfm, u8 *rdata, cprng_get_random()
370 static int cprng_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) cprng_reset()
390 static int fips_cprng_get_random(struct crypto_rng *tfm, u8 *rdata, fips_cprng_get_random()
398 static int fips_cprng_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) fips_cprng_reset()
H A Dalgif_rng.c55 struct crypto_rng *drng;
H A Ddrbg.c53 * struct crypto_rng *drng;
64 * struct crypto_rng *drng;
81 * struct crypto_rng *drng;
1745 static int drbg_kcapi_random(struct crypto_rng *tfm, u8 *rdata, drbg_kcapi_random()
1771 static int drbg_kcapi_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) drbg_kcapi_reset()
H A Dtestmgr.c1441 static int test_cprng(struct crypto_rng *tfm, struct cprng_testvec *template, test_cprng()
1706 struct crypto_rng *rng; alg_test_cprng()
1728 struct crypto_rng *drng; drbg_cavs_test()
/linux-4.1.27/include/crypto/internal/
H A Drng.h21 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) crypto_rng_ctx()
/linux-4.1.27/include/linux/
H A Dcrypto.h141 struct crypto_rng;
449 int (*rng_make_random)(struct crypto_rng *tfm, u8 *rdata,
451 int (*rng_reset)(struct crypto_rng *tfm, u8 *seed, unsigned int slen);
659 int (*rng_gen_random)(struct crypto_rng *tfm, u8 *rdata,
661 int (*rng_reset)(struct crypto_rng *tfm, u8 *seed, unsigned int slen);
717 struct crypto_rng { struct

Completed in 169 milliseconds