]>
Commit | Line | Data |
---|---|---|
ae3340a0 OM |
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 | //----------------------------------------------------------------------------- | |
700d8687 | 8 | // asn.1 utils |
ae3340a0 OM |
9 | //----------------------------------------------------------------------------- |
10 | ||
700d8687 OM |
11 | #ifndef ASN1UTILS_H |
12 | #define ASN1UTILS_H | |
ae3340a0 OM |
13 | |
14 | #include <stdint.h> | |
700d8687 | 15 | #include <stdbool.h> |
ae3340a0 OM |
16 | #include <stddef.h> |
17 | ||
6b882a39 | 18 | extern int asn1_print(uint8_t *asn1buf, size_t asn1buflen, char *indent); |
700d8687 | 19 | extern int ecdsa_asn1_get_signature(uint8_t *signature, size_t signaturelen, uint8_t *rval, uint8_t *sval); |
ae3340a0 | 20 | |
700d8687 | 21 | #endif /* asn1utils.h */ |