mirror of https://github.com/wolfSSL/wolfssl
Merge pull request #8019 from JacobBarthelmeh/nds
minor adjustments for NDS port
This commit is contained in:
commit
46f6a60c9e
|
@ -49,7 +49,6 @@ Fixed in github pull request https://github.com/wolfSSL/wolfssl/pull/7702
|
|||
* Support for NIST 800-56C Option 1 KDF, using the macro WC_KDF_NIST_SP_800_56C added (PR 7589)
|
||||
* AES-XTS streaming mode added, along with hardware acceleration and kernel module use (PR 7522, 7560, 7424)
|
||||
* PlatformIO FreeRTOS with ESP build and addition of benchmark and test example applications (PR 7528, 7413, 7559, 7542)
|
||||
* Add support for (DevkitPro)libnds
|
||||
|
||||
|
||||
## Enhancements and Optimizations
|
||||
|
|
|
@ -18,7 +18,7 @@ $ ./configure \
|
|||
LDFLAGS="-L/opt/devkitpro/libnds/lib" \
|
||||
--prefix=$DEVKITPRO/portlibs/nds \
|
||||
CFLAGS="-march=armv5te -mtune=arm946e-s \
|
||||
--specs=ds_arm9.specs -DARM9 -DNDS \
|
||||
--specs=ds_arm9.specs -DARM9 -DWOLFSSL_NDS \
|
||||
-DWOLFSSL_USER_IO \
|
||||
-I$DEVKITPRO/libnds/include" \
|
||||
--enable-fastmath --disable-benchmark \
|
||||
|
|
1
README
1
README
|
@ -121,7 +121,6 @@ Fixed in github pull request https://github.com/wolfSSL/wolfssl/pull/7702
|
|||
* Support for NIST 800-56C Option 1 KDF, using the macro WC_KDF_NIST_SP_800_56C added (PR 7589)
|
||||
* AES-XTS streaming mode added, along with hardware acceleration and kernel module use (PR 7522, 7560, 7424)
|
||||
* PlatformIO FreeRTOS with ESP build and addition of benchmark and test example applications (PR 7528, 7413, 7559, 7542)
|
||||
* Add support for (DevkitPro)libnds
|
||||
|
||||
|
||||
## Enhancements and Optimizations
|
||||
|
|
|
@ -126,7 +126,6 @@ Fixed in github pull request https://github.com/wolfSSL/wolfssl/pull/7702
|
|||
* Support for NIST 800-56C Option 1 KDF, using the macro WC_KDF_NIST_SP_800_56C added (PR 7589)
|
||||
* AES-XTS streaming mode added, along with hardware acceleration and kernel module use (PR 7522, 7560, 7424)
|
||||
* PlatformIO FreeRTOS with ESP build and addition of benchmark and test example applications (PR 7528, 7413, 7559, 7542)
|
||||
* Add support for (DevkitPro)libnds
|
||||
|
||||
|
||||
## Enhancements and Optimizations
|
||||
|
|
|
@ -3817,7 +3817,7 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
|||
return ret;
|
||||
}
|
||||
|
||||
#elif defined(DOLPHIN_EMULATOR) || defined (NDS)
|
||||
#elif defined(DOLPHIN_EMULATOR) || defined (WOLFSSL_NDS)
|
||||
|
||||
int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
||||
{
|
||||
|
|
|
@ -429,7 +429,7 @@ const byte const_byte_array[] = "A+Gd\0\0\0";
|
|||
#ifdef DEVKITPRO
|
||||
#include <wiiuse/wpad.h>
|
||||
#endif
|
||||
#ifdef NDS
|
||||
#ifdef WOLFSSL_NDS
|
||||
#include <nds/ndstypes.h>
|
||||
#include <nds/arm9/console.h>
|
||||
#include <nds/arm9/input.h>
|
||||
|
@ -2473,7 +2473,7 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
|
|||
VIDEO_WaitVSync();
|
||||
if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();
|
||||
#endif
|
||||
#ifdef NDS
|
||||
#ifdef WOLFSSL_NDS
|
||||
/* Init Console output */
|
||||
consoleDemoInit();
|
||||
|
||||
|
@ -2525,7 +2525,7 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
|
|||
while (1);
|
||||
#endif
|
||||
|
||||
#ifdef NDS
|
||||
#ifdef WOLFSSL_NDS
|
||||
/* in Nintendo DS returning from main shuts down the Device without letting you see the Results. */
|
||||
printf("args.return_code: %d\n", args.return_code);
|
||||
printf("Testing complete. Press Start to exit the Program\n");
|
||||
|
@ -18109,7 +18109,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t memory_test(void)
|
|||
#elif defined(_WIN32_WCE)
|
||||
#define CERT_PREFIX "\\windows\\"
|
||||
#define CERT_PATH_SEP "\\"
|
||||
#elif defined(NDS)
|
||||
#elif defined(WOLFSSL_NDS)
|
||||
#undef CERT_PREFIX
|
||||
#define CERT_PREFIX "fat:/_nds/"
|
||||
#define CERT_PATH_SEP "/"
|
||||
|
|
|
@ -3164,7 +3164,8 @@ WOLFSSL_API int wolfSSL_make_eap_keys(WOLFSSL* ssl, void* key, unsigned int len,
|
|||
!defined(WOLFSSL_PICOTCP) && !defined(WOLFSSL_ROWLEY_ARM) && \
|
||||
!defined(WOLFSSL_EMBOS) && !defined(WOLFSSL_FROSTED) && \
|
||||
!defined(WOLFSSL_CHIBIOS) && !defined(WOLFSSL_CONTIKI) && \
|
||||
!defined(WOLFSSL_ZEPHYR) && !defined(NETOS) && !defined(NDS)
|
||||
!defined(WOLFSSL_ZEPHYR) && !defined(NETOS) && \
|
||||
!defined(WOLFSSL_NDS)
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
/* allow writev style writing */
|
||||
|
|
|
@ -203,7 +203,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
#ifndef NDS
|
||||
#ifndef WOLFSSL_NDS
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
|
|
|
@ -262,8 +262,8 @@
|
|||
/* Uncomment next line if building for Dolphin Emulator */
|
||||
/* #define DOLPHIN_EMULATOR */
|
||||
|
||||
/* Uncomment next line if building for NDS */
|
||||
/* #define NDS */
|
||||
/* Uncomment next line if building for WOLFSSL_NDS */
|
||||
/* #define WOLFSSL_NDS */
|
||||
|
||||
/* Uncomment next line if using MAXQ1065 */
|
||||
/* #define WOLFSSL_MAXQ1065 */
|
||||
|
@ -474,7 +474,7 @@
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef NDS
|
||||
#ifdef WOLFSSL_NDS
|
||||
#include <stddef.h>
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
#define socklen_t int
|
||||
|
|
Loading…
Reference in New Issue