Home
last modified time | relevance | path

Searched refs:ccrng_state (Results 1 – 6 of 6) sorted by relevance

/xnu-8796.121.2/EXTERNAL_HEADERS/corecrypto/
H A Dccrng.h18 int (*CC_SPTR(ccrng_state, generate))(struct ccrng_state *rng, size_t outlen, void *out);
24 struct ccrng_state { struct
47 struct ccrng_state *ccrng(int *error);
60 ((rng)->generate((struct ccrng_state *)(rng), (outlen), (out)))
72 int ccrng_uniform(struct ccrng_state *rng, uint64_t bound, uint64_t *rand);
H A Dccrsa.h207 struct ccrng_state *rng);
260 …size_t e_nbytes, const void *cc_sized_by(e_nbytes) e_bytes, struct ccrng_state *rng) CC_WARN_RESUL…
289 struct ccrng_state *rng);
312 struct ccrng_state *rng, struct ccrng_state *rng_mr) CC_WARN_RESULT;
348 size_t salt_nbytes, struct ccrng_state *rng,
382 size_t salt_nbytes, struct ccrng_state *rng,
H A Dccentropy.h95 struct ccrng_state *rng_ctx;
113 struct ccrng_state *rng_ctx,
H A Dccn.h508 struct ccrng_state;
512 int ccn_random(cc_size n, cc_unit *cc_counted_by(n) r, struct ccrng_state *rng) {
522 int ccn_random_bits(cc_size nbits, cc_unit *cc_unsafe_indexable r, struct ccrng_state *rng);
/xnu-8796.121.2/libkern/crypto/
H A Dcorecrypto_rand.c36 struct ccrng_state *rng_state = NULL; in cc_rand_generate()
/xnu-8796.121.2/libkern/libkern/crypto/
H A Dregister_crypto.h102 typedef struct ccrng_state *(*ccrng_fn_t)(int *error);