HomeSort by relevance Sort by last modified time
    Searched full:seed (Results 1 - 25 of 418) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/e2fsprogs/tests/f_h_reindex/
name 1 reindex HTREE Directory with different hash seed
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
MGFParameters.java 11 byte[] seed; field in class:MGFParameters
14 byte[] seed)
16 this.seed = seed;
20 byte[] seed,
24 this.seed = new byte[len];
25 System.arraycopy(seed, off, this.seed, 0, len);
30 return seed;
DSAValidationParameters.java 5 private byte[] seed; field in class:DSAValidationParameters
9 byte[] seed,
12 this.seed = seed;
23 return seed;
41 if (other.seed.length != this.seed.length)
46 for (int i = 0; i != other.seed.length; i++)
48 if (other.seed[i] != this.seed[i]
    [all...]
ISO18033KDFParameters.java 11 byte[] seed; field in class:ISO18033KDFParameters
14 byte[] seed)
16 this.seed = seed;
21 return seed;
DHValidationParameters.java 5 private byte[] seed; field in class:DHValidationParameters
9 byte[] seed,
12 this.seed = seed;
31 if (other.seed.length != this.seed.length)
36 for (int i = 0; i != other.seed.length; i++)
38 if (other.seed[i] != this.seed[i])
51 for (int i = 0; i != seed.length; i++
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/
SecureRandomSpi.java 34 * seed}. The seed of this {@code SecureRandomSpi} instance is supplemented,
37 * @param seed
38 * the new seed.
40 protected abstract void engineSetSeed(byte[] seed);
52 * Generates and returns the specified number of seed bytes, computed using
53 * the seed generation algorithm used by this {@code SecureRandomSpi}.
56 * the number of seed bytes.
57 * @return the seed bytes
SecureRandom.java 89 * @param seed
90 * the seed for this generator.
92 public SecureRandom(byte[] seed) {
94 setSeed(seed);
237 * seed}. The seed of this {@code SecureRandom} instance is supplemented,
240 * @param seed
241 * the new seed.
243 public synchronized void setSeed(byte[] seed) {
244 secureRandomSpi.engineSetSeed(seed);
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java 84 // MAX_BYTES - maximum # of seed bytes processing which doesn't require extra frame
85 // see (1) comments on usage of "seed" array below and
110 // Structure of "seed" array:
113 // - 81 - # of seed bytes in current seed frame
114 // - 82-86 - 5 words, current seed hash
115 private transient int seed[]; field in class:SHA1PRNG_SecureRandomImpl
117 // total length of seed bytes, including all processed
121 // - 0-4 - 5 words, copy of current seed hash
139 // The "seed" array is used to compute both "current seed hash" and "next bytes"
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/spec/
EllipticCurve.java 41 private final byte[] seed; field in class:EllipticCurve
48 * coefficients and seed.
56 * @param seed
57 * the seed used for the generation of the curve.
61 public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) {
75 if (seed == null) {
76 this.seed = null;
78 this.seed = new byte[seed.length];
79 System.arraycopy(seed, 0, this.seed, 0, this.seed.length)
    [all...]
  /external/elfutils/lib/
next_prime.c 45 next_prime (size_t seed)
48 seed |= 1;
50 while (!is_prime (seed))
51 seed += 2;
53 return seed;
  /packages/apps/Gallery3D/src/com/cooliris/media/
DisplayItem.java 80 int seed = stackIndex; local
83 if (seed > 3) {
84 seed = 3;
104 mTargetPosition.z = seed * STACK_SPACING;
105 mJitteredPosition.set(0, 0, seed * STACK_SPACING);
107 int sign = (seed % 2 == 0) ? 1 : -1;
108 if (seed != 0 && !mStacktopPosition.equals(position) && mTargetTheta == 0) {
110 mJitteredPosition.x = sign * 12.0f * seed + (0.5f - random.nextFloat()) * 4 * seed;
114 mJitteredPosition.z = seed * STACK_SPACING
213 int seed = mStackId; local
230 int seed = mStackId; local
272 int seed = mStackId; local
    [all...]
  /external/dbus/dbus/
dbus-marshal-recursive-util.c 372 int seed);
375 int seed);
379 int seed);
385 int seed,
389 int seed,
406 int seed);
409 int seed);
413 int seed);
417 int seed,
421 int seed,
    [all...]
  /bionic/libc/stdlib/
srand48.c 22 srand48(long seed)
25 __rand48_seed[1] = (unsigned short) seed;
26 __rand48_seed[2] = (unsigned short) (seed >> 16);
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
random-weight.h 41 TropicalWeightGenerator(int seed = time(0), bool allow_zero = true)
43 srand(seed);
68 LogWeightGenerator(int seed = time(0), bool allow_zero = true)
70 srand(seed);
96 StringWeightGenerator(int seed = time(0), bool allow_zero = true)
98 srand(seed);
131 ProductWeightGenerator(int seed = time(0), bool allow_zero = true)
132 : generator1_(seed, allow_zero), generator2_(seed, allow_zero) {}
156 GallicWeightGenerator(int seed = time(0), bool allow_zero = true
    [all...]
  /external/dropbear/libtomcrypt/src/pk/pkcs1/
pkcs_1_oaep_decode.c 39 unsigned char *DB, *seed, *mask; local
66 seed = XMALLOC(hLen);
67 if (DB == NULL || mask == NULL || seed == NULL) {
74 if (seed != NULL) {
75 XFREE(seed);
94 /* now read the masked seed */
96 XMEMCPY(seed, msg + x, hLen);
108 /* XOR against seed */
110 seed[y] ^= mask[y];
113 /* compute MGF1 of seed (k - hlen - 1) *
    [all...]
pkcs_1_mgf1.c 22 @param seed The seed for MGF1
23 @param seedlen The length of the seed
30 const unsigned char *seed, unsigned long seedlen,
39 LTC_ARGCHK(seed != NULL);
71 /* get hash of seed || counter */
75 if ((err = hash_descriptor[hash_idx].process(md, seed, seedlen)) != CRYPT_OK) {
pkcs_1_oaep_encode.c 40 unsigned char *DB, *seed, *mask; local
69 seed = XMALLOC(hLen);
70 if (DB == NULL || mask == NULL || seed == NULL) {
77 if (seed != NULL) {
78 XFREE(seed);
110 /* now choose a random seed */
111 if (prng_descriptor[prng_idx].read(seed, hLen, prng) != hLen) {
116 /* compute MGF1 of seed (k - hlen - 1) */
117 if ((err = pkcs_1_mgf1(hash_idx, seed, hLen, mask, modulus_len - hLen - 1)) != CRYPT_OK) {
131 /* XOR against seed */
    [all...]
  /dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
PRF.java 72 * @param seed: the seed to be used.
74 static synchronized void computePRF_SSLv3(byte[] out, byte[] secret, byte[] seed) {
86 sha.update(seed);
105 * @param seed: the seed to be used.
108 byte[] str_byts, byte[] seed) throws GeneralSecurityException {
112 // Do concatenation of the label with the seed:
116 // time(HMAC.update(label+seed))
117 // < time(HMAC.update(label)) + time(HMAC.update(seed))
    [all...]
  /external/e2fsprogs/lib/uuid/
gen_uuid_nt.c 28 // OUT PUCHAR Seed // 6 bytes
48 void* seed // 6 bytes
85 unsigned char seed[6]; local
86 ((NtAllocateUuids_2000)NtAllocateUuids)(out, ((char*)out)+8, ((char*)out)+12, &seed[0] );
  /external/openssl/crypto/rsa/
rsa_oaep.c 32 const unsigned char *seed, long seedlen);
39 unsigned char *db, *seed; local
56 seed = to + 1;
64 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0)
67 memcpy(seed,
79 MGF1(dbmask, emlen - SHA_DIGEST_LENGTH, seed, SHA_DIGEST_LENGTH);
85 seed[i] ^= seedmask[i];
98 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local
136 MGF1(seed, SHA_DIGEST_LENGTH, maskeddb, dblen);
138 seed[i] ^= padded_from[i]
    [all...]
  /external/bluetooth/glib/glib/
grand.c 119 * @seed: a value to initialize the random number generator.
121 * Creates a new random number generator initialized with @seed.
126 g_rand_new_with_seed (guint32 seed)
129 g_rand_set_seed (rand, seed);
135 * @seed: an array of seeds to initialize the random number generator.
138 * Creates a new random number generator initialized with @seed.
145 g_rand_new_with_seed_array (const guint32 *seed, guint seed_length)
148 g_rand_set_seed_array (rand, seed, seed_length);
155 * Creates a new random number generator initialized with a seed taken
164 guint32 seed[4] local
    [all...]
  /external/webkit/WebCore/svg/graphics/filters/
SVGFETurbulence.cpp 32 const int& numOctaves, const float& seed, bool stitchTiles)
38 , m_seed(seed)
44 const int& numOctaves, const float& seed, bool stitchTiles)
46 return adoptRef(new FETurbulence(type, baseFrequencyX, baseFrequencyY, numOctaves, seed, stitchTiles));
79 float FETurbulence::seed() const function in class:WebCore::FETurbulence
84 void FETurbulence::setSeed(float seed)
86 m_seed = seed;
137 << " [seed=" << seed() << "]"
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
MGF1BytesGenerator.java 16 private byte[] seed; field in class:MGF1BytesGenerator
39 seed = p.getSeed();
92 digest.update(seed, 0, seed.length);
105 digest.update(seed, 0, seed.length);
  /dalvik/libcore/luni/src/main/java/java/util/
Random.java 46 private long seed; field in class:Random
59 * <p>The initial state (that is, the seed) is <i>partially</i> based
70 * Construct a random generator with the given {@code seed} as the
71 * initial state. Equivalent to {@code Random r = new Random(); r.setSeed(seed);}.
73 * @param seed
74 * the seed that will determine the initial state of this random
78 public Random(long seed) {
79 setSeed(seed);
100 seed = (seed * multiplier + 0xbL) & ((1L << 48) - 1)
    [all...]
  /external/clearsilver/util/
neo_rand.c 25 void neo_seed_rand (long int seed)
28 srand48(seed);
30 srandom(seed);
32 srand(seed);

Completed in 123 milliseconds

1 2 3 4 5 6 7 8 91011>>