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/ |
D | IkeMacPrfTest.java | 266 int keyMaterialLen = in testGenerateKeyMatForIke() local 272 byte[] calculatedKeyMat = mIkeHmacSha1Prf.generateKeyMat(prfKey, prfData, keyMaterialLen); in testGenerateKeyMatForIke() 284 int keyMaterialLen = FIRST_CHILD_AUTH_ALGO_KEY_LEN * 2 + FIRST_CHILD_ENCR_ALGO_KEY_LEN * 2; in testGenerateKeyMatForFirstChild() local 286 byte[] calculatedKeyMat = mIkeHmacSha1Prf.generateKeyMat(prfKey, prfData, keyMaterialLen); in testGenerateKeyMatForFirstChild()
|
/packages/modules/IPsec/src/java/com/android/internal/net/crypto/ |
D | KeyGenerationUtils.java | 42 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/ |
D | IkeMacPrf.java | 215 public byte[] generateKeyMat(byte[] keyBytes, byte[] dataToSign, int keyMaterialLen) { in generateKeyMat() argument 216 return KeyGenerationUtils.prfPlus(this, keyBytes, dataToSign, keyMaterialLen); in generateKeyMat()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecord.java | 299 int keyMaterialLen = in makeIkeSaRecord() local 304 byte[] keyMat = prf.generateKeyMat(sKeySeed, bufferToSign.array(), keyMaterialLen); in makeIkeSaRecord() 411 int keyMaterialLen = 2 * encryptionKeyLength + 2 * integrityKeyLength; in makeChildSaRecord() local 414 childSaRecordConfig.skD, bufferToSign.array(), keyMaterialLen); in makeChildSaRecord()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecordTest.java | 193 int keyMaterialLen = in testMakeIkeSaRecord() local
|