/external/pixman/test/ |
Makefile.sources | 3 prng-test \ 41 utils-prng.c \ 46 utils-prng.h \
|
prng-test.c | 4 * Based on the public domain implementation of small noncryptographic PRNG 29 #include "utils-prng.h" 64 prng_t prng; local 67 prng_srand_r (&prng, 1234); 70 prng_randmemset_r (&prng, buf, BUFSIZE, 0); 77 prng_randmemset_r (&prng, buf + 1, BUFSIZE, 0); 85 prng_randmemset_r (&prng, buf, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); 94 prng_randmemset_r (&prng, buf + 1, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); 119 prng_t prng; local 130 prng_srand_r (&prng, 0) [all...] |
utils-prng.c | 4 * Based on the public domain implementation of small noncryptographic PRNG 28 #include "utils-prng.h" 43 * Set a 32-bit seed for PRNG 102 randmemset_internal (prng_t *prng, 108 prng_t local_prng = *prng; 261 *prng = local_prng; 272 void prng_randmemset_r (prng_t *prng, 282 randmemset_internal (prng, buf, size, 0, 0); 284 randmemset_internal (prng, buf, size, RANDMEMSET_MORE_00_AND_FF, 0); 286 randmemset_internal (prng, buf, size, flags, 0) [all...] |
utils-prng.h | 4 * Based on the public domain implementation of small noncryptographic PRNG 31 * This file provides a fast SIMD-optimized noncryptographic PRNG (pseudorandom 48 * void prng_srand_r (prng_t *prng, uint32_t seed); 55 * uint32_t prng_rand_r (prng_t *prng); 60 * void prng_randmemset_r (prng_t *prng, 162 /* Set the 32-bit seed for PRNG */ 163 void prng_srand_r (prng_t *prng, uint32_t seed); 166 void prng_randmemset_r (prng_t *prng,
|
/external/srtp/crypto/include/ |
prng.h | 2 * prng.h 20 * x917_prng is an ANSI X9.17-like AES-based PRNG 38 * ctr_prng is an AES-CTR based PRNG
|
/external/pixman/demos/ |
Makefile.in | 76 ../test/utils.c ../test/utils.h ../test/utils-prng.c \ 77 ../test/utils-prng.h 79 @HAVE_GTK_TRUE@ utils-prng.$(OBJEXT) 92 ../test/utils.c ../test/utils.h ../test/utils-prng.c \ 93 ../test/utils-prng.h 102 ../test/utils.c ../test/utils.h ../test/utils-prng.c \ 103 ../test/utils-prng.h 111 ../test/utils.c ../test/utils.h ../test/utils-prng.c \ 112 ../test/utils-prng.h 122 ../test/utils-prng.c ../test/utils-prng. [all...] |
Makefile.am | 10 ../test/utils-prng.c ../test/utils-prng.h
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/rng/ |
ctr_prng.c | 46 #include "prng.h" 48 /* single, global prng structure */ 81 * if we need to re-initialize the prng, do so now 93 * write prng output
|
prng.c | 2 * prng.c 46 #include "prng.h" 48 /* single, global prng structure */ 71 /* initialize prng state from random source */ 87 * if we need to re-initialize the prng, do so now
|
/external/srtp/crypto/rng/ |
ctr_prng.c | 46 #include "prng.h" 48 /* single, global prng structure */ 81 * if we need to re-initialize the prng, do so now 93 * write prng output
|
prng.c | 2 * prng.c 46 #include "prng.h" 48 /* single, global prng structure */ 71 /* initialize prng state from random source */ 87 * if we need to re-initialize the prng, do so now
|
/external/llvm/lib/Transforms/Utils/ |
MetaRenamer.cpp | 29 // This PRNG is from the ISO C spec. It is intentionally simple and 32 struct PRNG { 62 // Seed our PRNG with simple additive sum of ModuleID. We're looking to 70 PRNG prng; variable 71 prng.srand(randSeed); 101 STy->setName((Twine("struct.") + metaNames[prng.rand() % 112 FI->setName(metaNames[prng.rand() % array_lengthof(metaNames)]);
|
/external/chromium_org/third_party/sqlite/src/src/ |
random.c | 13 ** generator (PRNG) for SQLite. 31 ** Get a single 8-bit random value from the RC4 PRNG. The Mutex 70 ** encryption. The RC4 algorithm is being used as a PRNG (pseudo-random 120 ** PRNG and restore the PRNG to its saved state at a later time, or 121 ** to reset the PRNG to its initial state. These routines accomplish 125 ** control the PRNG.
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/ |
prng.h | 2 * prng.h 55 * x917_prng is an ANSI X9.17-like AES-based PRNG 73 * ctr_prng is an AES-CTR based PRNG
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRandom.java | 56 // increase the entropy of the OpenSSL PRNG. 66 * Obtains a seed from the Linux RNG and mixes it into the OpenSSL PRNG (default RAND engine). 68 * <p>NOTE: This modifies the OpenSSL PRNG shared by all instances of OpenSSLRandom and other
|
/external/smack/src/org/xbill/DNS/ |
UDPClient.java | 17 private static SecureRandom prng = new SecureRandom(); field in class:UDPClient 38 int n = prng.nextInt(); 68 int port = prng.nextInt(EPHEMERAL_RANGE) +
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_fmengine.h | 105 #define FLAG_FM_ENG_VOICE_OP1_NOISE 0x10 /* operator 1 source is PRNG */ 106 #define FLAG_FM_ENG_VOICE_OP2_NOISE 0x20 /* operator 2 source is PRNG */ 107 #define FLAG_FM_ENG_VOICE_OP3_NOISE 0x40 /* operator 3 source is PRNG */ 108 #define FLAG_FM_ENG_VOICE_OP4_NOISE 0x80 /* operator 4 source is PRNG */
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_fmengine.h | 105 #define FLAG_FM_ENG_VOICE_OP1_NOISE 0x10 /* operator 1 source is PRNG */ 106 #define FLAG_FM_ENG_VOICE_OP2_NOISE 0x20 /* operator 2 source is PRNG */ 107 #define FLAG_FM_ENG_VOICE_OP3_NOISE 0x40 /* operator 3 source is PRNG */ 108 #define FLAG_FM_ENG_VOICE_OP4_NOISE 0x80 /* operator 4 source is PRNG */
|
/hardware/intel/img/libdrm/libdrm/ |
xf86drmRandom.c | 1 /* xf86drmRandom.c -- "Minimal Standard" PRNG Implementation 31 * & Miller "Minimal Standard" PRNG [PM88, PMS93], which is a Lehmer 35 * This implementation is intended to provide a reliable, portable PRNG 41 * If initial seeds are not selected randomly, two instances of the PRNG
|
/external/jemalloc/include/jemalloc/internal/ |
prng.h | 7 * prng(y) = (a*x + c) % m
|
/external/srtp/ |
Android.mk | 21 crypto/rng/prng.c \
|
/frameworks/av/include/media/ |
SingleStateQueue.h | 82 int mSeed; // for PRNG
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
sampler.h | 124 static uint64_t NextRandom(uint64_t rnd_); // Returns the next prng value 152 // Returns the next prng value. 153 // pRNG is: aX+b mod c with a = 0x5DEECE66D, b = 0xB, c = 1<<48
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
sampler.h | 124 static uint64_t NextRandom(uint64_t rnd_); // Returns the next prng value 152 // Returns the next prng value. 153 // pRNG is: aX+b mod c with a = 0x5DEECE66D, b = 0xB, c = 1<<48
|
/external/openssl/crypto/rand/ |
rand_egd.c | 80 * PRNG functions may call it during initialization. 83 * used to seed the PRNG. 88 * if the PRNG has still not received the required seeding. 94 * the PRNG.
|