Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrfTest.java238 int keyMaterialLen = in testGenerateKeyMatForIke() local
244 byte[] calculatedKeyMat = mIkeHmacSha1Prf.generateKeyMat(prfKey, prfData, keyMaterialLen); in testGenerateKeyMatForIke()
256 int keyMaterialLen = FIRST_CHILD_AUTH_ALGO_KEY_LEN * 2 + FIRST_CHILD_ENCR_ALGO_KEY_LEN * 2; in testGenerateKeyMatForFirstChild() local
258 byte[] calculatedKeyMat = mIkeHmacSha1Prf.generateKeyMat(prfKey, prfData, keyMaterialLen); in testGenerateKeyMatForFirstChild()
/packages/modules/IPsec/src/java/com/android/internal/net/crypto/
DKeyGenerationUtils.java42 ByteSigner byteSigner, byte[] keyBytes, byte[] dataToSign, int keyMaterialLen) { in prfPlus() argument
43 ByteBuffer keyMatBuffer = ByteBuffer.allocate(keyMaterialLen); in prfPlus()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrf.java154 public byte[] generateKeyMat(byte[] keyBytes, byte[] dataToSign, int keyMaterialLen) { in generateKeyMat() argument
155 return KeyGenerationUtils.prfPlus(this, keyBytes, dataToSign, keyMaterialLen); in generateKeyMat()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java297 int keyMaterialLen = in makeIkeSaRecord() local
302 byte[] keyMat = prf.generateKeyMat(sKeySeed, bufferToSign.array(), keyMaterialLen); in makeIkeSaRecord()
396 int keyMaterialLen = 2 * encryptionKeyLength + 2 * integrityKeyLength; in makeChildSaRecord() local
399 childSaRecordConfig.skD, bufferToSign.array(), keyMaterialLen); in makeChildSaRecord()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java191 int keyMaterialLen = in testMakeIkeSaRecord() local