Searched defs:seed (Results 1 - 18 of 18) sorted by relevance

/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
H A DISO18033KDFParameters.java11 byte[] seed; field in class:ISO18033KDFParameters
14 byte[] seed)
16 this.seed = seed;
21 return seed;
13 ISO18033KDFParameters( byte[] seed) argument
H A DDHValidationParameters.java5 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
8 DHValidationParameters( byte[] seed, int counter) argument
[all...]
H A DMGFParameters.java11 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;
13 MGFParameters( byte[] seed) argument
19 MGFParameters( byte[] seed, int off, int len) argument
H A DDSAValidationParameters.java5 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[
8 DSAValidationParameters( byte[] seed, int counter) argument
[all...]
/dalvik/libcore/security/src/main/java/java/security/
H A DSecureRandomSpi.java34 * seed}. The seed of this {@code SecureRandomSpi} instance is supplemented,
37 * @param seed
38 * the new seed.
40 protected abstract void engineSetSeed(byte[] seed); argument
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
H A DSecureRandom.java89 * @param seed
90 * the seed for this generator.
92 public SecureRandom(byte[] seed) { argument
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) { argument
244 secureRandomSpi.engineSetSeed(seed);
256 setSeed(long seed) argument
[all...]
/dalvik/libcore/security/src/main/java/java/security/spec/
H A DEllipticCurve.java41 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) { argument
75 if (seed == null) {
76 this.seed = null;
78 this.seed = new byte[seed.length];
79 System.arraycopy(seed,
[all...]
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandomSpiTest.java86 protected void engineSetSeed(byte[] seed) {} argument
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java36 protected void engineSetSeed(byte[] seed) { argument
/dalvik/libcore/luni/src/main/java/java/util/
H A DRandom.java46 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) { argument
79 setSeed(seed);
100 seed = (seed * multiplie
253 setSeed(long seed) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
H A DMGF1BytesGenerator.java16 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/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DPRF.java72 * @param seed: the seed to be used.
74 static synchronized void computePRF_SSLv3(byte[] out, byte[] secret, byte[] seed) { argument
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))
107 computePRF(byte[] out, byte[] secret, byte[] str_byts, byte[] seed) argument
[all...]
H A DOpenSSLServerSocketImpl.java52 private native void nativeinit(String privatekey, String certificate, byte[] seed); argument
H A DOpenSSLSocketImpl.java100 private native void nativeinit(String privatekey, String certificate, byte[] seed); argument
/dalvik/libcore/security/src/test/java/tests/security/spec/
H A DEllipticCurveTest.java59 byte[] seed = new byte[24];
61 new EllipticCurve(f, a, b, seed);
68 new EllipticCurve(f1, a, b, seed);
71 // the seed parameter may be null
75 seed = null;
77 new EllipticCurve(f, a, b, seed);
99 byte[] seed = new byte[24];
103 new EllipticCurve(f, a, b, seed);
111 seed = new byte[24];
114 new EllipticCurve(f, a, b, seed);
770 MyEllipticCurve(ECField f, BigInteger a, BigInteger b, byte[] seed) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java84 // 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" arra
206 engineSetSeed(byte[] seed) argument
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DCodegenCommon.c91 u8 seed; local
98 seed = DOUBLEREG(reg) ? 3 : 1;
103 *mask |= seed << shift;
/dalvik/libcore/x-net/src/main/native/
H A Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp1293 jstring privatekey, jstring certificates, jbyteArray seed)
1297 // 'seed == null' when no SecureRandom Object is set
1299 if (seed != NULL) {
1300 jbyte* randseed = env->GetByteArrayElements(seed, NULL);
1302 env->ReleaseByteArrayElements(seed, randseed, 0);
2177 jstring privatekey, jstring certificates, jbyteArray seed)
2187 // 'seed == null' when no SecureRandom Object is set
2189 if (seed != NULL) {
2190 jbyte* randseed = env->GetByteArrayElements(seed, NULL);
2192 env->ReleaseByteArrayElements(seed, randsee
1292 org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init(JNIEnv* env, jobject object, jstring privatekey, jstring certificates, jbyteArray seed) argument
2176 org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_init(JNIEnv* env, jobject object, jstring privatekey, jstring certificates, jbyteArray seed) argument
[all...]

Completed in 335 milliseconds