Searched refs:hmacCtx (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/confirmationui/1.0/default/ |
D | PlatformSpecifics.cpp | 41 HMAC_CTX hmacCtx; in hmac256() local 42 HMAC_CTX_init(&hmacCtx); in hmac256() 43 if (!HMAC_Init_ex(&hmacCtx, key.data(), key.size(), EVP_sha256(), nullptr)) { in hmac256() 47 if (!HMAC_Update(&hmacCtx, buffer.data(), buffer.size())) { in hmac256() 52 if (!HMAC_Final(&hmacCtx, result.data(), nullptr)) { in hmac256()
|
/hardware/interfaces/confirmationui/1.0/vts/functional/ |
D | VtsHalConfirmationUIV1_0TargetTest.cpp | 60 HMAC_CTX hmacCtx; in hmac256() local 61 HMAC_CTX_init(&hmacCtx); in hmac256() 62 if (!HMAC_Init_ex(&hmacCtx, key.data(), key.size(), EVP_sha256(), nullptr)) { in hmac256() 66 if (!HMAC_Update(&hmacCtx, buffer.data(), buffer.size())) { in hmac256() 71 if (!HMAC_Final(&hmacCtx, result.data(), nullptr)) { in hmac256()
|