Lines Matching defs:ctx
51 HMAC_CTX *ctx;
57 if ((ctx = HMAC_CTX_new()) == NULL)
60 if (!HMAC_Init_ex(ctx, secret, strlen(secret), EVP_md5(), NULL))
67 if (!HMAC_Update(ctx, (const u_char *)packet->pdata, 4))
69 if (!HMAC_Update(ctx, (unsigned char *)packet->request->pdata
73 if (!HMAC_Update(ctx, (const u_char *)packet->pdata,
83 if (!HMAC_Update(ctx, (u_char *)attr, 2))
85 if (!HMAC_Update(ctx, (u_char *)zero16, sizeof(zero16)))
88 if (!HMAC_Update(ctx, (u_char *)attr,
94 if (!HMAC_Final(ctx, (u_char *)ma, &mdlen))
100 HMAC_CTX_free(ctx);