Searched refs:sks (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | MacThread.java | 41 SecretKeySpec sks = new SecretKeySpec(b, "SHA1"); in test() local 42 m.init(sks); in test() 46 m.init(sks); in test() 49 m.init(sks); in test()
|
/libcore/ojluni/src/test/java/security/KeyStore/ |
D | TestKeystoreEntry.java | 58 private final SecretKey[] sks = new SecretKey[NUM_ALGOS]; field in TestKeystoreEntry 66 sks[i] = kgs[i].generateKey(); in TestKeystoreEntry() 106 ks.setKeyEntry(aliasHead + j, sks[j], PASSWDK, null); in runTest() 134 if (!temp.equals(sks[m])) { in runTest()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | MacSpiTest.java | 164 SecretKeySpec sks = new SecretKeySpec(bb1, "SHA1"); in testMacSpiTests01() local 174 mSpi.engineInit(sks, null); in testMacSpiTests01() 196 mSpi1.engineInit(sks, null); in testMacSpiTests01() 209 mSpi2.engineInit(sks, null); in testMacSpiTests01()
|
D | MacTest.java | 325 SecretKeySpec sks = new SecretKeySpec(bb, "SHA1"); in testMac09() local 363 macs[i].init(sks); in testMac09() 387 SecretKeySpec sks = new SecretKeySpec(b, "SHA1"); in testMac10() local 389 macs[i].init(sks); in testMac10() 592 SecretKeySpec sks = new SecretKeySpec(b, "SHA1"); in testInit() local 599 macs[i].init(sks); in testInit() 606 macs[i].init(sks, algPS); in testInit() 640 SecretKeySpec sks = new SecretKeySpec(bb, "SHA1"); in testUpdateByteBuffer01() local 646 macs[i].init(sks); in testUpdateByteBuffer01() 658 macs[i].init(sks); in testUpdateByteBuffer01() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | SecretKeySpecTest.java | 204 SecretKeySpec sks = new SecretKeySpec(key, offset, len, algorithm); in testGetEncoded() local 205 assertEquals("Key length is incorrect", len, sks.getEncoded().length); in testGetEncoded()
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashMap.java | 673 SequencedSet<K> sks = new LinkedKeySet(false); in sequencedKeySet() local 674 keySet = sks; in sequencedKeySet() 675 return sks; in sequencedKeySet()
|