Searched refs:aad (Results 1 - 12 of 12) sorted by relevance

/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestCICOWithGCMAndAAD.java51 byte[] aad = new byte[128];
52 rdm.nextBytes(aad);
53 byte[] aad2 = aad.clone();
58 encCipher.updateAAD(aad);
61 decCipher.updateAAD(aad);
H A DTestKATForGCM.java60 byte[] aad; field in class:TestKATForGCM.TestVector
66 TestVector(String key, String iv, String pt, String aad, argument
70 this.aad = HexToBytes(aad);
75 ",aad=" + aad + ", ct=" + ct + ", tag=" + tag;
90 // no plain text, no aad
112 // no plain text, 16-byte aad
144 // no plain text, 20-byte aad
175 // 96-bit iv w/ 128-bit tags, 13/16/32/51-byte plain text, no aad
[all...]
/openjdk10/jdk/test/com/oracle/security/ucrypto/
H A DTestCICOWithGCMAndAAD.java63 byte[] aad = new byte[128];
64 rdm.nextBytes(aad);
65 byte[] aad2 = aad.clone();
74 encCipher.updateAAD(aad);
77 decCipher.updateAAD(aad);
H A DTestKATForGCM.java58 byte[] aad; field in class:TestKATForGCM.TestVector
64 TestVector(String key, String iv, String pt, String aad, argument
68 this.aad = HexToBytes(aad);
73 ",aad=" + aad + ", ct=" + ct + ", tag=" + tag;
88 // no plain text, no aad
110 // no plain text, 16-byte aad
142 // no plain text, 20-byte aad
173 // 96-bit iv w/ 128-bit tags, 13/16/32/51-byte plain text, no aad
[all...]
/openjdk10/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DGaloisCounterMode.java354 byte[] aad = aadBuffer.toByteArray();
355 sizeOfAAD = aad.length;
357 int lastLen = aad.length % AES_BLOCK_SIZE;
359 ghashAllToS.update(aad, 0, aad.length - lastLen);
360 byte[] padded = expandToOneBlock(aad, aad.length - lastLen,
364 ghashAllToS.update(aad);
H A DAESCipher.java637 byte[] aad = new byte[aadLen];
638 src.get(aad);
639 core.updateAAD(aad, 0, aadLen);
/openjdk10/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/
H A DNativeGCMCipher.java107 byte[] aad = null;
110 aad = aadBuffer.toByteArray();
113 init(encrypt, keyValue, iv, tagLen, aad);
163 protected void init(boolean encrypt, byte[] keyVal, byte[] ivVal, int tLen, byte[] aad) { argument
169 tLen, aad);
H A DNativeCipher.java480 int tagLen, byte[] aad);
478 nativeInit(int mech, boolean encrypt, byte[] key, byte[] iv, int tagLen, byte[] aad) argument
/openjdk10/langtools/test/tools/javap/classfile/
H A DT6887895.java97 double[][] aad = new double[0][];
/openjdk10/hotspot/test/compiler/codegen/aes/
H A DTestAESBase.java68 byte[] aad = {0x11, 0x22, 0x33, 0x44, 0x55}; field in class:TestAESBase
212 cipher.updateAAD(aad);
215 dCipher.updateAAD(aad);
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/
H A DCipherBox.java957 byte[] aad = authenticator.acquireAuthenticationBytes(
960 cipher.updateAAD(aad);
1023 byte[] aad = authenticator.acquireAuthenticationBytes(
1025 cipher.updateAAD(aad);
/openjdk10/nashorn/test/script/basic/
H A DJDK-8017084.js737 aad: 706,

Completed in 113 milliseconds