Lines Matching defs:hmacsha384ctx
1244 isc_hmacsha384_t *hmacsha384ctx;
1247 hmacsha384ctx = isc_mem_get(dctx->mctx, sizeof(isc_hmacsha384_t));
1248 if (hmacsha384ctx == NULL)
1250 isc_hmacsha384_init(hmacsha384ctx, hkey->key, ISC_SHA384_BLOCK_LENGTH);
1251 dctx->ctxdata.hmacsha384ctx = hmacsha384ctx;
1257 isc_hmacsha384_t *hmacsha384ctx = dctx->ctxdata.hmacsha384ctx;
1259 if (hmacsha384ctx != NULL) {
1260 isc_hmacsha384_invalidate(hmacsha384ctx);
1261 isc_mem_put(dctx->mctx, hmacsha384ctx, sizeof(isc_hmacsha384_t));
1262 dctx->ctxdata.hmacsha384ctx = NULL;
1268 isc_hmacsha384_t *hmacsha384ctx = dctx->ctxdata.hmacsha384ctx;
1270 isc_hmacsha384_update(hmacsha384ctx, data->base, data->length);
1276 isc_hmacsha384_t *hmacsha384ctx = dctx->ctxdata.hmacsha384ctx;
1282 isc_hmacsha384_sign(hmacsha384ctx, digest, ISC_SHA384_DIGESTLENGTH);
1290 isc_hmacsha384_t *hmacsha384ctx = dctx->ctxdata.hmacsha384ctx;
1295 if (isc_hmacsha384_verify(hmacsha384ctx, sig->base, sig->length))