Home
last modified time | relevance | path

Searched refs:AES_CBC_IV_LEN (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java59 static final int AES_CBC_IV_LEN = 16; field in PacketUtils
345 calculateEspPacketSize(payload.length, AES_CBC_IV_LEN, AES_CBC_BLK_SIZE, 128); in length()
394 byte[] iv = new byte[AES_CBC_IV_LEN]; in getCiphertext()
405 ByteBuffer cipherText = ByteBuffer.allocate(AES_CBC_IV_LEN + encrypted.length); in getCiphertext()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DAesXCbcImpl.java38 private static final int AES_CBC_IV_LEN = 16; field in AesXCbcImpl
141 IvParameterSpec iv = new IvParameterSpec(new byte[AES_CBC_IV_LEN]); in encryptAesBlock()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTunnelTest.java22 import static android.net.cts.PacketUtils.AES_CBC_IV_LEN;
278 AES_CBC_IV_LEN, in getPacketSize()
289 expectedPacketSize, AES_CBC_IV_LEN, AES_CBC_BLK_SIZE, AUTH_KEY.length * 4); in getPacketSize()
DPacketUtils.java60 static final int AES_CBC_IV_LEN = 16; field in PacketUtils
409 return new EspCryptCipher(AES_CBC, AES_CBC_BLK_SIZE, key, AES_CBC_IV_LEN); in getDefaultCipher()
DIpSecManagerTest.java31 import static android.net.cts.PacketUtils.AES_CBC_IV_LEN;
454 return AES_CBC_IV_LEN; in getIvLen()