Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrfTest.java167 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()
DIkeMacIntegrityTest.java149 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/
DIkeMac.java73 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()
DIkeMacPrf.java119 return signBytes(keyBuffer.array(), sharedDhKey); in generateSKeySeed()
137 return signBytes(skD, dataToSign.array()); in generateRekeyedSKeySeed()
DIkeMacIntegrity.java131 byte[] signedBytes = signBytes(keyBytes, dataToAuthenticate); in generateChecksum()
DAesXCbcImpl.java62 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign, boolean needTruncation) { in signBytes() method in AesXCbcImpl
/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.java87 byte[] signingKeyBytes = ikePrf.signBytes(psk, IKE_KEY_PAD_STRING_ASCII_HEX_BYTES); in calculatePskSignature()
91 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