/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacPrfTest.java | 167 byte[] calculatedBytes = mIkeHmacSha1Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha1() 178 byte[] calculatedBytes = mIkeHmacSha256Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha256() 269 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbc() 282 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWith16ByteInput() 294 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWithKeyShorterThan16Bytes() 306 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWithKeyLongerThan16Bytes()
|
D | IkeMacIntegrityTest.java | 149 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbc() 162 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbcWith16ByteInput()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMac.java | 73 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in IkeMac 80 .signBytes(keyBytes, dataToSign, true /*needTruncation*/); in signBytes() 84 .signBytes(keyBytes, dataToSign, false /*needTruncation*/); in signBytes() 119 .signBytes(new byte[16], keyBytes, false /*needTruncation*/); in modifyKeyIfNeeded()
|
D | IkeMacPrf.java | 119 return signBytes(keyBuffer.array(), sharedDhKey); in generateSKeySeed() 137 return signBytes(skD, dataToSign.array()); in generateRekeyedSKeySeed()
|
D | IkeMacIntegrity.java | 131 byte[] signedBytes = signBytes(keyBytes, dataToAuthenticate); in generateChecksum()
|
D | AesXCbcImpl.java | 62 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign, boolean needTruncation) { in signBytes() method in AesXCbcImpl
|
/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 | 87 byte[] signingKeyBytes = ikePrf.signBytes(psk, IKE_KEY_PAD_STRING_ASCII_HEX_BYTES); in calculatePskSignature() 91 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
|