Home
last modified time | relevance | path

Searched refs:signBytes (Results 1 – 11 of 11) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrfTest.java195 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()
DIkeMacIntegrityTest.java187 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/
DIkeMacPrf.java105 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()
DIkeMacIntegrity.java133 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()
DIkeMac.java66 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in IkeMac
/packages/modules/IPsec/src/java/com/android/internal/net/crypto/
DKeyGenerationUtils.java54 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/
DIkeAuthPskPayload.java88 byte[] signingKeyBytes = ikePrf.signBytes(psk, IKE_KEY_PAD_STRING_ASCII_HEX_BYTES); in calculatePskSignature()
92 return ikePrf.signBytes(signingKeyBytes, dataToSignBytes); in calculatePskSignature()
DIkeAuthPayload.java104 byte[] signedidPayloadBodyBytes = ikePrf.signBytes(prfKeyBytes, idPayloadBodyBytes); in getSignedOctets()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DHmacSha256ByteSignerTest.java90 assertArrayEquals(expected, mMacByteSigner.signBytes(key, data)); in testSignBytes()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DHmacSha256ByteSigner.java47 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in HmacSha256ByteSigner
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandom.java74 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes() method in DeterministicSecureRandom