Home
last modified time | relevance | path

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

/system/core/trusty/confirmationui/
DNotSoSecureInput.cpp44 HMAC_CTX hmacCtx; in hmac256() local
45 HMAC_CTX_init(&hmacCtx); in hmac256()
46 if (!HMAC_Init_ex(&hmacCtx, key.data(), key.size(), EVP_sha256(), nullptr)) { in hmac256()
50 if (!HMAC_Update(&hmacCtx, buffer.data(), buffer.size())) { in hmac256()
55 if (!HMAC_Final(&hmacCtx, result.data(), nullptr)) { in hmac256()