Searched refs:messageBytes (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | ChannelCrypterNettyTestBase.java | 66 byte[] messageBytes = message.getBytes(UTF_8); in createFrameEncrypt() 68 ByteBuf plain = getDirectBuffer(messageBytes.length, ref); in createFrameEncrypt() 69 plain.writeBytes(messageBytes); in createFrameEncrypt() 71 frame.out = getDirectBuffer(messageBytes.length + client.getSuffixLength(), ref); in createFrameEncrypt() 132 byte[] messageBytes = message.getBytes(UTF_8); in encryptDecryptComposite() 134 ByteBuf plain1 = getDirectBuffer(messageBytes.length - lastLen, ref); in encryptDecryptComposite() 136 plain1.writeBytes(messageBytes, 0, messageBytes.length - lastLen); in encryptDecryptComposite() 137 plain2.writeBytes(messageBytes, messageBytes.length - lastLen, lastLen); in encryptDecryptComposite() 140 frameEncrypt.out = getDirectBuffer(messageBytes.length + client.getSuffixLength(), ref); in encryptDecryptComposite()
|
D | FakeTsiHandshaker.java | 172 ByteBuffer messageBytes = frameParser.getRawFrame(); in processBytesFromPeer() local 174 int length = messageBytes.limit() - offset; in processBytesFromPeer() 175 String message = new String(messageBytes.array(), offset, length, UTF_8); in processBytesFromPeer()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | DsaTest.java | 687 byte[] messageBytes = message.getBytes("UTF-8"); in testVectors() 695 verifier.update(messageBytes); in testVectors() 803 byte[] messageBytes = message.getBytes("UTF-8"); in testBasic() 812 signer.update(messageBytes); in testBasic() 815 verifier.update(messageBytes); in testBasic() 819 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic() 931 byte[] messageBytes = message.getBytes("UTF-8"); in testDsaBias() 932 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testDsaBias() 941 signer.update(messageBytes); in testDsaBias() 978 byte[] messageBytes = message.getBytes("UTF-8"); in testBiasSha1WithDSA() [all …]
|
D | EcdsaTest.java | 615 byte[] messageBytes = message.getBytes("UTF-8"); in testVectors() 623 verifier.update(messageBytes); in testVectors() 701 byte[] messageBytes = message.getBytes("UTF-8"); in testBasic() 705 signer.update(messageBytes); in testBasic() 708 verifier.update(messageBytes); in testBasic() 712 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic() 753 byte[] messageBytes = message.getBytes("UTF-8"); in testBias() 754 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBias() 767 signer.update(messageBytes); in testBias()
|
D | RsaSignatureTest.java | 1094 byte[] messageBytes = message.getBytes("UTF-8"); in testBasic() 1098 signer.update(messageBytes); in testBasic() 1101 verifier.update(messageBytes); in testBasic() 1105 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ApplicationThreadDeframerTest.java | 119 byte[][] messageBytes = {{1, 2, 3}, {4}, {5, 6}}; in messagesAvailableDrainsToMessageReadQueue_returnedByInitializingMessageProducer() 121 for (int i = 0; i < messageBytes.length; i++) { in messagesAvailableDrainsToMessageReadQueue_returnedByInitializingMessageProducer() 122 messages.add(new ByteArrayInputStream(messageBytes[i])); in messagesAvailableDrainsToMessageReadQueue_returnedByInitializingMessageProducer() 127 for (int i = 0; i < messageBytes.length; i++) { in messagesAvailableDrainsToMessageReadQueue_returnedByInitializingMessageProducer() 130 assertEquals(Bytes.asList(messageBytes[i]), Bytes.asList(ByteStreams.toByteArray(message))); in messagesAvailableDrainsToMessageReadQueue_returnedByInitializingMessageProducer()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 255 byte[] messageBytes = toArray(message); in exchangeMessages() 274 assertArrayEquals(messageBytes, actualMessageBytes); in exchangeMessages() 479 byte[] messageBytes = toArray(inputBuffer); in exchangeMessage() 488 assertArrayEquals(messageBytes, actualBytes); in exchangeMessage()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 248 byte[] messageBytes = toArray(message); in exchangeMessages() 267 assertArrayEquals(messageBytes, actualMessageBytes); in exchangeMessages() 470 byte[] messageBytes = toArray(inputBuffer); in exchangeMessage() 479 assertArrayEquals(messageBytes, actualBytes); in exchangeMessage()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPTransaction.java | 756 protected void sendMessage(byte[] messageBytes, in sendMessage() argument
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 553 ScopedByteArrayRW messageBytes(env, messageArray.get()); in ecSignDigestWithPrivateKey() local 554 if (messageBytes.get() == nullptr) { in ecSignDigestWithPrivateKey() 559 memcpy(messageBytes.get(), message, message_len); in ecSignDigestWithPrivateKey() 588 ScopedByteArrayRW messageBytes(env, messageArray.get()); in rsaSignDigestWithPrivateKey() local 589 if (messageBytes.get() == nullptr) { in rsaSignDigestWithPrivateKey() 594 memcpy(messageBytes.get(), message, message_len); in rsaSignDigestWithPrivateKey()
|