Lines Matching defs:hctx
46 struct sss_nss_crypto_ctx *hctx;
133 ret = nss_ctx_init(tmp_ctx, hmac, key, keylen, NULL, 0, &hctx);
139 ret = nss_crypto_init(hmac, op_sign, hctx);
145 sret = PK11_DigestBegin(hctx->ectx);
151 sret = PK11_DigestOp(hctx->ectx, out, clen);
157 sret = PK11_DigestFinal(hctx->ectx, out + clen, &digestlen,
181 struct sss_nss_crypto_ctx *hctx;
222 ret = nss_ctx_init(tmp_ctx, hmac, key, keylen, NULL, 0, &hctx);
228 ret = nss_crypto_init(hmac, op_sign, hctx);
234 sret = PK11_DigestBegin(hctx->ectx);
240 sret = PK11_DigestOp(hctx->ectx, ciphertext, cipherlen - hmaclen);
246 sret = PK11_DigestFinal(hctx->ectx, out, &digestlen, hmaclen);