Home
last modified time | relevance | path

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

/hardware/interfaces/identity/aidl/default/
DEicOpsImpl.cc80 HMAC_CTX* realCtx = (HMAC_CTX*)ctx; in eicOpsHmacSha256Init() local
81 HMAC_CTX_init(realCtx); in eicOpsHmacSha256Init()
82 if (HMAC_Init_ex(realCtx, key, keySize, EVP_sha256(), nullptr /* impl */) != 1) { in eicOpsHmacSha256Init()
88 HMAC_CTX* realCtx = (HMAC_CTX*)ctx; in eicOpsHmacSha256Update() local
89 if (HMAC_Update(realCtx, data, len) != 1) { in eicOpsHmacSha256Update()
95 HMAC_CTX* realCtx = (HMAC_CTX*)ctx; in eicOpsHmacSha256Final() local
97 if (HMAC_Final(realCtx, digest, &size) != 1) { in eicOpsHmacSha256Final()
103 HMAC_CTX_cleanup(realCtx); in eicOpsHmacSha256Final()
107 SHA256_CTX* realCtx = (SHA256_CTX*)ctx; in eicOpsSha256Init() local
108 SHA256_Init(realCtx); in eicOpsSha256Init()
[all …]