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 | 238 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/ |
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 | 154 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/ |
D | SaRecord.java | 297 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/ |
D | SaRecordTest.java | 191 int keyMaterialLen = in testMakeIkeSaRecord() local
|