Searched refs:entropy_nbytes (Results 1 – 4 of 4) sorted by relevance
| /xnu-8796.121.2/osfmk/corecrypto/ |
| H A D | ccdrbg_nisthmac.c | 134 entropy_isvalid(size_t entropy_nbytes, const struct ccdigest_info *info) in entropy_isvalid() argument 136 return (entropy_nbytes <= CCDRBG_MAX_ENTROPY_SIZE) && (entropy_nbytes >= MIN_REQ_ENTROPY(info)); in entropy_isvalid() 143 size_t entropy_nbytes, in init() argument 157 cc_require(entropy_isvalid(entropy_nbytes, digest_info), out); in init() 165 update(ctx, 3, entropy_nbytes, entropy, nonce_nbytes, nonce, ps_nbytes, ps); in init() 181 reseed(struct ccdrbg_state *ctx, size_t entropy_nbytes, const void *entropy, size_t add_nbytes, con… in reseed() argument 187 cc_require(entropy_isvalid(entropy_nbytes, digest_info), out); in reseed() 192 update(ctx, 2, entropy_nbytes, entropy, add_nbytes, add); in reseed()
|
| /xnu-8796.121.2/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccentropy.h | 28 size_t entropy_nbytes, 88 size_t entropy_nbytes,
|
| H A D | ccrng_fortuna.h | 112 typedef int32_t (*ccrng_fortuna_getentropy)(size_t *entropy_nbytes,
|
| H A D | ccrsa.h | 286 … size_t entropy_nbytes, const uint8_t *cc_sized_by(entropy_nbytes) entropy,
|