Move PRODUCT def to another file.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -98,6 +98,7 @@ set(SOURCES ${SOURCES}
|
|||||||
${CMAKE_CURRENT_LIST_DIR}/src/fido/cbor_vendor.c
|
${CMAKE_CURRENT_LIST_DIR}/src/fido/cbor_vendor.c
|
||||||
${CMAKE_CURRENT_LIST_DIR}/src/fido/cbor_large_blobs.c
|
${CMAKE_CURRENT_LIST_DIR}/src/fido/cbor_large_blobs.c
|
||||||
${CMAKE_CURRENT_LIST_DIR}/src/fido/management.c
|
${CMAKE_CURRENT_LIST_DIR}/src/fido/management.c
|
||||||
|
${CMAKE_CURRENT_LIST_DIR}/src/fido/defs.c
|
||||||
)
|
)
|
||||||
if (${ENABLE_OATH_APP})
|
if (${ENABLE_OATH_APP})
|
||||||
set(SOURCES ${SOURCES}
|
set(SOURCES ${SOURCES}
|
||||||
|
|||||||
20
src/fido/defs.c
Normal file
20
src/fido/defs.c
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the Pico FIDO distribution (https://github.com/polhenarejos/pico-fido).
|
||||||
|
* Copyright (c) 2022 Pol Henarejos.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, version 3.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "fido.h"
|
||||||
|
|
||||||
|
uint8_t PICO_PRODUCT = 2; // Pico FIDO
|
||||||
@@ -41,8 +41,6 @@
|
|||||||
int fido_process_apdu();
|
int fido_process_apdu();
|
||||||
int fido_unload();
|
int fido_unload();
|
||||||
|
|
||||||
uint8_t PICO_PRODUCT = 2; // Pico FIDO
|
|
||||||
|
|
||||||
pinUvAuthToken_t paut = { 0 };
|
pinUvAuthToken_t paut = { 0 };
|
||||||
|
|
||||||
uint8_t keydev_dec[32];
|
uint8_t keydev_dec[32];
|
||||||
|
|||||||
Reference in New Issue
Block a user