Searched refs:entropy_nbytes (Results 1 – 2 of 2) sorted by relevance
| /xnu-8020.121.3/osfmk/corecrypto/ |
| H A D | ccdrbg_nisthmac.c | 132 entropy_isvalid(size_t entropy_nbytes, const struct ccdigest_info *info) in entropy_isvalid() argument 134 return (entropy_nbytes <= CCDRBG_MAX_ENTROPY_SIZE) && (entropy_nbytes >= MIN_REQ_ENTROPY(info)); in entropy_isvalid() 141 size_t entropy_nbytes, in init() argument 155 cc_require(entropy_isvalid(entropy_nbytes, digest_info), out); in init() 163 update(ctx, 3, entropy_nbytes, entropy, nonce_nbytes, nonce, ps_nbytes, ps); in init() 179 reseed(struct ccdrbg_state *ctx, size_t entropy_nbytes, const void *entropy, size_t add_nbytes, con… in reseed() argument 185 cc_require(entropy_isvalid(entropy_nbytes, digest_info), out); in reseed() 190 update(ctx, 2, entropy_nbytes, entropy, add_nbytes, add); in reseed()
|
| /xnu-8020.121.3/EXTERNAL_HEADERS/corecrypto/ |
| H A D | cckprng.h | 233 typedef int32_t (*cckprng_getentropy)(size_t *entropy_nbytes,
|