| /xnu-11215/osfmk/corecrypto/ |
| H A D | ccdrbg.c | 52 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 D | ccdrbg_nisthmac.c | 146 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 D | entropy.c | 24 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 D | Makefile | 1527 entropy: OTHER_CFLAGS += -framework perfdata target
|
| /xnu-11215/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccdrbg_impl.h | 33 size_t entropyLength, const void* entropy, 46 size_t entropylen, const void *entropy,
|
| H A D | ccentropy.h | 29 const void *entropy); 89 const void *entropy);
|
| H A D | ccdrbg.h | 49 size_t entropyLength, const void* entropy, 58 size_t entropyLength, const void *entropy,
|
| H A D | ccrng_fortuna.h | 111 void *entropy,
|
| H A D | ccrsa.h | 286 … size_t entropy_nbytes, const uint8_t *cc_sized_by(entropy_nbytes) entropy,
|
| /xnu-11215/osfmk/prng/ |
| H A D | entropy.c | 473 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 D | Makefile | 10 entropy.h \
|
| H A D | entropy.h | 63 int32_t entropy_provide(size_t *entropy_size, void *entropy, void *arg);
|
| /xnu-11215/bsd/crypto/entropy/ |
| H A D | Makefile | 13 EXPORT_MI_DIR = crypto/entropy
|
| H A D | entropy_sysctl.c | 37 SYSCTL_NODE(_kern, OID_AUTO, entropy, CTLFLAG_RD, 0, NULL);
|
| /xnu-11215/bsd/crypto/ |
| H A D | Makefile | 10 entropy \
|
| /xnu-11215/bsd/ |
| H A D | Makefile | 43 crypto/entropy \
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_exec.c | 6182 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 D | Makefile.template | 280 entropy.o_CWARNFLAGS_ADD += -Wno-sign-conversion
|
| H A D | files | 397 osfmk/prng/entropy.c standard
|
| /xnu-11215/bsd/conf/ |
| H A D | files | 342 bsd/crypto/entropy/entropy_sysctl.c standard
|