/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
SecretKeySpecTest.java | 218 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local 220 ks1.hashCode() == ks2.hashCode()); 233 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local 241 ks1.equals(ks2)); 244 ks2.equals(ks1)); 247 ks2.equals(ks3)); 255 ks2 = new SecretKeySpec(new byte[] { 1 }, algorithm); 256 assertFalse("Objects should not be equal.", ks1.equals(ks2)); 258 ks2 = new SecretKeySpec(key, "Another Algorithm"); 259 assertFalse("Objects should not be equal.", ks1.equals(ks2)); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
SecretKeySpecTest.java | 217 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local 219 ks1.hashCode() == ks2.hashCode()); 232 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local 240 ks1.equals(ks2)); 243 ks2.equals(ks1)); 246 ks2.equals(ks3)); 254 ks2 = new SecretKeySpec(new byte[] {1}, algorithm); 255 assertFalse("Objects should not be equal.", ks1.equals(ks2)); 257 ks2 = new SecretKeySpec(key, "Another Algorithm"); 258 assertFalse("Objects should not be equal.", ks1.equals(ks2)); [all...] |
/external/boringssl/src/decrepit/xts/ |
xts.c | 174 } ks1, ks2; /* AES key schedules to use */ member in struct:__anon7307 196 ctx->key_len * 4, &xctx->ks2.ks); 202 xctx->xts.key2 = &xctx->ks2; 235 if (xctx->xts.key2 != &xctx->ks2) { 238 xctx_out->xts.key2 = &xctx_out->ks2;
|