Home
last modified time | relevance | path

Searched refs:responderHello (Results 1 – 2 of 2) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DD2DCryptoOps.java73 ResponderHello.Builder responderHello = ResponderHello.newBuilder(); in signcryptMessageAndResponderHello() local
74 responderHello.setPublicDhKey(PublicKeyProtoUtil.encodePublicKey(publicDhKey)); in signcryptMessageAndResponderHello()
75 responderHello.setProtocolVersion(protocolVersion); in signcryptMessageAndResponderHello()
76 return signcryptPayload(payload, sharedKey, responderHello.build().toByteArray()); in signcryptMessageAndResponderHello()
96 Payload payload, SecretKey masterKey, @Nullable byte[] responderHello) in signcryptPayload() argument
109 if (responderHello != null) { in signcryptPayload()
110 secureMessageBuilder.setDecryptionKeyId(responderHello); in signcryptPayload()
141 ResponderHello responderHello = ResponderHello.parseFrom(encodedResponderHello); in parseAndValidateResponderHello() local
142 if (!responderHello.hasPublicDhKey()) { in parseAndValidateResponderHello()
145 return responderHello; in parseAndValidateResponderHello()
DD2DDiffieHellmanKeyExchangeHandshake.java136 byte[] responderHello = makeResponderHelloWithPayload(new byte[0]); in getNextHandshakeMessage()
138 return responderHello; in getNextHandshakeMessage()
157 byte[] responderHello = makeResponderHelloWithPayload(payload); in getNextHandshakeMessage()
160 return responderHello; in getNextHandshakeMessage()
222 private byte[] parseResponderHello(byte[] responderHello) throws HandshakeException { in parseResponderHello() argument
225 D2DCryptoOps.parseAndValidateResponderHello(responderHello); in parseResponderHello()
246 D2DCryptoOps.decryptResponderHelloMessage(responderEncodeKey, responderHello); in parseResponderHello()