Blame


1 d1cda826 2017-11-06 stsp /*
2 a1fd68d8 2018-01-12 stsp * Copyright (c) 2018 Stefan Sperling <stsp@openbsd.org>
3 d1cda826 2017-11-06 stsp *
4 d1cda826 2017-11-06 stsp * Permission to use, copy, modify, and distribute this software for any
5 d1cda826 2017-11-06 stsp * purpose with or without fee is hereby granted, provided that the above
6 d1cda826 2017-11-06 stsp * copyright notice and this permission notice appear in all copies.
7 d1cda826 2017-11-06 stsp *
8 d1cda826 2017-11-06 stsp * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 d1cda826 2017-11-06 stsp * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 d1cda826 2017-11-06 stsp * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 d1cda826 2017-11-06 stsp * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 d1cda826 2017-11-06 stsp * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 d1cda826 2017-11-06 stsp * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 d1cda826 2017-11-06 stsp * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 d1cda826 2017-11-06 stsp */
16 d1cda826 2017-11-06 stsp
17 d1cda826 2017-11-06 stsp int got_parse_sha1_digest(uint8_t *, const char *);
18 a1fd68d8 2018-01-12 stsp char *got_sha1_digest_to_str(const uint8_t *, char *, size_t);