| 469 | } |
| 470 | |
| 471 | static void sphinx_prefill_stream_xor(u8 *dst, size_t dstlen, |
| 472 | const struct secret *shared_secret) |
| 473 | { |
| 474 | struct secret padkey; |
| 475 | subkey_from_hmac("prefill", shared_secret, &padkey); |
| 476 | xor_cipher_stream(dst, &padkey, dstlen); |
| 477 | } |
| 478 | |
| 479 | static void sphinx_prefill(u8 *routinginfo, const struct sphinx_path *sp, |
| 480 | size_t prefill_size, struct hop_params *params, |
no test coverage detected