/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacPrfTest.java | 195 byte[] calculatedBytes = mIkeHmacSha1Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha1() 206 byte[] calculatedBytes = mIkeHmacSha256Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha256() 297 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbc() 310 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWith16ByteInput() 322 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWithKeyShorterThan16Bytes() 334 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWithKeyLongerThan16Bytes() 348 byte[] calculatedBytes = mIkeAes128CmacPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128Cmac() 361 byte[] calculatedBytes = mIkeAes128CmacPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128CmacWithKeyShorterThan16Bytes() 374 byte[] calculatedBytes = mIkeAes128CmacPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128CmacWithKeyLongerThan16Bytes()
|
D | IkeMacIntegrityTest.java | 187 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbc() 201 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbcWith16ByteInput()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacPrf.java | 105 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in IkeMacPrf 117 return super.signBytes(keyBytes, dataToSign); in signBytes() 152 keyBytes = signBytes(new byte[16], keyBytes); in modifyAesCmacKeyIfNeeded() 180 return signBytes(keyBuffer.array(), sharedDhKey); in generateSKeySeed() 198 return signBytes(skD, dataToSign.array()); in generateRekeyedSKeySeed()
|
D | IkeMacIntegrity.java | 133 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in IkeMacIntegrity 141 return super.signBytes(keyBytes, dataToSign); in signBytes() 172 byte[] signedBytes = signBytes(keyBytes, dataToAuthenticate); in generateChecksum()
|
D | IkeMac.java | 66 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in IkeMac
|
/packages/modules/IPsec/src/java/com/android/internal/net/crypto/ |
D | KeyGenerationUtils.java | 54 previousMac = byteSigner.signBytes(keyBytes, dataToSignBuffer.array()); in prfPlus() 79 byte[] signBytes(byte[] keyBytes, byte[] dataToSign); in signBytes() method
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeAuthPskPayload.java | 88 byte[] signingKeyBytes = ikePrf.signBytes(psk, IKE_KEY_PAD_STRING_ASCII_HEX_BYTES); in calculatePskSignature() 92 return ikePrf.signBytes(signingKeyBytes, dataToSignBytes); in calculatePskSignature()
|
D | IkeAuthPayload.java | 104 byte[] signedidPayloadBodyBytes = ikePrf.signBytes(prfKeyBytes, idPayloadBodyBytes); in getSignedOctets()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/ |
D | HmacSha256ByteSignerTest.java | 90 assertArrayEquals(expected, mMacByteSigner.signBytes(key, data)); in testSignBytes()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/ |
D | HmacSha256ByteSigner.java | 47 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in HmacSha256ByteSigner
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/testmode/ |
D | DeterministicSecureRandom.java | 74 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in DeterministicSecureRandom
|