]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Copyright (C) 2018 Merlok | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // asn.1 utils | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
11 | #ifndef ASN1UTILS_H | |
12 | #define ASN1UTILS_H | |
13 | ||
14 | #include <stdint.h> | |
15 | #include <stdbool.h> | |
16 | #include <stddef.h> | |
17 | ||
18 | extern int asn1_print(uint8_t *asn1buf, size_t asn1buflen, char *indent); | |
19 | extern int ecdsa_asn1_get_signature(uint8_t *signature, size_t signaturelen, uint8_t *rval, uint8_t *sval); | |
20 | ||
21 | #endif /* asn1utils.h */ |