Home
last modified time | relevance | path

Searched refs:cipherText (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java613 final ByteBuffer cipherText = ByteBuffer.allocate(mIv.length + encrypted.length); in getCipherText() local
614 cipherText.put(mIv); in getCipherText()
615 cipherText.put(encrypted); in getCipherText()
617 return getByteArrayFromBuffer(cipherText); in getCipherText()
657 final ByteBuffer cipherText = in getCipherText() local
659 cipherText.put(mIv); in getCipherText()
660 cipherText.put(encryptedTextAndIcv); in getCipherText()
662 return getByteArrayFromBuffer(cipherText); in getCipherText()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java405 ByteBuffer cipherText = ByteBuffer.allocate(AES_CBC_IV_LEN + encrypted.length); in getCiphertext() local
406 cipherText.put(iv); in getCiphertext()
407 cipherText.put(encrypted); in getCiphertext()
409 return getByteArrayFromBuffer(cipherText); in getCiphertext()