/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9Curve.java | 25 private byte[] seed; field in class:X9Curve 32 this.seed = null; 38 byte[] seed) 41 this.seed = seed; 99 seed = ((DERBitString)seq.getObjectAt(2)).getBytes(); 126 return seed; 135 * seed BIT STRING OPTIONAL 154 if (seed != null) 156 v.add(new DERBitString(seed)); [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
search_engines_helper.cc | 110 // seed. 111 base::string16 CreateKeyword(int seed) { 112 return base::ASCIIToUTF16(base::StringPrintf("test%d", seed)); 179 TemplateURL* CreateTestTemplateURL(Profile* profile, int seed) { 180 return CreateTestTemplateURL(profile, seed, CreateKeyword(seed), 181 base::StringPrintf("0000-0000-0000-%04d", seed)); 185 int seed, 188 return CreateTestTemplateURL(profile, seed, keyword, 189 base::StringPrintf("http://www.test%d.com/", seed), sync_guid) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkDiscretePathEffect.cpp | 36 /* Caller may supply their own seed assist, which by default is 0 */ 37 uint32_t seed = fSeedAssist ^ SkScalarRoundToInt(meas.getLength()); local 39 SkLCGRandom rand(seed ^ ((seed << 16) | (seed >> 16)));
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLDSAKeyPairGenerator.java | 41 final byte[] seed; 43 seed = null; 45 seed = new byte[20]; 46 random.nextBytes(seed); 49 final OpenSSLKey key = new OpenSSLKey(NativeCrypto.DSA_generate_key(primeBits, seed, g, p,
|
/external/llvm/test/CodeGen/AArch64/ |
arm64-fast-isel-gv.ll | 4 @seed = common global i64 0, align 8 12 store i64 74755, i64* @seed, align 8 30 %0 = load i64* @seed, align 8 34 store i64 %and, i64* @seed, align 8 35 %1 = load i64* @seed, align 8
|
/external/skia/src/effects/ |
SkDiscretePathEffect.cpp | 36 /* Caller may supply their own seed assist, which by default is 0 */ 37 uint32_t seed = fSeedAssist ^ SkScalarRoundToInt(meas.getLength()); local 39 SkLCGRandom rand(seed ^ ((seed << 16) | (seed >> 16)));
|
/external/wpa_supplicant_8/src/crypto/ |
sha1-tprf.c | 20 * @seed: Seed value to bind into the key 21 * @seed_len: Length of the seed 30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) 44 addr[2] = seed;
|
/external/chromium_org/chrome/browser/metrics/variations/ |
variations_service.h | 46 // Used to setup field trials based on stored variations seed data, and fetch 47 // new seed data from the variations server. 54 // Creates field trials based on Variations Seed loaded from local prefs. If 55 // there is a problem loading the seed data, all trials specified by the seed 112 // Stores the seed to prefs. Set as virtual and protected so that it can be 143 // Checks if prerequisites for fetching the Variations seed are met, and if 153 // Performs a variations seed simulation with the given |seed| and |version| 155 void PerformSimulationWithVersion(scoped_ptr<VariationsSeed> seed, [all...] |
variations_seed_store.cc | 49 // The ECDSA public key of the variations server for verifying variations seed 122 bool VariationsSeedStore::LoadSeed(VariationsSeed* seed) { 133 !seed->ParseFromString(seed_data)) { 134 VLOG(1) << "Variations seed data in local pref is corrupt, clearing the " 149 VLOG(1) << "Variations seed signature in local pref missing or invalid " 157 variations_serial_number_ = seed->serial_number(); 168 VLOG(1) << "Variations seed data is empty, rejecting the seed."; 172 // Only store the seed data if it parses correctly. 173 VariationsSeed seed; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_oaep.c | 32 const unsigned char *seed, long seedlen); 39 unsigned char *db, *seed; local 56 seed = to + 1; 65 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0) 68 memcpy(seed, 80 if (MGF1(dbmask, emlen - SHA_DIGEST_LENGTH, seed, SHA_DIGEST_LENGTH) < 0) 88 seed[i] ^= seedmask[i]; 101 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local 139 if (MGF1(seed, SHA_DIGEST_LENGTH, maskeddb, dblen)) 142 seed[i] ^= padded_from[i] [all...] |
/external/openssl/crypto/rsa/ |
rsa_oaep.c | 32 const unsigned char *seed, long seedlen); 39 unsigned char *db, *seed; local 56 seed = to + 1; 65 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0) 68 memcpy(seed, 80 if (MGF1(dbmask, emlen - SHA_DIGEST_LENGTH, seed, SHA_DIGEST_LENGTH) < 0) 88 seed[i] ^= seedmask[i]; 101 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local 139 if (MGF1(seed, SHA_DIGEST_LENGTH, maskeddb, dblen)) 142 seed[i] ^= padded_from[i] [all...] |
/libcore/luni/src/main/java/java/util/ |
Random.java | 26 * <p>It is dangerous to seed {@code Random} with the current time because 27 * that value is more predictable to an attacker than the default seed. 49 private long seed; field in class:Random 75 * Construct a random generator with the given {@code seed} as the 76 * initial state. Equivalent to {@code Random r = new Random(); r.setSeed(seed);}. 81 public Random(long seed) { 82 setSeed(seed); 97 seed = (seed * multiplier + 0xbL) & ((1L << 48) - 1); 98 return (int) (seed >>> (48 - bits)) [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_gpsk_common.c | 110 const u8 *seed, size_t seed_len, 152 os_memcpy(pos, seed, seed_len); /* inputString */ 163 if (gkdf(mk, seed, seed_len, kdf_out, kdf_out_len) < 0) 189 const u8 *seed, size_t seed_len, 200 * (= seed) 217 psk, psk_len, seed, seed_len, 225 const u8 *seed, size_t seed_len, 236 * (= seed) 251 psk, psk_len, seed, seed_len, 286 u8 *seed, *pos local 423 u8 *seed, *pos; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECNamedCurveSpec.java | 22 byte[] seed) 26 return new EllipticCurve(new ECFieldFp(((ECCurve.Fp)curve).getQ()), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 37 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 43 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 108 byte[] seed) 110 super(convertCurve(curve, seed), convertPoint(g), n, h.intValue());
|
ECNamedCurveParameterSpec.java | 48 byte[] seed) 50 super(curve, G, n, h, seed);
|
/external/chromium_org/third_party/smhasher/src/ |
MurmurHash2.h | 29 uint32_t MurmurHash2 ( const void * key, int len, uint32_t seed ); 30 uint64_t MurmurHash64A ( const void * key, int len, uint64_t seed ); 31 uint64_t MurmurHash64B ( const void * key, int len, uint64_t seed ); 32 uint32_t MurmurHash2A ( const void * key, int len, uint32_t seed ); 33 uint32_t MurmurHashNeutral2 ( const void * key, int len, uint32_t seed ); 34 uint32_t MurmurHashAligned2 ( const void * key, int len, uint32_t seed );
|
/external/fio/lib/ |
zipf.c | 33 unsigned int seed) 38 init_rand_seed(&zs->rand, seed); 43 unsigned int seed) 45 shared_rand_init(zs, nranges, seed); 76 unsigned int seed) 78 shared_rand_init(zs, nranges, seed);
|
rand.h | 22 extern void init_rand_seed(struct frand_state *, unsigned int seed); 23 extern void __fill_random_buf(void *buf, unsigned int len, unsigned long seed);
|
/external/fio/os/ |
os-solaris.h | 72 static inline void os_random_seed(unsigned long seed, os_random_state_t *rs) 74 rs->r[0] = seed & 0xffff; 75 seed >>= 16; 76 rs->r[1] = seed & 0xffff; 77 seed >>= 16; 78 rs->r[2] = seed & 0xffff;
|
/external/fio/t/ |
axmap.c | 21 static int test_regular(size_t size, int seed) 32 lfsr_init(&lfsr, size, seed, seed & 0xF); 126 int seed = 1; local 131 seed = strtoul(argv[2], NULL, 10); 134 if (test_regular(size, seed))
|
/external/valgrind/main/memcheck/tests/ |
pdb-realloc2.c | 17 static UInt seed = 0; variable 21 seed = 1664525UL * seed + 1013904223UL; 22 return seed % size; 38 seed = 0; 73 seed = 0;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RSUtils.java | 48 public static void genRandomDoubles(long seed, double min, double max, double array[], 50 Random r = new Random(seed); 73 // Seed a few special numbers we want to be sure to test. 99 public static void genRandomFloats(long seed, float min, float max, float array[], 101 Random r = new Random(seed); 124 // Seed a few special numbers we want to be sure to test. 150 public static void genRandomInts(long seed, int min, int max, int array[]) { 151 Random r = new Random(seed); 164 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { 167 Random r = new Random(seed); [all...] |
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
RSUtils.java | 48 public static void genRandomDoubles(long seed, double min, double max, double array[], 50 Random r = new Random(seed); 73 // Seed a few special numbers we want to be sure to test. 99 public static void genRandomFloats(long seed, float min, float max, float array[], 101 Random r = new Random(seed); 124 // Seed a few special numbers we want to be sure to test. 150 public static void genRandomInts(long seed, int min, int max, int array[]) { 151 Random r = new Random(seed); 164 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { 167 Random r = new Random(seed); [all...] |
/external/pixman/test/ |
prng-test.c | 47 void raninit( ranctx *x, u4 seed ) { 49 x->a = 0xf1ea5eed, x->b = x->c = x->d = seed; 115 uint32_t ref, seed, seed0, seed1, seed2, seed3; local 134 seed = 0; 135 prng_srand_r (&prng, seed); 136 seed0 = (seed = seed * 1103515245 + 12345); 137 seed1 = (seed = seed * 1103515245 + 12345); 138 seed2 = (seed = seed * 1103515245 + 12345) [all...] |
/bionic/libc/bionic/ |
rand.cpp | 27 void srand(unsigned int seed) { 28 return srandom(seed);
|