Skip to content

Commit 681c69f

Browse files
committed
mbedtls_alt: Allow library to build
1 parent ee207b5 commit 681c69f

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

extras/tls/mbedtls_alt/ecdsa_se05x.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
#include "se05x_mbedtls.h"
3535
//#include "se05x_APDU_apis.h"
36-
#include <SE05X.h>
36+
#include <SE05XDebug.h>
3737

3838
extern int mbedtls_ecdsa_sign_o(mbedtls_ecp_group *grp,
3939
mbedtls_mpi *r,

libraries/SE05X/src/SE05X.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
*/
1919

2020
#include "SE05X.h"
21-
#include "lib/platform/arduino/sm_port.h"
21+
#include "SE05XDebug.h"
22+
2223

2324
/**
2425
* 26 bytes see ecc_der_header_nist256

libraries/SE05X/src/SE05XDebug.h

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
SE05XDebug.h
3+
Copyright (c) 2023 Arduino SA. All right reserved.
4+
5+
This library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
This library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with this library; if not, write to the Free Software
17+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18+
*/
19+
20+
#ifndef _SE05X_DEBUG_H_
21+
#define _SE05X_DEBUG_H_
22+
23+
#include "lib/platform/arduino/sm_port.h"
24+
25+
#endif

0 commit comments

Comments
 (0)