| 91 | extern secp256k1_context *secp256k1_ctx; |
| 92 | |
| 93 | static struct secret secret_from_hex(const char *hex) |
| 94 | { |
| 95 | struct secret s; |
| 96 | if (!hex_decode(hex, strlen(hex), &s, sizeof(s))) |
| 97 | abort(); |
| 98 | return s; |
| 99 | } |
| 100 | |
| 101 | /* Create an onionreply with the test vector parameters and check that |
| 102 | * we match the test vectors and that we can also unwrap it. */ |
no test coverage detected