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 | 686 byte[] messageBytes = message.getBytes("UTF-8"); in testVectors() 694 verifier.update(messageBytes); in testVectors() 802 byte[] messageBytes = message.getBytes("UTF-8"); in testBasic() 811 signer.update(messageBytes); in testBasic() 814 verifier.update(messageBytes); in testBasic() 818 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic() 927 byte[] messageBytes = message.getBytes("UTF-8"); in testDsaBias() 928 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testDsaBias() 937 signer.update(messageBytes); in testDsaBias() 974 byte[] messageBytes = message.getBytes("UTF-8"); in testBiasSha1WithDSA() [all …]
|
D | EcdsaTest.java | 614 byte[] messageBytes = message.getBytes("UTF-8"); in testVectors() 622 verifier.update(messageBytes); in testVectors() 688 byte[] messageBytes = message.getBytes("UTF-8"); in testBasic() 692 signer.update(messageBytes); in testBasic() 695 verifier.update(messageBytes); in testBasic() 699 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic() 740 byte[] messageBytes = message.getBytes("UTF-8"); in testBias() 741 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBias() 754 signer.update(messageBytes); in testBias()
|
D | RsaSignatureTest.java | 1089 byte[] messageBytes = message.getBytes("UTF-8"); in testBasic() 1093 signer.update(messageBytes); in testBasic() 1096 verifier.update(messageBytes); in testBasic() 1100 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/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 237 byte[] messageBytes = toArray(message); in exchangeMessages() 256 assertArrayEquals(messageBytes, actualMessageBytes); in exchangeMessages() 429 byte[] messageBytes = toArray(inputBuffer); in exchangeMessage() 438 assertArrayEquals(messageBytes, actualBytes); in exchangeMessage()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 244 byte[] messageBytes = toArray(message); in exchangeMessages() 263 assertArrayEquals(messageBytes, actualMessageBytes); in exchangeMessages() 436 byte[] messageBytes = toArray(inputBuffer); in exchangeMessage() 445 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 | 549 ScopedByteArrayRW messageBytes(env, messageArray.get()); in ecSignDigestWithPrivateKey() local 550 if (messageBytes.get() == nullptr) { in ecSignDigestWithPrivateKey() 555 memcpy(messageBytes.get(), message, message_len); in ecSignDigestWithPrivateKey() 584 ScopedByteArrayRW messageBytes(env, messageArray.get()); in rsaSignDigestWithPrivateKey() local 585 if (messageBytes.get() == nullptr) { in rsaSignDigestWithPrivateKey() 590 memcpy(messageBytes.get(), message, message_len); in rsaSignDigestWithPrivateKey()
|