Lines Matching defs:shared
219 compute_secret(isc_buffer_t *shared, isc_region_t *queryrandomness,
227 isc_buffer_usedregion(shared, &r);
251 isc_buffer_usedregion(shared, &r2);
281 isc_buffer_t ourkeybuf, *shared = NULL;
369 RETERR(isc_buffer_allocate(msg->mctx, &shared, sharedsize));
371 result = dst_key_computesecret(pubkey, tctx->dhkey, shared);
373 tkey_log("process_dhtkey: failed to compute shared secret: %s",
397 RETERR(compute_secret(shared, &r2, &r, &secret));
398 isc_buffer_free(&shared);
418 if (shared != NULL)
419 isc_buffer_free(&shared);
1124 isc_buffer_t *shared = NULL, secret;
1200 RETERR(isc_buffer_allocate(rmsg->mctx, &shared, sharedsize));
1202 RETERR(dst_key_computesecret(theirkey, key, shared));
1214 RETERR(compute_secret(shared, &r2, &r, &secret));
1223 isc_buffer_free(&shared);
1229 if (shared != NULL)
1230 isc_buffer_free(&shared);