Lines Matching defs:shared
233 compute_secret(isc_buffer_t *shared, isc_region_t *queryrandomness,
242 isc_buffer_usedregion(shared, &r);
266 isc_buffer_usedregion(shared, &r2);
282 UNUSED(shared);
303 isc_buffer_t ourkeybuf, *shared = NULL;
399 RETERR(isc_buffer_allocate(msg->mctx, &shared, sharedsize));
401 result = dst_key_computesecret(pubkey, tctx->dhkey, shared);
403 tkey_log("process_dhtkey: failed to compute shared secret: %s",
427 RETERR(compute_secret(shared, &r2, &r, &secret));
428 isc_buffer_free(&shared);
448 if (shared != NULL)
449 isc_buffer_free(&shared);
1158 isc_buffer_t *shared = NULL, secret;
1234 RETERR(isc_buffer_allocate(rmsg->mctx, &shared, sharedsize));
1236 RETERR(dst_key_computesecret(theirkey, key, shared));
1248 RETERR(compute_secret(shared, &r2, &r, &secret));
1255 isc_buffer_free(&shared);
1261 if (shared != NULL)
1262 isc_buffer_free(&shared);