Home
last modified time | relevance | path

Searched refs:ciphertextAndTag (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsChannelCrypter.java98 public void decrypt(ByteBuf out, ByteBuf ciphertextAndTag) throws GeneralSecurityException { in decrypt() argument
99 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()
DChannelCrypterNetty.java69 void decrypt(ByteBuf out, ByteBuf ciphertextAndTag) throws GeneralSecurityException; in decrypt() argument
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DFakeChannelCrypter.java63 public void decrypt(ByteBuf out, ByteBuf ciphertextAndTag) throws GeneralSecurityException { in decrypt() argument
65 ByteBuf ciphertext = ciphertextAndTag.readSlice(ciphertextAndTag.readableBytes() - TAG_BYTES); in decrypt()
66 decrypt(out, /*tag=*/ ciphertextAndTag, Collections.singletonList(ciphertext)); in decrypt()