Home | History | Annotate | Download | only in jsse

Lines Matching full:seed

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))
117 byte[] tmp_seed = new byte[seed.length + str_byts.length];
119 System.arraycopy(seed, 0, tmp_seed, str_byts.length, seed.length);
120 seed = tmp_seed;
144 logger.println("seed["+seed.length+"]: ");
145 logger.printAsHex(16, "", " ", seed);
157 byte[] hash = md5_mac.doFinal(seed); // A(1)
161 md5_mac.update(seed);
180 hash = sha_mac.doFinal(seed); // A(1)
185 sha1hash = sha_mac.doFinal(seed);