Lines Matching defs:shared
215 compute_secret(isc_buffer_t *shared, isc_region_t *queryrandomness,
223 isc_buffer_usedregion(shared, &r);
247 isc_buffer_usedregion(shared, &r2);
277 isc_buffer_t ourkeybuf, *shared = NULL;
365 RETERR(isc_buffer_allocate(msg->mctx, &shared, sharedsize));
367 result = dst_key_computesecret(pubkey, tctx->dhkey, shared);
369 tkey_log("process_dhtkey: failed to compute shared secret: %s",
393 RETERR(compute_secret(shared, &r2, &r, &secret));
394 isc_buffer_free(&shared);
414 if (shared != NULL)
415 isc_buffer_free(&shared);
1109 isc_buffer_t *shared = NULL, secret;
1185 RETERR(isc_buffer_allocate(rmsg->mctx, &shared, sharedsize));
1187 RETERR(dst_key_computesecret(theirkey, key, shared));
1199 RETERR(compute_secret(shared, &r2, &r, &secret));
1208 isc_buffer_free(&shared);
1214 if (shared != NULL)
1215 isc_buffer_free(&shared);