Home
last modified time | relevance | path

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

/xnu-11215.1.10/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)))
73 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.h408 struct ccrng_state;
/xnu-11215.1.10/libkern/crypto/
H A Dcorecrypto_rand.c36 struct ccrng_state *rng_state = NULL; in cc_rand_generate()
/xnu-11215.1.10/osfmk/corecrypto/
H A Dccn_internal.h582 int ccn_random_bits(cc_size nbits, cc_unit *cc_unsafe_indexable r, struct ccrng_state *rng);
586 int ccn_random_bits_fips(cc_size nbits, cc_unit *cc_unsafe_indexable r, struct ccrng_state *rng);
/xnu-11215.1.10/libkern/libkern/crypto/
H A Dregister_crypto.h102 typedef struct ccrng_state *(*ccrng_fn_t)(int *error);