| /openjdk7/jdk/test/sun/security/provider/SecureRandom/ |
| H A D | SelfSeed.java | 27 * @summary SecureRandom forces all instances to self-seed, even if a seed is 36 private static byte seed[] = { (byte)0xaa, (byte)0x11, (byte)0xa1 }; field in class:SelfSeed 42 sr1.setSeed(seed); 46 SecureRandom sr2 = new SecureRandom(seed);
|
| /openjdk7/jdk/src/share/classes/java/security/ |
| H A D | SecureRandomSpi.java | 45 * Reseeds this random object. The given seed supplements, rather than 46 * replaces, the existing seed. Thus, repeated calls are guaranteed 49 * @param seed the seed. 51 protected abstract void engineSetSeed(byte[] seed); argument 58 * to seed itself. This self-seeding will not occur if 66 * Returns the given number of seed bytes. This call may be used to 67 * seed other random number generators. 69 * @param numBytes the number of seed bytes to generate. 71 * @return the seed byte [all...] |
| /openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ |
| H A D | RuntimeAttributePropertyInfoImpl.java | 42 RuntimeAttributePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument 43 super(classInfo, seed);
|
| H A D | RuntimeReferencePropertyInfoImpl.java | 45 public RuntimeReferencePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument 46 super(classInfo,seed); 47 Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor();
|
| H A D | RuntimeValuePropertyInfoImpl.java | 42 RuntimeValuePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument 43 super(classInfo, seed);
|
| H A D | ValuePropertyInfoImpl.java | 40 PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> seed) { 42 super(parent,seed); 38 ValuePropertyInfoImpl( ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent, PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> seed) argument
|
| H A D | RuntimeMapPropertyInfoImpl.java | 44 RuntimeMapPropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument 45 super(classInfo, seed); 46 this.acc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor();
|
| H A D | SingleTypePropertyInfoImpl.java | 59 public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { argument 60 super(classInfo, seed); 62 Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor(); 94 seed 98 if(!isCollection() && seed.hasAnnotation(XmlList.class)) {
|
| H A D | MapPropertyInfoImpl.java | 55 public MapPropertyInfoImpl(ClassInfoImpl<T,C,F,M> ci, PropertySeed<T,C,F,M> seed) { argument 56 super(ci, seed); 58 XmlElementWrapper xe = seed.readAnnotation(XmlElementWrapper.class);
|
| H A D | RuntimeElementPropertyInfoImpl.java | 47 RuntimeElementPropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument 48 super(classInfo, seed); 49 Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor();
|
| /openjdk7/jdk/src/windows/classes/sun/security/mscapi/ |
| H A D | PRNG.java | 47 private static native byte[] generateSeed(int length, byte[] seed); argument 56 * Reseeds this random object. The given seed supplements, rather than 57 * replaces, the existing seed. Thus, repeated calls are guaranteed 60 * @param seed the seed. 62 protected void engineSetSeed(byte[] seed) { argument 63 if (seed != null) { 64 generateSeed(-1, seed); 82 * Returns the given number of seed bytes. This call may be used to 83 * seed othe [all...] |
| /openjdk7/jdk/test/java/math/BigDecimal/ |
| H A D | StringConstructor.java | 35 private static int seed = new Random().nextInt(); field in class:StringConstructor 36 private static Random rnd = new Random(seed); 86 System.err.println("Random number seed = " + seed);
|
| /openjdk7/jdk/src/share/classes/sun/misc/ |
| H A D | Hashing.java | 47 public static int murmur3_32(int seed, byte[] data) { argument 48 return murmur3_32(seed, data, 0, data.length); 52 public static int murmur3_32(int seed, byte[] data, int offset, int len) { argument 53 int h1 = seed; 116 public static int murmur3_32(int seed, char[] data) { argument 117 return murmur3_32(seed, data, 0, data.length); 120 public static int murmur3_32(int seed, char[] data, int offset, int len) { argument 121 int h1 = seed; 170 public static int murmur3_32(int seed, int[] data) { argument 171 return murmur3_32(seed, dat 174 murmur3_32(int seed, int[] data, int offset, int len) argument [all...] |
| /openjdk7/jdk/src/share/classes/java/security/spec/ |
| H A D | EllipticCurve.java | 48 private final byte[] seed; field in class:EllipticCurve 89 * <code>b</code>, and the <code>seed</code> used for curve generation. 93 * @param seed the bytes used during curve generation for later 102 BigInteger b, byte[] seed) { 117 if (seed != null) { 118 this.seed = seed.clone(); 120 this.seed = null; 153 * Returns the seeding bytes <code>seed</code> used 155 * @return the seeding bytes <code>seed</cod 101 EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) argument [all...] |
| /openjdk7/jdk/src/share/classes/sun/security/ec/ |
| H A D | ECKeyPairGenerator.java | 53 // used to seed the keypair generator 117 // seed is twice the key size (in bytes) plus 1 118 byte[] seed = new byte[(((keySize + 7) >> 3) + 1) * 2]; 122 random.nextBytes(seed); 126 long[] handles = generateECKeyPair(keySize, encodedParams, seed); 167 byte[] encodedParams, byte[] seed) throws GeneralSecurityException; 166 generateECKeyPair(int keySize, byte[] encodedParams, byte[] seed) argument
|
| /openjdk7/jdk/src/share/classes/sun/security/internal/spec/ |
| H A D | TlsPrfParameterSpec.java | 49 private final byte[] seed; field in class:TlsPrfParameterSpec 60 * @param seed the random seed to use in the calculation 69 * @throws NullPointerException if label or seed is null 73 byte[] seed, int outputLength, 75 if ((label == null) || (seed == null)) { 76 throw new NullPointerException("label and seed must not be null"); 83 this.seed = seed.clone(); 111 * Returns a copy of the seed t 72 TlsPrfParameterSpec(SecretKey secret, String label, byte[] seed, int outputLength, String prfHashAlg, int prfHashLength, int prfBlockSize) argument [all...] |
| /openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
| H A D | P11SecureRandom.java | 38 * application specified seed, we create a SHA1PRNG that we mix with in that 91 protected synchronized void engineSetSeed(byte[] seed) { argument 92 if (seed == null) { 93 throw new NullPointerException("seed must not be null"); 98 token.p11.C_SeedRandom(session.id(), seed); 100 // cannot set seed 101 // let a SHA1PRNG use that seed instead 104 random.setSeed(seed); 110 random.setSeed(seed);
|
| /openjdk7/jdk/src/share/classes/sun/security/provider/ |
| H A D | DSAKeyPairGenerator.java | 201 * source passed to generate a seed and then calls the seed-based 207 int[] seed = new int[5]; 209 seed[i] = random.nextInt(); 211 x = generateX(seed, q); 220 * Given a seed, generate the private key component of the key 222 * (FIPS-186) seed is the XSEED quantity. 224 * @param seed the seed to use to generate the private key. 226 BigInteger generateX(int[] seed, BigIntege argument [all...] |
| H A D | DSAParameterGenerator.java | 155 * seed has been found. 158 * seed 166 byte[] seed = new byte[20]; 170 seed[i] = (byte)random.nextInt(); 172 result = generatePandQ(seed, L); 180 * <p>The seed parameter corresponds to the <code>SEED</code> parameter 184 * @param seed the seed to generate the parameters 188 * <code>q</code> at index 1, the seed at index 2, and the counter value 189 * at index 3, or null if the seed doe 191 generatePandQ(byte[] seed, int L) argument [all...] |
| H A D | SecureRandom.java | 37 * <p>Note that if a seed is not provided, we attempt to provide sufficient 38 * seed bytes to completely randomize the internal state of the generator 39 * (20 bytes). However, our seed generation algorithm has not been thoroughly 67 * to provide sufficient seed bytes to completely randomize the internal 68 * state of the generator (20 bytes). Note, however, that our seed 72 * it may take several seconds of CPU time to seed the generator, depending 75 * seed bits. 83 * with a given seed from the SeedGenerator. 85 * @param seed the seed 87 SecureRandom(byte seed[]) argument 95 init(byte[] seed) argument 136 engineSetSeed(byte[] seed) argument [all...] |
| /openjdk7/jdk/test/java/util/concurrent/BlockingQueue/ |
| H A D | LoopHelpers.java | 86 private long seed = System.nanoTime() + seq.getAndIncrement(); field in class:LoopHelpers.SimpleRandom 89 seed = s; 93 long nextseed = (seed * multiplier + addend) & mask; 94 seed = nextseed;
|
| /openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/ |
| H A D | LoopHelpers.java | 86 private long seed = System.nanoTime() + seq.getAndIncrement(); field in class:LoopHelpers.SimpleRandom 89 seed = s; 93 long nextseed = (seed * multiplier + addend) & mask; 94 seed = nextseed;
|
| /openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/ |
| H A D | LoopHelpers.java | 86 private long seed = System.nanoTime() + seq.getAndIncrement(); field in class:LoopHelpers.SimpleRandom 89 seed = s; 93 long nextseed = (seed * multiplier + addend) & mask; 94 seed = nextseed;
|
| /openjdk7/jdk/test/java/util/concurrent/Exchanger/ |
| H A D | LoopHelpers.java | 85 private long seed = System.nanoTime() + seq.getAndIncrement(); field in class:LoopHelpers.SimpleRandom 88 seed = s; 92 long nextseed = (seed * multiplier + addend) & mask; 93 seed = nextseed;
|
| /openjdk7/jdk/test/java/util/concurrent/ExecutorCompletionService/ |
| H A D | LoopHelpers.java | 85 private long seed = System.nanoTime() + seq.getAndIncrement(); field in class:LoopHelpers.SimpleRandom 88 seed = s; 92 long nextseed = (seed * multiplier + addend) & mask; 93 seed = nextseed;
|