Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DD2DSpakeEd25519Handshake.java350 private byte[] makeCommitmentPointMessage(boolean isInitiator) throws HandshakeException { in makeCommitmentPointMessage() argument
353 Ed25519.scalarMultiplyExtendedPoint(isInitiator ? KM : KN, passwordHash); in makeCommitmentPointMessage()
364 .setFlowNumber(isInitiator ? 1 : 2 /* first or second message */) in makeCommitmentPointMessage()
372 private void makeSharedKey(boolean isInitiator) throws HandshakeException { in makeSharedKey() argument
380 BigInteger[] kNMP = Ed25519.scalarMultiplyExtendedPoint(isInitiator ? KN : KM, passwordHash); in makeSharedKey()
393 private byte[] makeSharedKeyHashMessage(boolean isInitiator, byte[] payload) in makeSharedKeyHashMessage() argument
396 .setHashValue(ByteString.copyFrom(computeOurKeyHash(isInitiator))) in makeSharedKeyHashMessage()
397 .setFlowNumber(isInitiator ? 3 : 4 /* third or fourth message */); in makeSharedKeyHashMessage()
416 private byte[] computeOurKeyHash(boolean isInitiator) throws HandshakeException { in computeOurKeyHash() argument
418 new byte[] { (byte) (isInitiator ? 0 : 1) }, in computeOurKeyHash()
[all …]
DD2DDiffieHellmanKeyExchangeHandshake.java77 private boolean isInitiator; field in D2DDiffieHellmanKeyExchangeHandshake
100 isInitiator = state == State.INITIATOR_START; in D2DDiffieHellmanKeyExchangeHandshake()
298 SecretKey encodeKey = isInitiator ? initiatorEncodeKey : responderEncodeKey; in toConnectionContext()
299 SecretKey decodeKey = isInitiator ? responderEncodeKey : initiatorEncodeKey; in toConnectionContext()
302 int initialEncodeSequenceNumber = isInitiator ? 0 : 1; in toConnectionContext()
303 int initialDecodeSequenceNumber = isInitiator ? 1 : 0; in toConnectionContext()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/tests/
DARDAppClientTest.mm116 isInitiator:(BOOL)isInitiator
128 joinResponse.isInitiator = isInitiator;
201 isInitiator:(BOOL)isInitiator
213 isInitiator:isInitiator
251 isInitiator:YES
266 isInitiator:NO
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDJoinResponse.m29 @synthesize isInitiator = _isInitiator;
46 response.isInitiator = [params[kARDJoinInitiatorKey] boolValue];
DARDJoinResponse+Internal.h16 @property(nonatomic, assign) BOOL isInitiator;
DARDJoinResponse.h23 @property(nonatomic, readonly) BOOL isInitiator;
DARDAppClient+Internal.h41 @property(nonatomic, assign) BOOL isInitiator;
DARDAppClient.m111 @synthesize isInitiator = _isInitiator;
246 strongSelf.isInitiator = response.isInitiator;
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java118 private boolean isInitiator; field in PeerConnectionClient
463 isInitiator = false; in createPeerConnectionInternal()
624 isInitiator = true; in createOffer()
637 isInitiator = false; in createAnswer()
1044 if (isInitiator) { in onSetSuccess()