Home | History | Annotate | Download | only in crypto

Lines Matching defs:updateAAD

1298                 c.updateAAD(new byte[24]);
1308 c.updateAAD(new byte[24]);
1315 c.updateAAD(new byte[24]);
3735 c.updateAAD(p.aad);
3768 c.updateAAD(new byte[8]);
3838 c.updateAAD(p.aad);
3853 c.updateAAD(largerThanAad, 50, 1);
3854 c.updateAAD(largerThanAad, 51, p.aad.length - 1);
3872 c.updateAAD(largerThanAad, 2, p.aad.length);
3889 c.updateAAD(p.aad);
3942 c.updateAAD((byte[]) null);
3943 fail("should not be able to call updateAAD before Cipher is initialized");
3948 c.updateAAD((ByteBuffer) null);
3949 fail("should not be able to call updateAAD before Cipher is initialized");
3954 c.updateAAD(new byte[8]);
3955 fail("should not be able to call updateAAD before Cipher is initialized");
3960 c.updateAAD(null, 0, 8);
3961 fail("should not be able to call updateAAD before Cipher is initialized");
3967 c.updateAAD(bb);
3968 fail("should not be able to call updateAAD before Cipher is initialized");
3979 c.updateAAD((byte[]) null);
3980 fail("should not be able to call updateAAD with null input");
3985 c.updateAAD((ByteBuffer) null);
3986 fail("should not be able to call updateAAD with null input");
3991 c.updateAAD(null, 0, 8);
3992 fail("should not be able to call updateAAD with null input");
3997 c.updateAAD(new byte[8], -1, 7);
3998 fail("should not be able to call updateAAD with invalid offset");
4003 c.updateAAD(new byte[8], 0, -1);
4004 fail("should not be able to call updateAAD with negative length");
4009 c.updateAAD(new byte[8], 0, 8 + 1);
4010 fail("should not be able to call updateAAD with too large length");
4015 c.updateAAD(new byte[8]);
4016 fail("should not be able to call updateAAD on non-AEAD cipher");
4026 c.updateAAD(new byte[8]);
4027 c.updateAAD(new byte[8]);
4034 c.updateAAD(new byte[8]);
4036 c.updateAAD(new byte[8]);
4551 c1.updateAAD(new byte[] {
4554 c1.updateAAD(new byte[] {
4559 c2.updateAAD(new byte[] {
4585 c1.updateAAD(new byte[] {
4588 c2.updateAAD(new byte[] {
4611 c1.updateAAD(new byte[] {
4623 c1.updateAAD(aad);
4624 c2.updateAAD(aad);
4633 c1.updateAAD(aad2);
4634 fail("Should not allow updateAAD without re-initialization");
4666 c1.updateAAD(new byte[] {
4678 c1.updateAAD(aad);
4679 c2.updateAAD(aad);
4688 c1.updateAAD(aad2);
4689 fail("Should not allow updateAAD without re-initialization");