| 491 | } |
| 492 | |
| 493 | static void sphinx_prefill_stream_xor(u8 *dst, size_t dstlen, |
| 494 | const struct secret *shared_secret) |
| 495 | { |
| 496 | struct secret padkey; |
| 497 | subkey_from_hmac("prefill", shared_secret, &padkey); |
| 498 | xor_cipher_stream(dst, &padkey, dstlen); |
| 499 | } |
| 500 | |
| 501 | static void sphinx_prefill(u8 *routinginfo, const struct sphinx_path *sp, |
| 502 | size_t prefill_size, struct hop_params *params, |
no test coverage detected