Searched refs:isParityAdjusted (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | DESedeKeySpec.java | 114 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()
|
D | DESKeySpec.java | 186 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/ |
D | DESedeKeySpecTest.java | 146 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()
|
D | DESKeySpecTest.java | 201 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()
|