| 115 | extern secp256k1_context *secp256k1_ctx; |
| 116 | |
| 117 | static struct secret secret_from_hex(const char *hex) |
| 118 | { |
| 119 | struct secret s; |
| 120 | if (!hex_decode(hex, strlen(hex), &s, sizeof(s))) |
| 121 | abort(); |
| 122 | return s; |
| 123 | } |
| 124 | |
| 125 | /* Create an onionreply with the test vector parameters and check that |
| 126 | * we match the test vectors and that we can also unwrap it. */ |
no test coverage detected