X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=blobdiff_plain;f=util.h;h=298f9caecd1e8180f718342c1b4dabb08ca9622d;hp=62642fdb32696dce3b97653b5979ca594749502e;hb=e53b161add0cc07777a512e6734130e98f1037b9;hpb=b11a9de31a4765c1aa1c53131d8f24019e408572 diff --git a/util.h b/util.h index 62642fd..298f9ca 100644 --- a/util.h +++ b/util.h @@ -89,8 +89,7 @@ extern void buf_append_string(struct buffer_if *buf, cstring_t s); extern string_t hex_encode(const uint8_t *bin, int binsize); /* Convert a byte array to hex, returning the result in a freshly allocated - * string. - */ + * string. */ extern bool_t hex_decode(uint8_t *buffer, int32_t buflen, int32_t *outlen, cstring_t hb, bool_t allow_odd_nibble); @@ -102,8 +101,7 @@ extern bool_t hex_decode(uint8_t *buffer, int32_t buflen, int32_t *outlen, * The input is processed left to right until it is consumed, the buffer is * full, or an error is encountered in the input. The length of output * produced is stored in *outlen. Returns true if the entire input was - * processed without error; otherwise false. - */ + * processed without error; otherwise false. */ extern void read_mpbin(MP_INT *a, uint8_t *bin, int binsize);