Home
last modified time | relevance | path

Searched refs:messageBytes (Results 1 – 7 of 7) sorted by relevance

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDsaTest.java686 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 …]
DEcdsaTest.java614 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()
DRsaSignatureTest.java1089 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/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java237 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/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
DProtobufWireAdapter.java241 byte[] messageBytes = message.payload; in writeMessage()
242 int messageLength = messageBytes.length; in writeMessage()
245 mOutputStream.write(messageBytes); in writeMessage()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPTransaction.java756 protected void sendMessage(byte[] messageBytes, in sendMessage() argument
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc540 ScopedByteArrayRW messageBytes(env, messageArray.get()); in rawSignDigestWithPrivateKey() local
541 if (messageBytes.get() == nullptr) { in rawSignDigestWithPrivateKey()
546 memcpy(messageBytes.get(), message, message_len); in rawSignDigestWithPrivateKey()