Lines Matching defs:cipher
112 private static void test(Cipher cipher, int mode, SecretKey key,
117 cipher.init(mode, key, params);
118 int outLen = cipher.getOutputSize(in.length);
134 byte[] testOut1 = cipher.update(in, 0, 16);
136 testOut1 = cipher.doFinal(in, 16, in.length-16);
145 cipher.update(inBuf, outBuf);
146 cipher.doFinal(inBuf, outBuf);
153 cipher.update(inDirectBuf, outDirectBuf);
154 cipher.doFinal(inDirectBuf, outDirectBuf);
166 cipher.update(inDirectBuf, outBuf);
167 cipher.doFinal(inDirectBuf, outBuf);
178 cipher.update(inBuf, outDirectBuf);
179 cipher.doFinal(inBuf, outDirectBuf);