Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java232 byte[] sharedKey = new byte[0]; in testMakeChildSaRecord()
308 sharedKey, nonceInit, nonceResp, childSaRecordConfig); in testMakeChildSaRecord()
354 byte[] sharedKey = new byte[0]; in verifyChildKeyExchange()
356 sharedKey = in verifyChildKeyExchange()
362 sharedKey = in verifyChildKeyExchange()
370 assertEquals(expectedSharedKeyLen, sharedKey.length); in verifyChildKeyExchange()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1411 public Builder setAuthPsk(@NonNull byte[] sharedKey) { in setAuthPsk() argument
1412 if (sharedKey == null) { in setAuthPsk()
1416 return setAuth(new IkeAuthPskConfig(sharedKey), new IkeAuthPskConfig(sharedKey)); in setAuthPsk()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java395 byte[] sharedKey, in makeChildSaRecord() argument
402 ByteBuffer.allocate(sharedKey.length + nonceInit.length + nonceResp.length); in makeChildSaRecord()
403 bufferToSign.put(sharedKey).put(nonceInit).put(nonceResp); in makeChildSaRecord()