| 88 | } |
| 89 | |
| 90 | void ecdh(const struct pubkey *point, struct secret *ss) |
| 91 | { |
| 92 | if (secp256k1_ecdh(secp256k1_ctx, ss->data, &point->pubkey, |
| 93 | notsosecret.data, NULL, NULL) != 1) |
| 94 | abort(); |
| 95 | } |
| 96 | |
| 97 | /* We don't want to discard *any* messages. */ |
| 98 | bool is_unknown_msg_discardable(const u8 *cursor) |