mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 10:36:58 -07:00
Fido2 (#727)
* add tinycbor * add client/fido * add test file with options for fido2 * hf fido commands * add changelog
This commit is contained in:
parent
27d06e0447
commit
0bb514502a
29 changed files with 7799 additions and 104 deletions
27
client/fido/cose.h
Normal file
27
client/fido/cose.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Copyright (C) 2018 Merlok
|
||||
//
|
||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||
// the license.
|
||||
//-----------------------------------------------------------------------------
|
||||
// Tools for work with COSE (CBOR Object Signing and Encryption) rfc8152
|
||||
// https://tools.ietf.org/html/rfc8152
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
#ifndef __COSE_H__
|
||||
#define __COSE_H__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cbor.h>
|
||||
|
||||
extern const char *GetCOSEAlgName(int id);
|
||||
extern const char *GetCOSEAlgDescription(int id);
|
||||
extern const char *GetCOSEktyDescription(int id);
|
||||
extern const char *GetCOSECurveDescription(int id);
|
||||
|
||||
extern int COSEGetECDSAKey(uint8_t *data, size_t datalen, bool verbose, uint8_t *public_key);
|
||||
|
||||
#endif /* __COSE_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue