Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 20 of 20) sorted by relevance

/xnu-11215/osfmk/corecrypto/
H A Dccdrbg.c52 size_t entropyLength, const void* entropy, in ccdrbg_init() argument
58 return info->init(info, drbg, entropyLength, entropy, nonceLength, nonce, psLength, ps); in ccdrbg_init()
64 size_t entropyLength, const void *entropy, in ccdrbg_reseed() argument
69 return info->reseed(drbg, entropyLength, entropy, additionalLength, additional); in ccdrbg_reseed()
H A Dccdrbg_nisthmac.c146 const void *entropy, in init() argument
167 update(ctx, 3, entropy_nbytes, entropy, nonce_nbytes, nonce, ps_nbytes, ps); in init()
183 reseed(struct ccdrbg_state *ctx, size_t entropy_nbytes, const void *entropy, size_t add_nbytes, con… in reseed() argument
194 update(ctx, 2, entropy_nbytes, entropy, add_nbytes, add); in reseed()
/xnu-11215/tests/
H A Dentropy.c24 entropy_sample_t *entropy = calloc(entropy_count, sizeof(entropy_sample_t)); variable
27 ret = sysctlbyname("kern.entropy.analysis.buffer", entropy, &size, NULL, 0);
34 T_QUIET; T_EXPECT_NE(entropy[i], 0, "entropy buffer null sample %u", i);
37 free(entropy);
H A DMakefile1527 entropy: OTHER_CFLAGS += -framework perfdata target
/xnu-11215/EXTERNAL_HEADERS/corecrypto/
H A Dccdrbg_impl.h33 size_t entropyLength, const void* entropy,
46 size_t entropylen, const void *entropy,
H A Dccentropy.h29 const void *entropy);
89 const void *entropy);
H A Dccdrbg.h49 size_t entropyLength, const void* entropy,
58 size_t entropyLength, const void *entropy,
H A Dccrng_fortuna.h111 void *entropy,
H A Dccrsa.h286 … size_t entropy_nbytes, const uint8_t *cc_sized_by(entropy_nbytes) entropy,
/xnu-11215/osfmk/prng/
H A Dentropy.c473 entropy_provide(size_t *entropy_size, void *entropy, __unused void *arg) in entropy_provide() argument
565 SHA512_Final(entropy, &entropy_data.sha512_ctx); in entropy_provide()
589 SHA512_Update(&entropy_data.sha512_ctx, entropy, *entropy_size); in entropy_provide()
H A DMakefile10 entropy.h \
H A Dentropy.h63 int32_t entropy_provide(size_t *entropy_size, void *entropy, void *arg);
/xnu-11215/bsd/crypto/entropy/
H A DMakefile13 EXPORT_MI_DIR = crypto/entropy
H A Dentropy_sysctl.c37 SYSCTL_NODE(_kern, OID_AUTO, entropy, CTLFLAG_RD, 0, NULL);
/xnu-11215/bsd/crypto/
H A DMakefile10 entropy \
/xnu-11215/bsd/
H A DMakefile43 crypto/entropy \
/xnu-11215/bsd/kern/
H A Dkern_exec.c6182 uint64_t entropy[limit]; in exec_add_entropy_key() local
6188 read_random(entropy, sizeof(entropy[0]) * values); in exec_add_entropy_key()
6191 entropy[0] &= ~(0xffull << 8); in exec_add_entropy_key()
6194 int len = scnprintf(str, sizeof(str), "%s0x%llx", key, entropy[0]); in exec_add_entropy_key()
6198 len = scnprintf(&str[start], remaining, ",0x%llx", entropy[i]); in exec_add_entropy_key()
/xnu-11215/osfmk/conf/
H A DMakefile.template280 entropy.o_CWARNFLAGS_ADD += -Wno-sign-conversion
H A Dfiles397 osfmk/prng/entropy.c standard
/xnu-11215/bsd/conf/
H A Dfiles342 bsd/crypto/entropy/entropy_sysctl.c standard