Home
last modified time | relevance | path

Searched refs:isParityAdjusted (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESedeKeySpec.java114 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted() method in DESedeKeySpec
119 if (DESKeySpec.isParityAdjusted(key, offset) == false in isParityAdjusted()
120 || DESKeySpec.isParityAdjusted(key, offset + 8) == false in isParityAdjusted()
121 || DESKeySpec.isParityAdjusted(key, offset + 16) == false) { in isParityAdjusted()
DDESKeySpec.java186 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted() method in DESKeySpec
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDESedeKeySpecTest.java146 DESedeKeySpec.isParityAdjusted(null, 1); in testIsParityAdjusted()
158 DESedeKeySpec.isParityAdjusted(key, 1); in testIsParityAdjusted()
170 DESedeKeySpec.isParityAdjusted(key_not_pa, 0)); in testIsParityAdjusted()
185 DESedeKeySpec.isParityAdjusted(key_pa, 0)); in testIsParityAdjusted()
DDESKeySpecTest.java201 DESKeySpec.isParityAdjusted(null, 1); in testIsParityAdjusted()
211 DESKeySpec.isParityAdjusted(key, 1); in testIsParityAdjusted()
222 DESKeySpec.isParityAdjusted(key_not_pa, 0)); in testIsParityAdjusted()
233 DESKeySpec.isParityAdjusted(key_pa, 0)); in testIsParityAdjusted()