Searched refs:HandshakeCipher (Results 1 – 7 of 7) sorted by relevance
19 import com.google.security.cryptauth.lib.securegcm.Ukey2Handshake.HandshakeCipher;55 Ukey2Handshake client = Ukey2Handshake.forInitiator(HandshakeCipher.P256_SHA512); in testHandshake()56 Ukey2Handshake server = Ukey2Handshake.forResponder(HandshakeCipher.P256_SHA512); in testHandshake()106 "You added a cipher, but forgot to change the test", 1, HandshakeCipher.values().length); in testCipherEnumValuesCorrect()109 HandshakeCipher.P256_SHA512.getValue()); in testCipherEnumValuesCorrect()124 Ukey2Handshake client = Ukey2Handshake.forInitiator(HandshakeCipher.P256_SHA512); in testHandshakeClientAndServerSendRepeatedOutOfOrderMessages()125 Ukey2Handshake server = Ukey2Handshake.forResponder(HandshakeCipher.P256_SHA512); in testHandshakeClientAndServerSendRepeatedOutOfOrderMessages()138 client = Ukey2Handshake.forInitiator(HandshakeCipher.P256_SHA512); in testHandshakeClientAndServerSendRepeatedOutOfOrderMessages()139 server = Ukey2Handshake.forResponder(HandshakeCipher.P256_SHA512); in testHandshakeClientAndServerSendRepeatedOutOfOrderMessages()150 client = Ukey2Handshake.forInitiator(HandshakeCipher.P256_SHA512); in testHandshakeClientAndServerSendRepeatedOutOfOrderMessages()[all …]
17 import com.google.security.cryptauth.lib.securegcm.Ukey2Handshake.HandshakeCipher;40 Ukey2Handshake javaUkey2Handshake = Ukey2Handshake.forResponder(HandshakeCipher.P256_SHA512); in testCppClientJavaServer()85 Ukey2Handshake javaUkey2Handshake = Ukey2Handshake.forInitiator(HandshakeCipher.P256_SHA512); in testCppServerJavaClient()
82 enum class HandshakeCipher : int { enum90 static std::unique_ptr<UKey2Handshake> ForInitiator(HandshakeCipher cipher);94 static std::unique_ptr<UKey2Handshake> ForResponder(HandshakeCipher cipher);174 UKey2Handshake(InternalState state, HandshakeCipher cipher);225 const HandshakeCipher handshake_cipher_;255 std::map<HandshakeCipher, string> raw_message3_map_;
48 UKey2Handshake::HandshakeCipher cipher) { in GenerateKeyPair()50 case UKey2Handshake::HandshakeCipher::P256_SHA512: in GenerateKeyPair()71 HandshakeCipher cipher) { in ForInitiator()78 HandshakeCipher cipher) { in ForResponder()83 UKey2Handshake::UKey2Handshake(InternalState state, HandshakeCipher cipher) in UKey2Handshake()210 case HandshakeCipher::P256_SHA512: in GetVerificationString()446 HandshakeCipher server_cipher; in ParseServerInitUkey2Message()447 switch (static_cast<HandshakeCipher>(cipher)) { in ParseServerInitUkey2Message()448 case HandshakeCipher::P256_SHA512: in ParseServerInitUkey2Message()449 server_cipher = static_cast<HandshakeCipher>(cipher); in ParseServerInitUkey2Message()[all …]
238 UKey2Handshake::HandshakeCipher::P256_SHA512); in RunAsInitiator()256 UKey2Handshake::HandshakeCipher::P256_SHA512); in RunAsResponder()
128 public static Ukey2Handshake forInitiator(HandshakeCipher cipher) throws HandshakeException { in forInitiator()138 public static Ukey2Handshake forResponder(HandshakeCipher cipher) throws HandshakeException { in forResponder()183 public enum HandshakeCipher { enum in Ukey2Handshake189 HandshakeCipher(UkeyProto.Ukey2HandshakeCipher value) { in HandshakeCipher() method in Ukey2Handshake.HandshakeCipher238 private final HashMap<HandshakeCipher, byte[]> rawMessage3Map = new HashMap<>();240 private final HandshakeCipher handshakeCipher;287 private Ukey2Handshake(InternalState state, HandshakeCipher cipher) throws HandshakeException { in Ukey2Handshake()587 private KeyPair genKeyPair(HandshakeCipher cipher) throws HandshakeException { in genKeyPair()757 HandshakeCipher serverCipher = null; in parseMessage2()758 for (HandshakeCipher cipher : HandshakeCipher.values()) { in parseMessage2()[all …]
195 bytes. The `handshake_cipher` field contains the server-chosen `HandshakeCipher`. The270 Let `Hash` = the hash from HandshakeCipher278 instantiated with the hash from the `HandshakeCipher`.