Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 10 of 10) sorted by relevance

/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
DHmacKeyManagerTest.java48 byte[] hmac = generateHmac(); in testGenerateAndVerifyHmac()
51 mHashAlgorithm, mImageHash, hmac)); in testGenerateAndVerifyHmac()
56 byte[] hmac = generateHmac(); in testVerifyHmac_differentSalt()
60 mHashAlgorithm, mImageHash, hmac)); in testVerifyHmac_differentSalt()
65 byte[] hmac = generateHmac(); in testVerifyHmac_differentTimestamp()
68 mHashAlgorithm, mImageHash, hmac)); in testVerifyHmac_differentTimestamp()
73 byte[] hmac = generateHmac(); in testVerifyHmac_differentBounds()
77 mHashAlgorithm, mImageHash, hmac)); in testVerifyHmac_differentBounds()
82 byte[] hmac = generateHmac(); in testVerifyHmac_differentHashAlgorithm()
85 2 /* hashAlgorithm */, mImageHash, hmac)); in testVerifyHmac_differentHashAlgorithm()
[all …]
/packages/modules/ExtServices/java/src/android/ext/services/displayhash/
DHmacKeyManager.java59 int hashAlgorithm, byte[] imageHash, byte[] hmac) { in verifyHmac() argument
60 if (hmac == null || hmac.length != 32) { in verifyHmac()
66 return Arrays.equals(hmac, calculatedHmac); in verifyHmac()
DDisplayHashingServiceImpl.java92 byte[] hmac = mHmacKeyManager.generateHmac(salt, timestamp, bounds, hashAlgorithmIndex, in onGenerateDisplayHash()
95 new DisplayHash(timestamp, bounds, hashAlgorithm, imageHash, hmac)); in onGenerateDisplayHash()
/packages/modules/Virtualization/libs/bssl/src/
Dlib.rs31 mod hmac; module
46 pub use hmac::hmac_sha256;
Dhmac.rs25 hmac::<SHA256_DIGEST_LENGTH>(key, data, Digester::sha256())
32 fn hmac<const HASH_LEN: usize>( in hmac() function
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/encryption/
DCryptorMicImp.java246 byte[] hmac = Cryptor.generateHmac(/* algorithm= */ HMAC_SHA256_ALGORITHM, /* input= */ in generateHmacTag()
248 if (ArrayUtils.isEmpty(hmac)) { in generateHmacTag()
251 return Arrays.copyOf(hmac, MIC_LENGTH); in generateHmacTag()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt85 field public static final String AUTH_HMAC_MD5 = "hmac(md5)";
86 field public static final String AUTH_HMAC_SHA1 = "hmac(sha1)";
87 field public static final String AUTH_HMAC_SHA256 = "hmac(sha256)";
88 field public static final String AUTH_HMAC_SHA384 = "hmac(sha384)";
89 field public static final String AUTH_HMAC_SHA512 = "hmac(sha512)";
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokio-1.15.0.jarMETA-INF/ META-INF/MANIFEST.MF okio/ okio/AsyncTimeout$Watchdog. ...
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...