Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mbedtls_alt: Allow library to build
  • Loading branch information
pennam committed Jan 23, 2024
commit 681c69f3546bab56e656e9be8e6c954def1c3227
2 changes: 1 addition & 1 deletion extras/tls/mbedtls_alt/ecdsa_se05x.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#include "se05x_mbedtls.h"
//#include "se05x_APDU_apis.h"
#include <SE05X.h>
#include <SE05XDebug.h>

extern int mbedtls_ecdsa_sign_o(mbedtls_ecp_group *grp,
mbedtls_mpi *r,
Expand Down
3 changes: 2 additions & 1 deletion libraries/SE05X/src/SE05X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
*/

#include "SE05X.h"
#include "lib/platform/arduino/sm_port.h"
#include "SE05XDebug.h"


/**
* 26 bytes see ecc_der_header_nist256
Expand Down
25 changes: 25 additions & 0 deletions libraries/SE05X/src/SE05XDebug.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
SE05XDebug.h
Copyright (c) 2023 Arduino SA. All right reserved.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library 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
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _SE05X_DEBUG_H_
#define _SE05X_DEBUG_H_

#include "lib/platform/arduino/sm_port.h"

#endif