Searched refs:keyLen (Results 1 - 10 of 10) sorted by relevance
/openjdk7/jdk/test/javax/crypto/CryptoPermission/ |
H A D | RC4AliasPermCheck.java | 43 * @param keyLen key length must be positive 45 private static void test(String algo, int keyLen) throws Exception { argument 48 + keyLen + "-bit key"); 50 kg.init(keyLen);
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/ |
H A D | NISTWrapKAT.java | 59 public static void testKeyWrap(int keyLen, int dataLen, argument 62 dataLen + "-byte data with " + 8*keyLen + "-bit key"); 64 byte[] keyVal = new byte[keyLen]; 68 BigInteger temp = new BigInteger(KEK.substring(0, keyLen*2), 16);
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11KeyAgreement.java | 275 int keyLen; 277 keyLen = 8; 279 keyLen = 24; 281 keyLen = Math.min(56, secret.length); 283 keyLen = secret.length; 288 if (secret.length < keyLen) { 293 for (int i = 0; i < keyLen; i+=8) { 297 return new SecretKeySpec(secret, 0, keyLen, algorithm); 323 int keyLen = (int)lenAttributes[0].getLong(); 325 (session, keyID, algorithm, keyLen << [all...] |
H A D | P11ECDHKeyAgreement.java | 202 int keyLen = (int)lenAttributes[0].getLong(); 204 (session, keyID, algorithm, keyLen << 3, attributes);
|
H A D | P11Signature.java | 358 int keyLen; 360 keyLen = ((P11Key) publicKey).length(); 362 keyLen = ((RSAKey) publicKey).getModulus().bitLength(); 364 checkRSAKeyLength(keyLen); 380 int keyLen; 382 keyLen = ((P11Key) privateKey).keyLength; 384 keyLen = ((RSAKey) privateKey).getModulus().bitLength(); 386 checkRSAKeyLength(keyLen);
|
/openjdk7/jdk/test/sun/security/pkcs11/KeyGenerator/ |
H A D | TestKeyGenerator.java | 50 private TestResult test(String algorithm, int keyLen, Provider p, argument 54 System.out.println("Testing " + algorithm + ", " + keyLen + " bits..."); 63 kg.init(keyLen);
|
/openjdk7/jdk/test/sun/security/rsa/ |
H A D | TestKeyPairGenerator.java | 127 int keyLen = publicKey.getModulus().bitLength(); 128 if ((keyLen > len) || (keyLen < len - 1)) { 129 throw new Exception("Incorrect key length: " + keyLen);
|
/openjdk7/jdk/test/sun/security/pkcs11/rsa/ |
H A D | TestKeyPairGenerator.java | 128 int keyLen = publicKey.getModulus().bitLength(); 129 if ((keyLen > len) || (keyLen < len - 1)) { 130 throw new Exception("Incorrect key length: " + keyLen);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Properties.java | 347 int keyLen; 355 keyLen = 0; 361 while (keyLen < limit) { 362 c = lr.lineBuf[keyLen]; 365 valueStart = keyLen + 1; 369 valueStart = keyLen + 1; 377 keyLen++; 390 String key = loadConvert(lr.lineBuf, 0, keyLen, convtBuf);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/ |
H A D | CCacheInputStream.java | 181 int keyType, keyLen; 185 keyLen = read(4); 186 byte[] bytes = new byte[keyLen]; 187 for (int i = 0; i < keyLen; i++) {
|
Completed in 124 milliseconds