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 | 56 HMAC_CTX hmacCtx; in hmac256() local 57 HMAC_CTX_init(&hmacCtx); in hmac256() 58 if (!HMAC_Init_ex(&hmacCtx, key.data(), key.size(), EVP_sha256(), nullptr)) { in hmac256() 62 if (!HMAC_Update(&hmacCtx, buffer.data(), buffer.size())) { in hmac256() 67 if (!HMAC_Final(&hmacCtx, result.data(), nullptr)) { in hmac256()
|