/external/e2fsprogs/tests/f_h_reindex/ |
name | 1 reindex HTREE Directory with different hash seed
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DHValidationParameters.java | 7 private byte[] seed; field in class:DHValidationParameters 11 byte[] seed, 14 this.seed = seed; 25 return seed; 43 return Arrays.areEqual(this.seed, other.seed); 48 return counter ^ Arrays.hashCode(seed);
|
DSAValidationParameters.java | 7 private byte[] seed; field in class:DSAValidationParameters 11 byte[] seed, 14 this.seed = seed; 25 return seed; 30 return counter ^ Arrays.hashCode(seed); 48 return Arrays.areEqual(this.seed, other.seed);
|
ECDomainParameters.java | 13 byte[] seed; field in class:ECDomainParameters 27 this.seed = null; 40 this.seed = null; 48 byte[] seed) 54 this.seed = seed; 79 return seed;
|
/external/regex-re2/util/ |
random.h | 17 ACMRandom(int32 seed) : seed_(seed) {} 21 void Reset(int32 seed) { seed_ = seed; }
|
/external/openfst/src/test/ |
algo_test.cc | 36 DEFINE_int32(seed, -1, "random seed"); 73 int seed = FLAGS_seed >= 0 ? FLAGS_seed : time(0); local 74 srand(seed); 75 LOG(INFO) << "Seed = " << seed; 83 TropicalWeightGenerator tropical_generator(seed, false); 85 tropical_tester(tropical_generator, seed); 90 LogWeightGenerator log_generator(seed, false); 92 log_tester(log_generator, seed); [all...] |
weight_test.cc | 29 DEFINE_int32(seed, -1, "random seed"); 76 void TestTemplatedWeights(int repeat, int seed) { 77 TropicalWeightGenerator_<T> tropical_generator(seed); 82 LogWeightGenerator_<T> log_generator(seed); 87 MinMaxWeightGenerator_<T> minmax_generator(seed); 92 SignedLogWeightGenerator_<T> signedlog_generator(seed); 102 int seed = FLAGS_seed >= 0 ? FLAGS_seed : time(0); local 103 LOG(INFO) << "Seed = " << seed; [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
random.c | 27 Word16 Random(Word16 * seed) 29 /* static Word16 seed = 21845; */ 30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); 31 return (*seed);
|
/external/wpa_supplicant_8/src/crypto/ |
sha256-tlsprf.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 *out, size_t outlen) 43 addr[2] = seed; 48 * A(0) = seed, A(i) = HMAC(secret, A(i-1)) 49 * P_hash = HMAC(secret, A(1) + seed) + HMAC(secret, A(2) + seed) + .. 50 * PRF(secret, label, seed) = P_SHA256(secret, label + seed) [all...] |
sha1-tlsprf.c | 21 * @seed: Seed value to bind into the key 22 * @seed_len: Length of the seed 31 const u8 *seed, size_t seed_len, u8 *out, size_t outlen) 50 MD5_addr[2] = seed; 57 SHA1_addr[2] = seed; 61 * A(0) = seed, A(i) = HMAC(secret, A(i-1)) 62 * P_hash = HMAC(secret, A(1) + seed) + HMAC(secret, A(2) + seed) + .. 63 * PRF = P_MD5(S1, label + seed) XOR P_SHA-1(S2, label + seed [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
DHValidationParms.java | 14 private DERBitString seed; field in class:DHValidationParms 37 public DHValidationParms(DERBitString seed, ASN1Integer pgenCounter) 39 if (seed == null) 41 throw new IllegalArgumentException("'seed' cannot be null"); 48 this.seed = seed; 59 this.seed = DERBitString.getInstance(seq.getObjectAt(0)); 65 return this.seed; 76 v.add(this.seed);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECParameterSpec.java | 16 private byte[] seed; field in class:ECParameterSpec 30 this.seed = null; 43 this.seed = null; 51 byte[] seed) 57 this.seed = seed; 97 * return the seed used to generate this curve (if available). 98 * @return the random seed 102 return seed;
|
/libcore/luni/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
|
/external/libvpx/libvpx/test/ |
acm_random.h | 26 explicit ACMRandom(int seed) { 27 Reset(seed); 30 void Reset(int seed) { 31 srand(seed);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1PRNG_SecureRandomImpl.java | 80 // MAX_BYTES - maximum # of seed bytes processing which doesn't require extra frame 81 // see (1) comments on usage of "seed" array below and 106 // Structure of "seed" array: 109 // - 81 - # of seed bytes in current seed frame 110 // - 82-86 - 5 words, current seed hash 111 private transient int[] seed; field in class:SHA1PRNG_SecureRandomImpl 113 // total length of seed bytes, including all processed 117 // - 0-4 - 5 words, copy of current seed hash 135 // The "seed" array is used to compute both "current seed hash" and "next bytes" [all...] |
/libcore/luni/src/main/java/java/security/spec/ |
EllipticCurve.java | 39 private final byte[] seed; field in class:EllipticCurve 46 * coefficients and seed. 54 * @param seed 55 * the seed used for the generation of the curve. 59 public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) { 73 if (seed == null) { 74 this.seed = null; 76 this.seed = new byte[seed.length]; 77 System.arraycopy(seed, 0, this.seed, 0, this.seed.length) [all...] |
/external/webkit/Source/WebKit/chromium/tests/ |
TreeTestHelpers.cpp | 38 // A seed of 1 has the special behavior of resetting the random 41 int32_t seed; local 43 seed = static_cast<int32_t>(currentTime()); 44 } while (seed <= 1); 45 return seed; 48 void initRandom(const int32_t seed) 50 srand(seed);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
PRF.java | 69 * @param seed: the seed to be used. 71 static synchronized void computePRF_SSLv3(byte[] out, byte[] secret, byte[] seed) { 83 sha.update(seed); 102 * @param seed: the seed to be used. 105 byte[] str_byts, byte[] seed) throws GeneralSecurityException { 109 // Do concatenation of the label with the seed: 113 // time(HMAC.update(label+seed)) 114 // < time(HMAC.update(label)) + time(HMAC.update(seed)) [all...] |
/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) {
|
/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/llvm/docs/CommandGuide/ |
llvm-stress.rst | 7 :program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile] 26 .. option:: -seed seed 28 Specify the seed to be used for the randomly generated instructions.
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.h | 13 const char *label, const u8 *seed, size_t seed_len,
|
/external/guava/guava/src/com/google/common/hash/ |
Murmur3_32HashFunction.java | 30 private final int seed; field in class:Murmur3_32HashFunction 32 Murmur3_32HashFunction(int seed) { 33 this.seed = seed; 41 return new Murmur3_32Hasher(seed); 50 Murmur3_32Hasher(int seed) { 52 h1 = seed;
|