Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DUkey2Handshake.java556 Ukey2ClientInit.Builder clientInit = Ukey2ClientInit.newBuilder(); in makeClientInitMessage() local
557 clientInit.setVersion(VERSION); in makeClientInitMessage()
558 clientInit.setRandom(ByteString.copyFrom(generateRandomNonce())); in makeClientInitMessage()
559 clientInit.setNextProtocol(NEXT_PROTOCOL); in makeClientInitMessage()
562 clientInit.addCipherCommitments(generateP256SHA512Commitment()); in makeClientInitMessage()
564 return clientInit.build().toByteArray(); in makeClientInitMessage()
627 Ukey2ClientInit clientInit = null; in parseMessage1() local
629 clientInit = Ukey2ClientInit.parseFrom(message.getMessageData()); in parseMessage1()
636 if (!clientInit.hasVersion()) { in parseMessage1()
639 if (clientInit.getVersion() != VERSION) { in parseMessage1()
[all …]