| 99 | } |
| 100 | |
| 101 | void mlock_tal_memory(const tal_t *ptr) |
| 102 | { |
| 103 | if (sodium_mlock((void *)ptr, tal_bytelen(ptr)) != 0) |
| 104 | abort(); |
| 105 | tal_add_destructor(ptr, destroy_munlock); |
| 106 | } |
| 107 | |
| 108 | bool tal_arr_eq_(const void *a, const void *b, size_t unused) |
| 109 | { |
no test coverage detected