Lines Matching refs:realCtx
80 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()
112 SHA256_CTX* realCtx = (SHA256_CTX*)ctx; in eicOpsSha256Update() local
113 SHA256_Update(realCtx, data, len); in eicOpsSha256Update()
117 SHA256_CTX* realCtx = (SHA256_CTX*)ctx; in eicOpsSha256Final() local
118 SHA256_Final(digest, realCtx); in eicOpsSha256Final()