Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DCryptoOps.java171 Mac macScheme = Mac.getInstance(sigType.getJcaName()); in sign() local
174 macScheme.init(derivedKey); in sign()
175 return macScheme.doFinal(data); in sign()
203 Mac macScheme = Mac.getInstance(sigType.getJcaName()); in verify() local
206 macScheme.init(derivedKey); in verify()
207 return constantTimeArrayEquals(signature, macScheme.doFinal(data)); in verify()
478 Mac macScheme = Mac.getInstance("HmacSHA256"); in hkdfSha256Extract() local
480 macScheme.init(new SecretKeySpec(salt, "AES")); in hkdfSha256Extract()
490 return macScheme.doFinal(encodedKeyMaterial); in hkdfSha256Extract()
504 Mac macScheme = Mac.getInstance("HmacSHA256"); in hkdfSha256Expand() local
[all …]