Lines Matching defs:md
37 private static void outOfBounds(MessageDigest md, int arrayLen, int ofs, int len) throws Exception {
39 md.reset();
40 md.update(new byte[arrayLen], ofs, len);
50 MessageDigest md = MessageDigest.getInstance(algorithm, "SUN");
52 outOfBounds(md, 16, 0, 32);
53 outOfBounds(md, 16, -8, 16);
54 outOfBounds(md, 16, 8, -8);
55 outOfBounds(md, 16, Integer.MAX_VALUE, 8);
65 md.update(ofsData, ofs, n);
66 byte[] ofsDigest = md.digest();