| 111 | #include "../cryptomsg.c" |
| 112 | |
| 113 | static struct secret secret_from_hex(const char *hex) |
| 114 | { |
| 115 | struct secret secret; |
| 116 | hex += 2; |
| 117 | if (!hex_decode(hex, strlen(hex), &secret, sizeof(secret))) |
| 118 | abort(); |
| 119 | return secret; |
| 120 | } |
| 121 | |
| 122 | static void check_result(const u8 *msg, const char *hex) |
| 123 | { |
no test coverage detected