]> git.zerfleddert.de Git - proxmark3-svn/blame - client/fido/cose.h
Fido2 (#727)
[proxmark3-svn] / client / fido / cose.h
CommitLineData
0bb51450
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//-----------------------------------------------------------------------------
8// Tools for work with COSE (CBOR Object Signing and Encryption) rfc8152
9// https://tools.ietf.org/html/rfc8152
10//-----------------------------------------------------------------------------
11//
12
13#ifndef __COSE_H__
14#define __COSE_H__
15
16#include <stddef.h>
17#include <stdint.h>
18#include <cbor.h>
19
20extern const char *GetCOSEAlgName(int id);
21extern const char *GetCOSEAlgDescription(int id);
22extern const char *GetCOSEktyDescription(int id);
23extern const char *GetCOSECurveDescription(int id);
24
25extern int COSEGetECDSAKey(uint8_t *data, size_t datalen, bool verbose, uint8_t *public_key);
26
27#endif /* __COSE_H__ */
Impressum, Datenschutz