Searched refs:ciphertextAndTag (Results 1 – 3 of 3) sorted by relevance
98 public void decrypt(ByteBuf out, ByteBuf ciphertextAndTag) throws GeneralSecurityException { in decrypt() argument99 int bytesRead = ciphertextAndTag.readableBytes(); in decrypt()105 checkArgument(ciphertextAndTag.nioBufferCount() == 1); in decrypt()107 ciphertextAndTag.nioBuffer(ciphertextAndTag.readerIndex(), bytesRead); in decrypt()114 ciphertextAndTag.readerIndex(out.readerIndex() + bytesRead); in decrypt()
69 void decrypt(ByteBuf out, ByteBuf ciphertextAndTag) throws GeneralSecurityException; in decrypt() argument
63 public void decrypt(ByteBuf out, ByteBuf ciphertextAndTag) throws GeneralSecurityException { in decrypt() argument65 ByteBuf ciphertext = ciphertextAndTag.readSlice(ciphertextAndTag.readableBytes() - TAG_BYTES); in decrypt()66 decrypt(out, /*tag=*/ ciphertextAndTag, Collections.singletonList(ciphertext)); in decrypt()