- properly updating libwolfssl since my compiler missed a lot. thanks blackb0x!

This commit is contained in:
Fledge68 2021-09-06 17:33:21 -05:00
parent d27dc8baa4
commit 6c32f57284
121 changed files with 392 additions and 392 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

@ -1,6 +1,6 @@
#define APP_NAME "WiiFlow WFL" #define APP_NAME "WiiFlow WFL"
#define APP_VERSION "5.5.0 beta 2" #define APP_VERSION "5.5.0 beta 3"
#define APP_DATA_DIR "wiiflow" #define APP_DATA_DIR "wiiflow"
#define APPS_DIR "apps/wiiflow" #define APPS_DIR "apps/wiiflow"

View File

@ -27,8 +27,8 @@
#ifdef HAVE_CRL #ifdef HAVE_CRL
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,7 +24,7 @@
#ifndef WOLFSSL_ERROR_H #ifndef WOLFSSL_ERROR_H
#define WOLFSSL_ERROR_H #define WOLFSSL_ERROR_H
#include <libs/libwolfssl/wolfcrypt/error-crypt.h> /* pull in wolfCrypt errors */ #include <libwolfssl/wolfcrypt/error-crypt.h> /* pull in wolfCrypt errors */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -25,113 +25,113 @@
#define WOLFSSL_INT_H #define WOLFSSL_INT_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#ifdef HAVE_CRL #ifdef HAVE_CRL
#include <libs/libwolfssl/crl.h> #include <libwolfssl/crl.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifndef NO_DES3 #ifndef NO_DES3
#include <libs/libwolfssl/wolfcrypt/des3.h> #include <libwolfssl/wolfcrypt/des3.h>
#endif #endif
#ifndef NO_HC128 #ifndef NO_HC128
#include <libs/libwolfssl/wolfcrypt/hc128.h> #include <libwolfssl/wolfcrypt/hc128.h>
#endif #endif
#ifndef NO_RABBIT #ifndef NO_RABBIT
#include <libs/libwolfssl/wolfcrypt/rabbit.h> #include <libwolfssl/wolfcrypt/rabbit.h>
#endif #endif
#ifdef HAVE_CHACHA #ifdef HAVE_CHACHA
#include <libs/libwolfssl/wolfcrypt/chacha.h> #include <libwolfssl/wolfcrypt/chacha.h>
#endif #endif
#ifndef NO_ASN #ifndef NO_ASN
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#include <libs/libwolfssl/wolfcrypt/pkcs12.h> #include <libwolfssl/wolfcrypt/pkcs12.h>
#endif #endif
#ifndef NO_MD5 #ifndef NO_MD5
#include <libs/libwolfssl/wolfcrypt/md5.h> #include <libwolfssl/wolfcrypt/md5.h>
#endif #endif
#ifndef NO_SHA #ifndef NO_SHA
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
#endif #endif
#ifndef NO_AES #ifndef NO_AES
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
#endif #endif
#ifdef HAVE_POLY1305 #ifdef HAVE_POLY1305
#include <libs/libwolfssl/wolfcrypt/poly1305.h> #include <libwolfssl/wolfcrypt/poly1305.h>
#endif #endif
#if defined(HAVE_CHACHA) && defined(HAVE_POLY1305) && defined(OPENSSL_EXTRA) #if defined(HAVE_CHACHA) && defined(HAVE_POLY1305) && defined(OPENSSL_EXTRA)
#include <libs/libwolfssl/wolfcrypt/chacha20_poly1305.h> #include <libwolfssl/wolfcrypt/chacha20_poly1305.h>
#endif #endif
#ifdef HAVE_CAMELLIA #ifdef HAVE_CAMELLIA
#include <libs/libwolfssl/wolfcrypt/camellia.h> #include <libwolfssl/wolfcrypt/camellia.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/logging.h> #include <libwolfssl/wolfcrypt/logging.h>
#ifndef NO_HMAC #ifndef NO_HMAC
#include <libs/libwolfssl/wolfcrypt/hmac.h> #include <libwolfssl/wolfcrypt/hmac.h>
#endif #endif
#ifndef NO_RC4 #ifndef NO_RC4
#include <libs/libwolfssl/wolfcrypt/arc4.h> #include <libwolfssl/wolfcrypt/arc4.h>
#endif #endif
#ifndef NO_SHA256 #ifndef NO_SHA256
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
#endif #endif
#if defined(WOLFSSL_SHA384) #if defined(WOLFSSL_SHA384)
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
#ifdef HAVE_OCSP #ifdef HAVE_OCSP
#include <libs/libwolfssl/ocsp.h> #include <libwolfssl/ocsp.h>
#endif #endif
#ifdef WOLFSSL_SHA384 #ifdef WOLFSSL_SHA384
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
#ifdef WOLFSSL_SHA512 #ifdef WOLFSSL_SHA512
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
#ifdef HAVE_AESGCM #ifdef HAVE_AESGCM
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
#ifdef WOLFSSL_RIPEMD #ifdef WOLFSSL_RIPEMD
#include <libs/libwolfssl/wolfcrypt/ripemd.h> #include <libwolfssl/wolfcrypt/ripemd.h>
#endif #endif
#ifdef HAVE_IDEA #ifdef HAVE_IDEA
#include <libs/libwolfssl/wolfcrypt/idea.h> #include <libwolfssl/wolfcrypt/idea.h>
#endif #endif
#ifndef NO_RSA #ifndef NO_RSA
#include <libs/libwolfssl/wolfcrypt/rsa.h> #include <libwolfssl/wolfcrypt/rsa.h>
#endif #endif
#ifdef HAVE_ECC #ifdef HAVE_ECC
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
#endif #endif
#ifndef NO_DH #ifndef NO_DH
#include <libs/libwolfssl/wolfcrypt/dh.h> #include <libwolfssl/wolfcrypt/dh.h>
#endif #endif
#ifdef HAVE_ED25519 #ifdef HAVE_ED25519
#include <libs/libwolfssl/wolfcrypt/ed25519.h> #include <libwolfssl/wolfcrypt/ed25519.h>
#endif #endif
#ifdef HAVE_CURVE25519 #ifdef HAVE_CURVE25519
#include <libs/libwolfssl/wolfcrypt/curve25519.h> #include <libwolfssl/wolfcrypt/curve25519.h>
#endif #endif
#ifdef HAVE_ED448 #ifdef HAVE_ED448
#include <libs/libwolfssl/wolfcrypt/ed448.h> #include <libwolfssl/wolfcrypt/ed448.h>
#endif #endif
#ifdef HAVE_CURVE448 #ifdef HAVE_CURVE448
#include <libs/libwolfssl/wolfcrypt/curve448.h> #include <libwolfssl/wolfcrypt/curve448.h>
#endif #endif
#ifndef WOLFSSL_NO_DEF_TICKET_ENC_CB #ifndef WOLFSSL_NO_DEF_TICKET_ENC_CB
#if defined(HAVE_CHACHA) && defined(HAVE_POLY1305) && \ #if defined(HAVE_CHACHA) && defined(HAVE_POLY1305) && \
!defined(WOLFSSL_TICKET_ENC_AES128_GCM) && \ !defined(WOLFSSL_TICKET_ENC_AES128_GCM) && \
!defined(WOLFSSL_TICKET_ENC_AES256_GCM) !defined(WOLFSSL_TICKET_ENC_AES256_GCM)
#include <libs/libwolfssl/wolfcrypt/chacha20_poly1305.h> #include <libwolfssl/wolfcrypt/chacha20_poly1305.h>
#else #else
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
#endif #endif
#endif #endif
#include <libs/libwolfssl/wolfcrypt/wc_encrypt.h> #include <libwolfssl/wolfcrypt/wc_encrypt.h>
#include <libs/libwolfssl/wolfcrypt/hash.h> #include <libwolfssl/wolfcrypt/hash.h>
#if defined(WOLFSSL_CALLBACKS) || defined(OPENSSL_EXTRA) #if defined(WOLFSSL_CALLBACKS) || defined(OPENSSL_EXTRA)
#include <libs/libwolfssl/callbacks.h> #include <libwolfssl/callbacks.h>
#endif #endif
#ifdef WOLFSSL_CALLBACKS #ifdef WOLFSSL_CALLBACKS
#include <signal.h> #include <signal.h>
@ -230,12 +230,12 @@
#endif #endif
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifdef OPENSSL_EXTRA #ifdef OPENSSL_EXTRA
#ifdef WOLFCRYPT_HAVE_SRP #ifdef WOLFCRYPT_HAVE_SRP
#include <libs/libwolfssl/wolfcrypt/srp.h> #include <libwolfssl/wolfcrypt/srp.h>
#endif #endif
#endif #endif

View File

@ -28,8 +28,8 @@
#ifdef HAVE_OCSP #ifdef HAVE_OCSP
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -29,10 +29,10 @@
#ifndef WOLFSSL_AES_H_ #ifndef WOLFSSL_AES_H_
#define WOLFSSL_AES_H_ #define WOLFSSL_AES_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifndef NO_AES #ifndef NO_AES
#include <libs/libwolfssl/openssl/ssl.h> /* for size_t */ #include <libwolfssl/openssl/ssl.h> /* for size_t */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,7 +24,7 @@
#ifndef WOLFSSL_ASN1_H_ #ifndef WOLFSSL_ASN1_H_
#define WOLFSSL_ASN1_H_ #define WOLFSSL_ASN1_H_
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#define ASN1_STRING_new wolfSSL_ASN1_STRING_new #define ASN1_STRING_new wolfSSL_ASN1_STRING_new
#define ASN1_STRING_type_new wolfSSL_ASN1_STRING_type_new #define ASN1_STRING_type_new wolfSSL_ASN1_STRING_type_new

View File

@ -24,7 +24,7 @@
#ifndef WOLFSSL_ASN1T_H_ #ifndef WOLFSSL_ASN1T_H_
#define WOLFSSL_ASN1T_H_ #define WOLFSSL_ASN1T_H_
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#include <libs/libwolfssl/openssl/asn1.h> #include <libwolfssl/openssl/asn1.h>
#endif /* WOLFSSL_ASN1T_H_ */ #endif /* WOLFSSL_ASN1T_H_ */

View File

@ -25,7 +25,7 @@
#ifndef WOLFSSL_BIO_H_ #ifndef WOLFSSL_BIO_H_
#define WOLFSSL_BIO_H_ #define WOLFSSL_BIO_H_
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -30,8 +30,8 @@
#ifndef WOLFSSL_BN_H_ #ifndef WOLFSSL_BN_H_
#define WOLFSSL_BN_H_ #define WOLFSSL_BN_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/integer.h> #include <libwolfssl/wolfcrypt/integer.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -23,8 +23,8 @@
#ifndef WOLFSSL_BUFFER_H_ #ifndef WOLFSSL_BUFFER_H_
#define WOLFSSL_BUFFER_H_ #define WOLFSSL_BUFFER_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -28,8 +28,8 @@
extern "C" { extern "C" {
#endif #endif
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/version.h> #include <libwolfssl/version.h>
typedef struct WOLFSSL_CONF_VALUE { typedef struct WOLFSSL_CONF_VALUE {
char *section; char *section;
@ -38,7 +38,7 @@ typedef struct WOLFSSL_CONF_VALUE {
} WOLFSSL_CONF_VALUE; } WOLFSSL_CONF_VALUE;
/* ssl.h requires WOLFSSL_CONF_VALUE */ /* ssl.h requires WOLFSSL_CONF_VALUE */
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
typedef struct WOLFSSL_CONF { typedef struct WOLFSSL_CONF {
void *meth_data; void *meth_data;

View File

@ -24,7 +24,7 @@
#ifndef WOLFSSL_CRYPTO_H_ #ifndef WOLFSSL_CRYPTO_H_
#define WOLFSSL_CRYPTO_H_ #define WOLFSSL_CRYPTO_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
typedef struct WOLFSSL_INIT_SETTINGS { typedef struct WOLFSSL_INIT_SETTINGS {
char* appname; char* appname;
@ -40,8 +40,8 @@ typedef struct CRYPTO_EX_DATA CRYPTO_EX_DATA;
typedef void (CRYPTO_free_func)(void* parent, void* ptr, CRYPTO_EX_DATA* ad, int idx, typedef void (CRYPTO_free_func)(void* parent, void* ptr, CRYPTO_EX_DATA* ad, int idx,
long argl, void* argp); long argl, void* argp);
#include <libs/libwolfssl/openssl/opensslv.h> #include <libwolfssl/openssl/opensslv.h>
#include <libs/libwolfssl/openssl/conf.h> #include <libwolfssl/openssl/conf.h>
#ifdef WOLFSSL_PREFIX #ifdef WOLFSSL_PREFIX
#include "prefix_crypto.h" #include "prefix_crypto.h"

View File

@ -29,7 +29,7 @@
#ifndef WOLFSSL_DES_H_ #ifndef WOLFSSL_DES_H_
#define WOLFSSL_DES_H_ #define WOLFSSL_DES_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifndef NO_DES3 #ifndef NO_DES3

View File

@ -25,8 +25,8 @@
#ifndef WOLFSSL_DH_H_ #ifndef WOLFSSL_DH_H_
#define WOLFSSL_DH_H_ #define WOLFSSL_DH_H_
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#include <libs/libwolfssl/openssl/opensslv.h> #include <libwolfssl/openssl/opensslv.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -25,7 +25,7 @@
#ifndef WOLFSSL_DSA_H_ #ifndef WOLFSSL_DSA_H_
#define WOLFSSL_DSA_H_ #define WOLFSSL_DSA_H_
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,9 +24,9 @@
#ifndef WOLFSSL_EC_H_ #ifndef WOLFSSL_EC_H_
#define WOLFSSL_EC_H_ #define WOLFSSL_EC_H_
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,8 +24,8 @@
#ifndef WOLFSSL_ECDH_H_ #ifndef WOLFSSL_ECDH_H_
#define WOLFSSL_ECDH_H_ #define WOLFSSL_ECDH_H_
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,8 +24,8 @@
#ifndef WOLFSSL_ECDSA_H_ #ifndef WOLFSSL_ECDSA_H_
#define WOLFSSL_ECDSA_H_ #define WOLFSSL_ECDSA_H_
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#include <libs/libwolfssl/openssl/ec.h> #include <libwolfssl/openssl/ec.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -1,6 +1,6 @@
/* engine.h for libcurl */ /* engine.h for libcurl */
#include <libs/libwolfssl/openssl/err.h> #include <libwolfssl/openssl/err.h>
#undef HAVE_OPENSSL_ENGINE_H #undef HAVE_OPENSSL_ENGINE_H

View File

@ -22,7 +22,7 @@
#ifndef WOLFSSL_OPENSSL_ERR_ #ifndef WOLFSSL_OPENSSL_ERR_
#define WOLFSSL_OPENSSL_ERR_ #define WOLFSSL_OPENSSL_ERR_
#include <libs/libwolfssl/wolfcrypt/logging.h> #include <libwolfssl/wolfcrypt/logging.h>
/* err.h for openssl */ /* err.h for openssl */
#define ERR_load_crypto_strings wolfSSL_ERR_load_crypto_strings #define ERR_load_crypto_strings wolfSSL_ERR_load_crypto_strings

View File

@ -30,37 +30,37 @@
#ifndef WOLFSSL_EVP_H_ #ifndef WOLFSSL_EVP_H_
#define WOLFSSL_EVP_H_ #define WOLFSSL_EVP_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_PREFIX #ifdef WOLFSSL_PREFIX
#include "prefix_evp.h" #include "prefix_evp.h"
#endif #endif
#ifndef NO_MD4 #ifndef NO_MD4
#include <libs/libwolfssl/openssl/md4.h> #include <libwolfssl/openssl/md4.h>
#endif #endif
#ifndef NO_MD5 #ifndef NO_MD5
#include <libs/libwolfssl/openssl/md5.h> #include <libwolfssl/openssl/md5.h>
#endif #endif
#include <libs/libwolfssl/openssl/sha.h> #include <libwolfssl/openssl/sha.h>
#include <libs/libwolfssl/openssl/sha3.h> #include <libwolfssl/openssl/sha3.h>
#include <libs/libwolfssl/openssl/ripemd.h> #include <libwolfssl/openssl/ripemd.h>
#include <libs/libwolfssl/openssl/rsa.h> #include <libwolfssl/openssl/rsa.h>
#include <libs/libwolfssl/openssl/dsa.h> #include <libwolfssl/openssl/dsa.h>
#include <libs/libwolfssl/openssl/ec.h> #include <libwolfssl/openssl/ec.h>
#include <libs/libwolfssl/openssl/dh.h> #include <libwolfssl/openssl/dh.h>
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
#include <libs/libwolfssl/wolfcrypt/des3.h> #include <libwolfssl/wolfcrypt/des3.h>
#include <libs/libwolfssl/wolfcrypt/arc4.h> #include <libwolfssl/wolfcrypt/arc4.h>
#include <libs/libwolfssl/wolfcrypt/hmac.h> #include <libwolfssl/wolfcrypt/hmac.h>
#ifdef HAVE_IDEA #ifdef HAVE_IDEA
#include <libs/libwolfssl/wolfcrypt/idea.h> #include <libwolfssl/wolfcrypt/idea.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/pwdbased.h> #include <libwolfssl/wolfcrypt/pwdbased.h>
#if defined(WOLFSSL_BASE64_ENCODE) || defined(WOLFSSL_BASE64_DECODE) #if defined(WOLFSSL_BASE64_ENCODE) || defined(WOLFSSL_BASE64_DECODE)
#include <libs/libwolfssl/wolfcrypt/coding.h> #include <libwolfssl/wolfcrypt/coding.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
@ -1023,6 +1023,6 @@ WOLFSSL_API void printPKEY(WOLFSSL_EVP_PKEY *k);
} /* extern "C" */ } /* extern "C" */
#endif #endif
#include <libs/libwolfssl/openssl/objects.h> #include <libwolfssl/openssl/objects.h>
#endif /* WOLFSSL_EVP_H_ */ #endif /* WOLFSSL_EVP_H_ */

View File

@ -29,13 +29,13 @@
#ifndef WOLFSSL_HMAC_H_ #ifndef WOLFSSL_HMAC_H_
#define WOLFSSL_HMAC_H_ #define WOLFSSL_HMAC_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_PREFIX #ifdef WOLFSSL_PREFIX
#include "prefix_hmac.h" #include "prefix_hmac.h"
#endif #endif
#include <libs/libwolfssl/wolfcrypt/hmac.h> #include <libwolfssl/wolfcrypt/hmac.h>
typedef struct WOLFSSL_HMAC_CTX { typedef struct WOLFSSL_HMAC_CTX {
Hmac hmac; Hmac hmac;
@ -44,8 +44,8 @@ typedef struct WOLFSSL_HMAC_CTX {
word32 save_opad[WC_HMAC_BLOCK_SIZE / sizeof(word32)]; word32 save_opad[WC_HMAC_BLOCK_SIZE / sizeof(word32)];
} WOLFSSL_HMAC_CTX; } WOLFSSL_HMAC_CTX;
#include <libs/libwolfssl/openssl/evp.h> #include <libwolfssl/openssl/evp.h>
#include <libs/libwolfssl/openssl/opensslv.h> #include <libwolfssl/openssl/opensslv.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -28,7 +28,7 @@
extern "C" { extern "C" {
#endif #endif
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#ifdef OPENSSL_ALL #ifdef OPENSSL_ALL
#define IMPLEMENT_LHASH_HASH_FN(name, type) \ #define IMPLEMENT_LHASH_HASH_FN(name, type) \

View File

@ -23,7 +23,7 @@
#ifndef WOLFSSL_MD4_H_ #ifndef WOLFSSL_MD4_H_
#define WOLFSSL_MD4_H_ #define WOLFSSL_MD4_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifndef NO_MD4 #ifndef NO_MD4

View File

@ -25,11 +25,11 @@
#ifndef WOLFSSL_MD5_H_ #ifndef WOLFSSL_MD5_H_
#define WOLFSSL_MD5_H_ #define WOLFSSL_MD5_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifndef NO_MD5 #ifndef NO_MD5
#include <libs/libwolfssl/wolfcrypt/hash.h> #include <libwolfssl/wolfcrypt/hash.h>
#ifdef WOLFSSL_PREFIX #ifdef WOLFSSL_PREFIX
#include "prefix_md5.h" #include "prefix_md5.h"

View File

@ -23,11 +23,11 @@
#ifndef WOLFSSL_OBJECTS_H_ #ifndef WOLFSSL_OBJECTS_H_
#define WOLFSSL_OBJECTS_H_ #define WOLFSSL_OBJECTS_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
//#include <libs/libwolfssl/openssl/ssl.h> //#include <libwolfssl/openssl/ssl.h>
#ifndef OPENSSL_EXTRA_SSL_GUARD #ifndef OPENSSL_EXTRA_SSL_GUARD
#define OPENSSL_EXTRA_SSL_GUARD #define OPENSSL_EXTRA_SSL_GUARD
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#endif /* OPENSSL_EXTRA_SSL_GUARD */ #endif /* OPENSSL_EXTRA_SSL_GUARD */
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -25,7 +25,7 @@
#define WOLFSSL_OCSP_H_ #define WOLFSSL_OCSP_H_
#ifdef HAVE_OCSP #ifdef HAVE_OCSP
#include <libs/libwolfssl/ocsp.h> #include <libwolfssl/ocsp.h>
#define OCSP_REQUEST OcspRequest #define OCSP_REQUEST OcspRequest
#define OCSP_RESPONSE OcspResponse #define OCSP_RESPONSE OcspResponse

View File

@ -27,6 +27,6 @@
#ifndef WOLFSSL_OSSL_TYP_H_ #ifndef WOLFSSL_OSSL_TYP_H_
#define WOLFSSL_OSSL_TYP_H_ #define WOLFSSL_OSSL_TYP_H_
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#endif /* !WOLFSSL_OSSL_TYP_H_ */ #endif /* !WOLFSSL_OSSL_TYP_H_ */

View File

@ -29,11 +29,11 @@
#ifndef WOLFSSL_PEM_H_ #ifndef WOLFSSL_PEM_H_
#define WOLFSSL_PEM_H_ #define WOLFSSL_PEM_H_
#include <libs/libwolfssl/openssl/evp.h> #include <libwolfssl/openssl/evp.h>
#include <libs/libwolfssl/openssl/bio.h> #include <libwolfssl/openssl/bio.h>
#include <libs/libwolfssl/openssl/rsa.h> #include <libwolfssl/openssl/rsa.h>
#include <libs/libwolfssl/openssl/dsa.h> #include <libwolfssl/openssl/dsa.h>
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -22,8 +22,8 @@
/* pkcs12.h for openssl */ /* pkcs12.h for openssl */
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#include <libs/libwolfssl/wolfcrypt/pkcs12.h> #include <libwolfssl/wolfcrypt/pkcs12.h>
#ifndef WOLFSSL_PKCS12_COMPAT_H_ #ifndef WOLFSSL_PKCS12_COMPAT_H_
#define WOLFSSL_PKCS12_COMPAT_H_ #define WOLFSSL_PKCS12_COMPAT_H_

View File

@ -25,8 +25,8 @@
#ifndef WOLFSSL_PKCS7_H_ #ifndef WOLFSSL_PKCS7_H_
#define WOLFSSL_PKCS7_H_ #define WOLFSSL_PKCS7_H_
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#include <libs/libwolfssl/wolfcrypt/pkcs7.h> #include <libwolfssl/wolfcrypt/pkcs7.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -21,8 +21,8 @@
/* rand.h for openSSL */ /* rand.h for openSSL */
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
typedef WOLFSSL_RAND_METHOD RAND_METHOD; typedef WOLFSSL_RAND_METHOD RAND_METHOD;

View File

@ -28,8 +28,8 @@
#ifndef WOLFSSL_RC4_COMPAT_H_ #ifndef WOLFSSL_RC4_COMPAT_H_
#define WOLFSSL_RC4_COMPAT_H_ #define WOLFSSL_RC4_COMPAT_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/openssl/ssl.h> /* included for size_t */ #include <libwolfssl/openssl/ssl.h> /* included for size_t */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -25,7 +25,7 @@
#ifndef WOLFSSL_RIPEMD_H_ #ifndef WOLFSSL_RIPEMD_H_
#define WOLFSSL_RIPEMD_H_ #define WOLFSSL_RIPEMD_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -25,9 +25,9 @@
#ifndef WOLFSSL_RSA_H_ #ifndef WOLFSSL_RSA_H_
#define WOLFSSL_RSA_H_ #define WOLFSSL_RSA_H_
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#include <libs/libwolfssl/openssl/err.h> #include <libwolfssl/openssl/err.h>
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -25,8 +25,8 @@
#ifndef WOLFSSL_SHA_H_ #ifndef WOLFSSL_SHA_H_
#define WOLFSSL_SHA_H_ #define WOLFSSL_SHA_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef WOLFSSL_PREFIX #ifdef WOLFSSL_PREFIX
#include "prefix_sha.h" #include "prefix_sha.h"

View File

@ -25,8 +25,8 @@
#ifndef WOLFSSL_SHA3_H_ #ifndef WOLFSSL_SHA3_H_
#define WOLFSSL_SHA3_H_ #define WOLFSSL_SHA3_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef WOLFSSL_PREFIX #ifdef WOLFSSL_PREFIX
#include "prefix_sha.h" #include "prefix_sha.h"

View File

@ -32,28 +32,28 @@
/* wolfssl_openssl compatibility layer */ /* wolfssl_openssl compatibility layer */
#ifndef OPENSSL_EXTRA_SSL_GUARD #ifndef OPENSSL_EXTRA_SSL_GUARD
#define OPENSSL_EXTRA_SSL_GUARD #define OPENSSL_EXTRA_SSL_GUARD
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#endif /* OPENSSL_EXTRA_SSL_GUARD */ #endif /* OPENSSL_EXTRA_SSL_GUARD */
#include <libs/libwolfssl/openssl/tls1.h> #include <libwolfssl/openssl/tls1.h>
#include <libs/libwolfssl/openssl/evp.h> #include <libwolfssl/openssl/evp.h>
#include <libs/libwolfssl/openssl/bio.h> #include <libwolfssl/openssl/bio.h>
#ifdef OPENSSL_EXTRA #ifdef OPENSSL_EXTRA
#include <libs/libwolfssl/openssl/crypto.h> #include <libwolfssl/openssl/crypto.h>
#endif #endif
#if defined(WOLFSSL_QT) || defined(OPENSSL_ALL) #if defined(WOLFSSL_QT) || defined(OPENSSL_ALL)
#include <libs/libwolfssl/openssl/dh.h> #include <libwolfssl/openssl/dh.h>
#include <libs/libwolfssl/openssl/objects.h> #include <libwolfssl/openssl/objects.h>
#endif #endif
/* need MIN_CODE_E to determine wolfSSL error range */ /* need MIN_CODE_E to determine wolfSSL error range */
#include <libs/libwolfssl/wolfcrypt/error-crypt.h> #include <libwolfssl/wolfcrypt/error-crypt.h>
/* all NID_* values are in asn.h */ /* all NID_* values are in asn.h */
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#include <libs/libwolfssl/openssl/x509.h> #include <libwolfssl/openssl/x509.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -1059,7 +1059,7 @@ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_
#if defined(OPENSSL_ALL) || defined(WOLFSSL_ASIO) || defined(WOLFSSL_HAPROXY) \ #if defined(OPENSSL_ALL) || defined(WOLFSSL_ASIO) || defined(WOLFSSL_HAPROXY) \
|| defined(WOLFSSL_NGINX) || defined(WOLFSSL_NGINX)
#include <libs/libwolfssl/openssl/pem.h> #include <libwolfssl/openssl/pem.h>
#define SSL_CTRL_CHAIN 88 #define SSL_CTRL_CHAIN 88
#define ERR_LIB_SSL 20 #define ERR_LIB_SSL 20
@ -1199,7 +1199,7 @@ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_
#if defined(HAVE_STUNNEL) || defined(WOLFSSL_NGINX) || defined(OPENSSL_EXTRA) \ #if defined(HAVE_STUNNEL) || defined(WOLFSSL_NGINX) || defined(OPENSSL_EXTRA) \
|| defined(OPENSSL_ALL) || defined(OPENSSL_ALL)
#include <libs/libwolfssl/openssl/asn1.h> #include <libwolfssl/openssl/asn1.h>
#define SSL23_ST_SR_CLNT_HELLO_A (0x210|0x2000) #define SSL23_ST_SR_CLNT_HELLO_A (0x210|0x2000)
#define SSL3_ST_SR_CLNT_HELLO_A (0x110|0x2000) #define SSL3_ST_SR_CLNT_HELLO_A (0x110|0x2000)
@ -1307,7 +1307,7 @@ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_
defined(WOLFSSL_MYSQL_COMPATIBLE) || defined(OPENSSL_ALL) || \ defined(WOLFSSL_MYSQL_COMPATIBLE) || defined(OPENSSL_ALL) || \
defined(HAVE_LIGHTY) || defined(HAVE_STUNNEL) defined(HAVE_LIGHTY) || defined(HAVE_STUNNEL)
#include <libs/libwolfssl/error-ssl.h> #include <libwolfssl/error-ssl.h>
#define OPENSSL_STRING WOLFSSL_STRING #define OPENSSL_STRING WOLFSSL_STRING
#define OPENSSL_CSTRING WOLFSSL_STRING #define OPENSSL_CSTRING WOLFSSL_STRING

View File

@ -1,11 +1,11 @@
/* x509.h for openssl */ /* x509.h for openssl */
#include <libs/libwolfssl/openssl/ssl.h> #include <libwolfssl/openssl/ssl.h>
#include <libs/libwolfssl/openssl/crypto.h> #include <libwolfssl/openssl/crypto.h>
#include <libs/libwolfssl/openssl/dh.h> #include <libwolfssl/openssl/dh.h>
#include <libs/libwolfssl/openssl/ec.h> #include <libwolfssl/openssl/ec.h>
#include <libs/libwolfssl/openssl/ecdsa.h> #include <libwolfssl/openssl/ecdsa.h>
#include <libs/libwolfssl/openssl/pkcs7.h> #include <libwolfssl/openssl/pkcs7.h>
/* wolfSSL_X509_print_ex flags */ /* wolfSSL_X509_print_ex flags */
#define X509_FLAG_COMPAT (0UL) #define X509_FLAG_COMPAT (0UL)

View File

@ -24,7 +24,7 @@
#ifndef WOLFSSL_x509_vfy_H_ #ifndef WOLFSSL_x509_vfy_H_
#define WOLFSSL_x509_vfy_H_ #define WOLFSSL_x509_vfy_H_
#include <libs/libwolfssl/openssl/x509v3.h> #include <libwolfssl/openssl/x509v3.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,8 +24,8 @@
#ifndef WOLFSSL_x509v3_H #ifndef WOLFSSL_x509v3_H
#define WOLFSSL_x509v3_H #define WOLFSSL_x509v3_H
#include <libs/libwolfssl/openssl/conf.h> #include <libwolfssl/openssl/conf.h>
#include <libs/libwolfssl/openssl/bio.h> #include <libwolfssl/openssl/bio.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -24,8 +24,8 @@
#ifndef WOLFSSL_SNIFFER_H #ifndef WOLFSSL_SNIFFER_H
#define WOLFSSL_SNIFFER_H #define WOLFSSL_SNIFFER_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/asn_public.h> #include <libwolfssl/wolfcrypt/asn_public.h>
#ifdef _WIN32 #ifdef _WIN32
#ifdef SSL_SNIFFER_EXPORTS #ifdef SSL_SNIFFER_EXPORTS

View File

@ -87,8 +87,8 @@
#endif #endif
#elif (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) #elif (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL))
#include <libs/libwolfssl/openssl/bn.h> #include <libwolfssl/openssl/bn.h>
#include <libs/libwolfssl/openssl/hmac.h> #include <libwolfssl/openssl/hmac.h>
/* We need the old SSL names */ /* We need the old SSL names */
#ifdef NO_OLD_SSL_NAMES #ifdef NO_OLD_SSL_NAMES
@ -3625,7 +3625,7 @@ WOLFSSL_API int wolfSSL_accept_ex(WOLFSSL*, HandShakeCallBack, TimeoutCallBack,
/* Smaller subset of X509 compatibility functions. Avoid increasing the size of /* Smaller subset of X509 compatibility functions. Avoid increasing the size of
* this subset and its memory usage */ * this subset and its memory usage */
#include <libs/libwolfssl/openssl/asn1.h> #include <libwolfssl/openssl/asn1.h>
struct WOLFSSL_X509_NAME_ENTRY { struct WOLFSSL_X509_NAME_ENTRY {
WOLFSSL_ASN1_OBJECT* object; /* static object just for keeping grp, type */ WOLFSSL_ASN1_OBJECT* object; /* static object just for keeping grp, type */
WOLFSSL_ASN1_STRING* value; /* points to data, for lighttpd port */ WOLFSSL_ASN1_STRING* value; /* points to data, for lighttpd port */
@ -3977,7 +3977,7 @@ WOLFSSL_API WOLFSSL_X509 *wolfSSL_X509_to_X509_REQ(WOLFSSL_X509 *x,
#if defined(OPENSSL_ALL) || defined(HAVE_STUNNEL) || defined(WOLFSSL_NGINX) \ #if defined(OPENSSL_ALL) || defined(HAVE_STUNNEL) || defined(WOLFSSL_NGINX) \
|| defined(WOLFSSL_HAPROXY) || defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY) || defined(WOLFSSL_HAPROXY) || defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY)
#include <libs/libwolfssl/openssl/crypto.h> #include <libwolfssl/openssl/crypto.h>
WOLFSSL_API int wolfSSL_CRYPTO_set_mem_functions( WOLFSSL_API int wolfSSL_CRYPTO_set_mem_functions(
wolfSSL_Malloc_cb m, wolfSSL_Malloc_cb m,
@ -4183,7 +4183,7 @@ WOLFSSL_API WOLFSSL_X509_CRL *wolfSSL_X509_OBJECT_get0_X509_CRL(WOLFSSL_X509_OBJ
#endif /* OPENSSL_ALL || HAVE_STUNNEL || WOLFSSL_NGINX || WOLFSSL_HAPROXY || HAVE_LIGHTY */ #endif /* OPENSSL_ALL || HAVE_STUNNEL || WOLFSSL_NGINX || WOLFSSL_HAPROXY || HAVE_LIGHTY */
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL) #if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL)
#include <libs/libwolfssl/openssl/stack.h> #include <libwolfssl/openssl/stack.h>
WOLFSSL_API void wolfSSL_sk_X509_pop_free(WOLF_STACK_OF(WOLFSSL_X509)* sk, void (*f) (WOLFSSL_X509*)); WOLFSSL_API void wolfSSL_sk_X509_pop_free(WOLF_STACK_OF(WOLFSSL_X509)* sk, void (*f) (WOLFSSL_X509*));
#endif /* OPENSSL_EXTRA || WOLFSSL_WPAS_SMALL */ #endif /* OPENSSL_EXTRA || WOLFSSL_WPAS_SMALL */

View File

@ -34,13 +34,13 @@ block cipher mechanism that uses n-bit binary string parameter key with 128-bits
#ifndef WOLF_CRYPT_AES_H #ifndef WOLF_CRYPT_AES_H
#define WOLF_CRYPT_AES_H #define WOLF_CRYPT_AES_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_AES #ifndef NO_AES
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)
#include <libs/libwolfssl/wolfcrypt/fips.h> #include <libwolfssl/wolfcrypt/fips.h>
#endif /* HAVE_FIPS_VERSION >= 2 */ #endif /* HAVE_FIPS_VERSION >= 2 */
/* included for fips @wc_fips */ /* included for fips @wc_fips */
@ -56,10 +56,10 @@ block cipher mechanism that uses n-bit binary string parameter key with 128-bits
#endif #endif
#ifndef WC_NO_RNG #ifndef WC_NO_RNG
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#endif #endif
#ifdef STM32_CRYPTO #ifdef STM32_CRYPTO
#include <libs/libwolfssl/wolfcrypt/port/st/stm32.h> #include <libwolfssl/wolfcrypt/port/st/stm32.h>
#endif #endif
#ifdef WOLFSSL_IMXRT_DCP #ifdef WOLFSSL_IMXRT_DCP
@ -72,29 +72,29 @@ block cipher mechanism that uses n-bit binary string parameter key with 128-bits
#if defined(WOLFSSL_AFALG) || defined(WOLFSSL_AFALG_XILINX_AES) #if defined(WOLFSSL_AFALG) || defined(WOLFSSL_AFALG_XILINX_AES)
/* included for struct msghdr */ /* included for struct msghdr */
#include <libs/libwolfssl/wolfcrypt/port/af_alg/wc_afalg.h> #include <libwolfssl/wolfcrypt/port/af_alg/wc_afalg.h>
#endif #endif
#if defined(WOLFSSL_DEVCRYPTO_AES) || defined(WOLFSSL_DEVCRYPTO_CBC) #if defined(WOLFSSL_DEVCRYPTO_AES) || defined(WOLFSSL_DEVCRYPTO_CBC)
#include <libs/libwolfssl/wolfcrypt/port/devcrypto/wc_devcrypto.h> #include <libwolfssl/wolfcrypt/port/devcrypto/wc_devcrypto.h>
#endif #endif
#ifdef WOLFSSL_SILABS_SE_ACCEL #ifdef WOLFSSL_SILABS_SE_ACCEL
#include <libs/libwolfssl/wolfcrypt/port/silabs/silabs_aes.h> #include <libwolfssl/wolfcrypt/port/silabs/silabs_aes.h>
#endif #endif
#if defined(HAVE_AESGCM) && !defined(WC_NO_RNG) #if defined(HAVE_AESGCM) && !defined(WC_NO_RNG)
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#endif #endif
#if defined(WOLFSSL_CRYPTOCELL) #if defined(WOLFSSL_CRYPTOCELL)
#include <libs/libwolfssl/wolfcrypt/port/arm/cryptoCell.h> #include <libwolfssl/wolfcrypt/port/arm/cryptoCell.h>
#endif #endif
#if defined(WOLFSSL_RENESAS_TSIP_TLS) && \ #if defined(WOLFSSL_RENESAS_TSIP_TLS) && \
defined(WOLFSSL_RENESAS_TSIP_TLS_AES_CRYPT) defined(WOLFSSL_RENESAS_TSIP_TLS_AES_CRYPT)
#include <libs/libwolfssl/wolfcrypt/port/Renesas/renesas-tsip-crypt.h> #include <libwolfssl/wolfcrypt/port/Renesas/renesas-tsip-crypt.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
@ -118,7 +118,7 @@ enum {
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)) (defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
enum { enum {

View File

@ -26,14 +26,14 @@
#ifndef WOLF_CRYPT_ARC4_H #ifndef WOLF_CRYPT_ARC4_H
#define WOLF_CRYPT_ARC4_H #define WOLF_CRYPT_ARC4_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
enum { enum {

View File

@ -34,7 +34,7 @@ that can be serialized and deserialized in a cross-platform way.
#ifndef WOLF_CRYPT_ASN_H #ifndef WOLF_CRYPT_ASN_H
#define WOLF_CRYPT_ASN_H #define WOLF_CRYPT_ASN_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_ASN #ifndef NO_ASN
@ -43,7 +43,7 @@ that can be serialized and deserialized in a cross-platform way.
#define NO_ASN_TIME /* backwards compatibility with NO_TIME_H */ #define NO_ASN_TIME /* backwards compatibility with NO_TIME_H */
#endif #endif
#include <libs/libwolfssl/wolfcrypt/integer.h> #include <libwolfssl/wolfcrypt/integer.h>
/* fips declare of RsaPrivateKeyDecode @wc_fips */ /* fips declare of RsaPrivateKeyDecode @wc_fips */
#if defined(HAVE_FIPS) && !defined(NO_RSA) && \ #if defined(HAVE_FIPS) && !defined(NO_RSA) && \
@ -52,19 +52,19 @@ that can be serialized and deserialized in a cross-platform way.
#endif #endif
#ifndef NO_DH #ifndef NO_DH
#include <libs/libwolfssl/wolfcrypt/dh.h> #include <libwolfssl/wolfcrypt/dh.h>
#endif #endif
#ifndef NO_DSA #ifndef NO_DSA
#include <libs/libwolfssl/wolfcrypt/dsa.h> #include <libwolfssl/wolfcrypt/dsa.h>
#endif #endif
#ifndef NO_SHA #ifndef NO_SHA
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
#endif #endif
#ifndef NO_MD5 #ifndef NO_MD5
#include <libs/libwolfssl/wolfcrypt/md5.h> #include <libwolfssl/wolfcrypt/md5.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
#include <libs/libwolfssl/wolfcrypt/asn_public.h> /* public interface */ #include <libwolfssl/wolfcrypt/asn_public.h> /* public interface */
#if defined(NO_SHA) && defined(NO_SHA256) #if defined(NO_SHA) && defined(NO_SHA256)
#define WC_SHA256_DIGEST_SIZE 32 #define WC_SHA256_DIGEST_SIZE 32

View File

@ -36,7 +36,7 @@
#ifndef WOLFCRYPT_BLAKE2_IMPL_H #ifndef WOLFCRYPT_BLAKE2_IMPL_H
#define WOLFCRYPT_BLAKE2_IMPL_H #define WOLFCRYPT_BLAKE2_IMPL_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
static WC_INLINE word32 load32( const void *src ) static WC_INLINE word32 load32( const void *src )
{ {

View File

@ -37,7 +37,7 @@
#ifndef WOLFCRYPT_BLAKE2_INT_H #ifndef WOLFCRYPT_BLAKE2_INT_H
#define WOLFCRYPT_BLAKE2_INT_H #define WOLFCRYPT_BLAKE2_INT_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {

View File

@ -26,11 +26,11 @@
#ifndef WOLF_CRYPT_BLAKE2_H #ifndef WOLF_CRYPT_BLAKE2_H
#define WOLF_CRYPT_BLAKE2_H #define WOLF_CRYPT_BLAKE2_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#if defined(HAVE_BLAKE2) || defined(HAVE_BLAKE2S) #if defined(HAVE_BLAKE2) || defined(HAVE_BLAKE2S)
#include <libs/libwolfssl/wolfcrypt/blake2-int.h> #include <libwolfssl/wolfcrypt/blake2-int.h>
/* call old functions if using fips for the sake of hmac @wc_fips */ /* call old functions if using fips for the sake of hmac @wc_fips */
#ifdef HAVE_FIPS #ifdef HAVE_FIPS

View File

@ -54,7 +54,7 @@
#ifndef WOLF_CRYPT_CAMELLIA_H #ifndef WOLF_CRYPT_CAMELLIA_H
#define WOLF_CRYPT_CAMELLIA_H #define WOLF_CRYPT_CAMELLIA_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_CAMELLIA #ifdef HAVE_CAMELLIA

View File

@ -32,7 +32,7 @@ This library contains implementation for the ChaCha20 stream cipher.
#ifndef WOLF_CRYPT_CHACHA_H #ifndef WOLF_CRYPT_CHACHA_H
#define WOLF_CRYPT_CHACHA_H #define WOLF_CRYPT_CHACHA_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_CHACHA #ifdef HAVE_CHACHA

View File

@ -34,9 +34,9 @@ or Authenticated Encryption with Additional Data (AEAD) algorithm.
#ifndef WOLF_CRYPT_CHACHA20_POLY1305_H #ifndef WOLF_CRYPT_CHACHA20_POLY1305_H
#define WOLF_CRYPT_CHACHA20_POLY1305_H #define WOLF_CRYPT_CHACHA20_POLY1305_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#include <libs/libwolfssl/wolfcrypt/chacha.h> #include <libwolfssl/wolfcrypt/chacha.h>
#include <libs/libwolfssl/wolfcrypt/poly1305.h> #include <libwolfssl/wolfcrypt/poly1305.h>
#if defined(HAVE_CHACHA) && defined(HAVE_POLY1305) #if defined(HAVE_CHACHA) && defined(HAVE_POLY1305)

View File

@ -23,14 +23,14 @@
#ifndef WOLF_CRYPT_CMAC_H #ifndef WOLF_CRYPT_CMAC_H
#define WOLF_CRYPT_CMAC_H #define WOLF_CRYPT_CMAC_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
#if !defined(NO_AES) && defined(WOLFSSL_CMAC) #if !defined(NO_AES) && defined(WOLFSSL_CMAC)
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)
#include <libs/libwolfssl/wolfcrypt/fips.h> #include <libwolfssl/wolfcrypt/fips.h>
#endif /* HAVE_FIPS_VERSION >= 2 */ #endif /* HAVE_FIPS_VERSION >= 2 */
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -26,7 +26,7 @@
#ifndef WOLF_CRYPT_CODING_H #ifndef WOLF_CRYPT_CODING_H
#define WOLF_CRYPT_CODING_H #define WOLF_CRYPT_CODING_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -27,7 +27,7 @@
#ifndef WOLF_CRYPT_COMPRESS_H #ifndef WOLF_CRYPT_COMPRESS_H
#define WOLF_CRYPT_COMPRESS_H #define WOLF_CRYPT_COMPRESS_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_LIBZ #ifdef HAVE_LIBZ

View File

@ -25,7 +25,7 @@
#define WOLF_CRYPT_CPUID_H #define WOLF_CRYPT_CPUID_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -22,7 +22,7 @@
#ifndef _WOLF_CRYPTO_CB_H_ #ifndef _WOLF_CRYPTO_CB_H_
#define _WOLF_CRYPTO_CB_H_ #define _WOLF_CRYPTO_CB_H_
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -36,40 +36,40 @@
#ifdef WOLF_CRYPTO_CB #ifdef WOLF_CRYPTO_CB
#ifndef NO_RSA #ifndef NO_RSA
#include <libs/libwolfssl/wolfcrypt/rsa.h> #include <libwolfssl/wolfcrypt/rsa.h>
#endif #endif
#ifdef HAVE_ECC #ifdef HAVE_ECC
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
#endif #endif
#ifndef NO_AES #ifndef NO_AES
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
#endif #endif
#ifndef NO_SHA #ifndef NO_SHA
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
#endif #endif
#ifndef NO_SHA256 #ifndef NO_SHA256
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
#endif #endif
#ifndef NO_HMAC #ifndef NO_HMAC
#include <libs/libwolfssl/wolfcrypt/hmac.h> #include <libwolfssl/wolfcrypt/hmac.h>
#endif #endif
#ifndef WC_NO_RNG #ifndef WC_NO_RNG
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#endif #endif
#ifndef NO_DES3 #ifndef NO_DES3
#include <libs/libwolfssl/wolfcrypt/des3.h> #include <libwolfssl/wolfcrypt/des3.h>
#endif #endif
#ifdef WOLFSSL_CMAC #ifdef WOLFSSL_CMAC
#include <libs/libwolfssl/wolfcrypt/cmac.h> #include <libwolfssl/wolfcrypt/cmac.h>
#endif #endif
#ifdef HAVE_ED25519 #ifdef HAVE_ED25519
#include <libs/libwolfssl/wolfcrypt/ed25519.h> #include <libwolfssl/wolfcrypt/ed25519.h>
#endif #endif
#ifdef HAVE_CURVE25519 #ifdef HAVE_CURVE25519
#include <libs/libwolfssl/wolfcrypt/curve25519.h> #include <libwolfssl/wolfcrypt/curve25519.h>
#endif #endif
#if defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA384) #if defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA384)
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
/* Crypto Information Structure for callbacks */ /* Crypto Information Structure for callbacks */

View File

@ -27,15 +27,15 @@
#ifndef WOLF_CRYPT_CURVE25519_H #ifndef WOLF_CRYPT_CURVE25519_H
#define WOLF_CRYPT_CURVE25519_H #define WOLF_CRYPT_CURVE25519_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_CURVE25519 #ifdef HAVE_CURVE25519
#include <libs/libwolfssl/wolfcrypt/fe_operations.h> #include <libwolfssl/wolfcrypt/fe_operations.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -25,15 +25,15 @@
#ifndef WOLF_CRYPT_CURVE448_H #ifndef WOLF_CRYPT_CURVE448_H
#define WOLF_CRYPT_CURVE448_H #define WOLF_CRYPT_CURVE448_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_CURVE448 #ifdef HAVE_CURVE448
#include <libs/libwolfssl/wolfcrypt/fe_448.h> #include <libwolfssl/wolfcrypt/fe_448.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -26,13 +26,13 @@
#ifndef WOLF_CRYPT_DES3_H #ifndef WOLF_CRYPT_DES3_H
#define WOLF_CRYPT_DES3_H #define WOLF_CRYPT_DES3_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_DES3 #ifndef NO_DES3
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)
#include <libs/libwolfssl/wolfcrypt/fips.h> #include <libwolfssl/wolfcrypt/fips.h>
#endif /* HAVE_FIPS_VERSION >= 2 */ #endif /* HAVE_FIPS_VERSION >= 2 */
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
@ -58,7 +58,7 @@ enum {
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)) (defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
enum { enum {

View File

@ -26,24 +26,24 @@
#ifndef WOLF_CRYPT_DH_H #ifndef WOLF_CRYPT_DH_H
#define WOLF_CRYPT_DH_H #define WOLF_CRYPT_DH_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_DH #ifndef NO_DH
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)
#include <libs/libwolfssl/wolfcrypt/fips.h> #include <libwolfssl/wolfcrypt/fips.h>
#endif /* HAVE_FIPS_VERSION >= 2 */ #endif /* HAVE_FIPS_VERSION >= 2 */
#include <libs/libwolfssl/wolfcrypt/integer.h> #include <libwolfssl/wolfcrypt/integer.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
typedef struct DhParams { typedef struct DhParams {

View File

@ -27,43 +27,43 @@
#ifndef WOLF_CRYPT_ECC_H #ifndef WOLF_CRYPT_ECC_H
#define WOLF_CRYPT_ECC_H #define WOLF_CRYPT_ECC_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_ECC #ifdef HAVE_ECC
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)
#include <libs/libwolfssl/wolfcrypt/fips.h> #include <libwolfssl/wolfcrypt/fips.h>
#endif /* HAVE_FIPS_VERSION >= 2 */ #endif /* HAVE_FIPS_VERSION >= 2 */
#include <libs/libwolfssl/wolfcrypt/integer.h> #include <libwolfssl/wolfcrypt/integer.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifdef HAVE_X963_KDF #ifdef HAVE_X963_KDF
#include <libs/libwolfssl/wolfcrypt/hash.h> #include <libwolfssl/wolfcrypt/hash.h>
#endif #endif
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#ifdef WOLFSSL_CERT_GEN #ifdef WOLFSSL_CERT_GEN
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#endif #endif
#endif #endif
#if defined(WOLFSSL_ATECC508A) || defined(WOLFSSL_ATECC608A) #if defined(WOLFSSL_ATECC508A) || defined(WOLFSSL_ATECC608A)
#include <libs/libwolfssl/wolfcrypt/port/atmel/atmel.h> #include <libwolfssl/wolfcrypt/port/atmel/atmel.h>
#endif /* WOLFSSL_ATECC508A */ #endif /* WOLFSSL_ATECC508A */
#if defined(WOLFSSL_CRYPTOCELL) #if defined(WOLFSSL_CRYPTOCELL)
#include <libs/libwolfssl/wolfcrypt/port/arm/cryptoCell.h> #include <libwolfssl/wolfcrypt/port/arm/cryptoCell.h>
#endif #endif
#ifdef WOLFSSL_SILABS_SE_ACCEL #ifdef WOLFSSL_SILABS_SE_ACCEL
#include <libs/libwolfssl/wolfcrypt/port/silabs/silabs_ecc.h> #include <libwolfssl/wolfcrypt/port/silabs/silabs_ecc.h>
#endif #endif
#ifdef WOLFSSL_HAVE_SP_ECC #ifdef WOLFSSL_HAVE_SP_ECC
#include <libs/libwolfssl/wolfcrypt/sp_int.h> #include <libwolfssl/wolfcrypt/sp_int.h>
#endif #endif

View File

@ -27,20 +27,20 @@
#ifndef WOLF_CRYPT_ED25519_H #ifndef WOLF_CRYPT_ED25519_H
#define WOLF_CRYPT_ED25519_H #define WOLF_CRYPT_ED25519_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_ED25519 #ifdef HAVE_ED25519
#include <libs/libwolfssl/wolfcrypt/fe_operations.h> #include <libwolfssl/wolfcrypt/fe_operations.h>
#include <libs/libwolfssl/wolfcrypt/ge_operations.h> #include <libwolfssl/wolfcrypt/ge_operations.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifndef WOLFSSL_SHA512 #ifndef WOLFSSL_SHA512
#error ED25519 requires SHA512 #error ED25519 requires SHA512
#endif #endif
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -27,20 +27,20 @@
#ifndef WOLF_CRYPT_ED448_H #ifndef WOLF_CRYPT_ED448_H
#define WOLF_CRYPT_ED448_H #define WOLF_CRYPT_ED448_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_ED448 #ifdef HAVE_ED448
#include <libs/libwolfssl/wolfcrypt/fe_448.h> #include <libwolfssl/wolfcrypt/fe_448.h>
#include <libs/libwolfssl/wolfcrypt/ge_448.h> #include <libwolfssl/wolfcrypt/ge_448.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifndef WOLFSSL_SHAKE256 #ifndef WOLFSSL_SHAKE256
#error ED448 requires SHAKE256 #error ED448 requires SHAKE256
#endif #endif
#include <libs/libwolfssl/wolfcrypt/sha3.h> #include <libwolfssl/wolfcrypt/sha3.h>
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -31,7 +31,7 @@ the error status.
#ifndef WOLF_CRYPT_ERROR_H #ifndef WOLF_CRYPT_ERROR_H
#define WOLF_CRYPT_ERROR_H #define WOLF_CRYPT_ERROR_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
(!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2)) (!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2))

View File

@ -23,11 +23,11 @@
#ifndef WOLF_CRYPT_FE_448_H #ifndef WOLF_CRYPT_FE_448_H
#define WOLF_CRYPT_FE_448_H #define WOLF_CRYPT_FE_448_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#if defined(HAVE_CURVE448) || defined(HAVE_ED448) #if defined(HAVE_CURVE448) || defined(HAVE_ED448)
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#if defined(HAVE___UINT128_T) && !defined(NO_CURVED448_128BIT) #if defined(HAVE___UINT128_T) && !defined(NO_CURVED448_128BIT)
#define CURVED448_128BIT #define CURVED448_128BIT

View File

@ -23,11 +23,11 @@
#ifndef WOLF_CRYPT_FE_OPERATIONS_H #ifndef WOLF_CRYPT_FE_OPERATIONS_H
#define WOLF_CRYPT_FE_OPERATIONS_H #define WOLF_CRYPT_FE_OPERATIONS_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#if defined(HAVE_CURVE25519) || defined(HAVE_ED25519) #if defined(HAVE_CURVE25519) || defined(HAVE_ED25519)
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#if defined(USE_INTEL_SPEEDUP) && !defined(NO_CURVED25519_X64) #if defined(USE_INTEL_SPEEDUP) && !defined(NO_CURVED25519_X64)
#define CURVED25519_X64 #define CURVED25519_X64

View File

@ -24,7 +24,7 @@
#ifndef WOLF_CRYPT_FIPS_TEST_H #ifndef WOLF_CRYPT_FIPS_TEST_H
#define WOLF_CRYPT_FIPS_TEST_H #define WOLF_CRYPT_FIPS_TEST_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -23,11 +23,11 @@
#ifndef WOLF_CRYPT_GE_448_H #ifndef WOLF_CRYPT_GE_448_H
#define WOLF_CRYPT_GE_448_H #define WOLF_CRYPT_GE_448_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef HAVE_ED448 #ifdef HAVE_ED448
#include <libs/libwolfssl/wolfcrypt/fe_448.h> #include <libwolfssl/wolfcrypt/fe_448.h>
/* /*
ge448 means group element. ge448 means group element.

View File

@ -25,11 +25,11 @@
#ifndef WOLF_CRYPT_GE_OPERATIONS_H #ifndef WOLF_CRYPT_GE_OPERATIONS_H
#define WOLF_CRYPT_GE_OPERATIONS_H #define WOLF_CRYPT_GE_OPERATIONS_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef HAVE_ED25519 #ifdef HAVE_ED25519
#include <libs/libwolfssl/wolfcrypt/fe_operations.h> #include <libwolfssl/wolfcrypt/fe_operations.h>
/* /*
ge means group element. ge means group element.

View File

@ -26,34 +26,34 @@
#ifndef WOLF_CRYPT_HASH_H #ifndef WOLF_CRYPT_HASH_H
#define WOLF_CRYPT_HASH_H #define WOLF_CRYPT_HASH_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_MD5 #ifndef NO_MD5
#include <libs/libwolfssl/wolfcrypt/md5.h> #include <libwolfssl/wolfcrypt/md5.h>
#endif #endif
#ifndef NO_SHA #ifndef NO_SHA
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
#endif #endif
#if defined(WOLFSSL_SHA224) || !defined(NO_SHA256) #if defined(WOLFSSL_SHA224) || !defined(NO_SHA256)
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
#endif #endif
#if defined(WOLFSSL_SHA384) || defined(WOLFSSL_SHA512) #if defined(WOLFSSL_SHA384) || defined(WOLFSSL_SHA512)
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
#ifdef HAVE_BLAKE2 #ifdef HAVE_BLAKE2
#include <libs/libwolfssl/wolfcrypt/blake2.h> #include <libwolfssl/wolfcrypt/blake2.h>
#endif #endif
#ifdef WOLFSSL_SHA3 #ifdef WOLFSSL_SHA3
#include <libs/libwolfssl/wolfcrypt/sha3.h> #include <libwolfssl/wolfcrypt/sha3.h>
#endif #endif
#ifndef NO_MD4 #ifndef NO_MD4
#include <libs/libwolfssl/wolfcrypt/md4.h> #include <libwolfssl/wolfcrypt/md4.h>
#endif #endif
#ifdef WOLFSSL_MD2 #ifdef WOLFSSL_MD2
#include <libs/libwolfssl/wolfcrypt/md2.h> #include <libwolfssl/wolfcrypt/md2.h>
#endif #endif
#if defined(HAVE_BLAKE2) || defined(HAVE_BLAKE2S) #if defined(HAVE_BLAKE2) || defined(HAVE_BLAKE2S)
#include <libs/libwolfssl/wolfcrypt/blake2.h> #include <libwolfssl/wolfcrypt/blake2.h>
#endif #endif
@ -178,37 +178,37 @@ WOLFSSL_API int wc_HashFree(wc_HashAlg* hash, enum wc_HashType type);
#endif #endif
#ifndef NO_MD5 #ifndef NO_MD5
#include <libs/libwolfssl/wolfcrypt/md5.h> #include <libwolfssl/wolfcrypt/md5.h>
WOLFSSL_API int wc_Md5Hash(const byte* data, word32 len, byte* hash); WOLFSSL_API int wc_Md5Hash(const byte* data, word32 len, byte* hash);
#endif #endif
#ifndef NO_SHA #ifndef NO_SHA
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
WOLFSSL_API int wc_ShaHash(const byte*, word32, byte*); WOLFSSL_API int wc_ShaHash(const byte*, word32, byte*);
#endif #endif
#ifdef WOLFSSL_SHA224 #ifdef WOLFSSL_SHA224
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
WOLFSSL_API int wc_Sha224Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha224Hash(const byte*, word32, byte*);
#endif /* defined(WOLFSSL_SHA224) */ #endif /* defined(WOLFSSL_SHA224) */
#ifndef NO_SHA256 #ifndef NO_SHA256
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
WOLFSSL_API int wc_Sha256Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha256Hash(const byte*, word32, byte*);
#endif #endif
#ifdef WOLFSSL_SHA384 #ifdef WOLFSSL_SHA384
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
WOLFSSL_API int wc_Sha384Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha384Hash(const byte*, word32, byte*);
#endif /* defined(WOLFSSL_SHA384) */ #endif /* defined(WOLFSSL_SHA384) */
#ifdef WOLFSSL_SHA512 #ifdef WOLFSSL_SHA512
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
WOLFSSL_API int wc_Sha512Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha512Hash(const byte*, word32, byte*);
#endif /* WOLFSSL_SHA512 */ #endif /* WOLFSSL_SHA512 */
#ifdef WOLFSSL_SHA3 #ifdef WOLFSSL_SHA3
#include <libs/libwolfssl/wolfcrypt/sha3.h> #include <libwolfssl/wolfcrypt/sha3.h>
WOLFSSL_API int wc_Sha3_224Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha3_224Hash(const byte*, word32, byte*);
WOLFSSL_API int wc_Sha3_256Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha3_256Hash(const byte*, word32, byte*);
WOLFSSL_API int wc_Sha3_384Hash(const byte*, word32, byte*); WOLFSSL_API int wc_Sha3_384Hash(const byte*, word32, byte*);

View File

@ -27,7 +27,7 @@
#ifndef WOLF_CRYPT_HC128_H #ifndef WOLF_CRYPT_HC128_H
#define WOLF_CRYPT_HC128_H #define WOLF_CRYPT_HC128_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_HC128 #ifndef NO_HC128

View File

@ -28,7 +28,7 @@
#ifndef WOLF_CRYPT_HMAC_H #ifndef WOLF_CRYPT_HMAC_H
#define WOLF_CRYPT_HMAC_H #define WOLF_CRYPT_HMAC_H
#include <libs/libwolfssl/wolfcrypt/hash.h> #include <libwolfssl/wolfcrypt/hash.h>
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
(!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2)) (!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2))
@ -40,7 +40,7 @@
#if defined(HAVE_FIPS) && \ #if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)
#include <libs/libwolfssl/wolfcrypt/fips.h> #include <libwolfssl/wolfcrypt/fips.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
@ -52,7 +52,7 @@
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)) (defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifndef NO_OLD_WC_NAMES #ifndef NO_OLD_WC_NAMES

View File

@ -26,7 +26,7 @@
#ifndef WOLF_CRYPT_IDEA_H #ifndef WOLF_CRYPT_IDEA_H
#define WOLF_CRYPT_IDEA_H #define WOLF_CRYPT_IDEA_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_IDEA #ifdef HAVE_IDEA

View File

@ -27,7 +27,7 @@
#ifndef WOLF_CRYPT_MD2_H #ifndef WOLF_CRYPT_MD2_H
#define WOLF_CRYPT_MD2_H #define WOLF_CRYPT_MD2_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef WOLFSSL_MD2 #ifdef WOLFSSL_MD2

View File

@ -26,7 +26,7 @@
#ifndef WOLF_CRYPT_MD4_H #ifndef WOLF_CRYPT_MD4_H
#define WOLF_CRYPT_MD4_H #define WOLF_CRYPT_MD4_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_MD4 #ifndef NO_MD4

View File

@ -27,7 +27,7 @@
#ifndef WOLF_CRYPT_MD5_H #ifndef WOLF_CRYPT_MD5_H
#define WOLF_CRYPT_MD5_H #define WOLF_CRYPT_MD5_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifndef NO_MD5 #ifndef NO_MD5
@ -63,13 +63,13 @@ enum {
#ifdef WOLFSSL_MICROCHIP_PIC32MZ #ifdef WOLFSSL_MICROCHIP_PIC32MZ
#include <libs/libwolfssl/wolfcrypt/port/pic32/pic32mz-crypt.h> #include <libwolfssl/wolfcrypt/port/pic32/pic32mz-crypt.h>
#endif #endif
#ifdef STM32_HASH #ifdef STM32_HASH
#include <libs/libwolfssl/wolfcrypt/port/st/stm32.h> #include <libwolfssl/wolfcrypt/port/st/stm32.h>
#endif #endif
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
#include <libs/libwolfssl/wolfcrypt/async.h> #include <libwolfssl/wolfcrypt/async.h>
#endif #endif
#ifdef WOLFSSL_TI_HASH #ifdef WOLFSSL_TI_HASH

View File

@ -29,7 +29,7 @@ masking and clearing memory logic.
#define WOLF_CRYPT_MISC_H #define WOLF_CRYPT_MISC_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -23,7 +23,7 @@
#ifndef WOLF_CRYPT_PKCS12_H #ifndef WOLF_CRYPT_PKCS12_H
#define WOLF_CRYPT_PKCS12_H #define WOLF_CRYPT_PKCS12_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -26,22 +26,22 @@
#ifndef WOLF_CRYPT_PKCS7_H #ifndef WOLF_CRYPT_PKCS7_H
#define WOLF_CRYPT_PKCS7_H #define WOLF_CRYPT_PKCS7_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_PKCS7 #ifdef HAVE_PKCS7
#ifndef NO_ASN #ifndef NO_ASN
#include <libs/libwolfssl/wolfcrypt/asn.h> #include <libwolfssl/wolfcrypt/asn.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/asn_public.h> #include <libwolfssl/wolfcrypt/asn_public.h>
#include <libs/libwolfssl/wolfcrypt/random.h> #include <libwolfssl/wolfcrypt/random.h>
#ifndef NO_AES #ifndef NO_AES
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
#endif #endif
#ifndef NO_DES3 #ifndef NO_DES3
#include <libs/libwolfssl/wolfcrypt/des3.h> #include <libwolfssl/wolfcrypt/des3.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/wc_encrypt.h> #include <libwolfssl/wolfcrypt/wc_encrypt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -26,7 +26,7 @@
#ifndef WOLF_CRYPT_POLY1305_H #ifndef WOLF_CRYPT_POLY1305_H
#define WOLF_CRYPT_POLY1305_H #define WOLF_CRYPT_POLY1305_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef HAVE_POLY1305 #ifdef HAVE_POLY1305

View File

@ -29,7 +29,7 @@
#endif #endif
#include "r_tsip_rx_if.h" #include "r_tsip_rx_if.h"
#include <libs/libwolfssl/wolfcrypt/logging.h> #include <libwolfssl/wolfcrypt/logging.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -23,7 +23,7 @@
#ifndef WOLF_CRYPT_AFALG_HASH_H #ifndef WOLF_CRYPT_AFALG_HASH_H
#define WOLF_CRYPT_AFALG_HASH_H #define WOLF_CRYPT_AFALG_HASH_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#undef WOLFSSL_NO_HASH_RAW #undef WOLFSSL_NO_HASH_RAW
#define WOLFSSL_NO_HASH_RAW #define WOLFSSL_NO_HASH_RAW

View File

@ -23,7 +23,7 @@
#ifndef WOLFSSL_AFALG_H #ifndef WOLFSSL_AFALG_H
#define WOLFSSL_AFALG_H #define WOLFSSL_AFALG_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <linux/if_alg.h> #include <linux/if_alg.h>

View File

@ -27,7 +27,7 @@
extern "C" { extern "C" {
#endif #endif
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#include "sns_silib.h" #include "sns_silib.h"

View File

@ -24,8 +24,8 @@
#include <stdint.h> #include <stdint.h>
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/error-crypt.h> #include <libwolfssl/wolfcrypt/error-crypt.h>
#if defined(WOLFSSL_ATECC508A) || defined(WOLFSSL_ATECC608A) || \ #if defined(WOLFSSL_ATECC508A) || defined(WOLFSSL_ATECC608A) || \
defined(WOLFSSL_ATECC_PKCB) defined(WOLFSSL_ATECC_PKCB)
@ -68,7 +68,7 @@
#endif #endif
/* ATECC_KEY_SIZE required for ecc.h */ /* ATECC_KEY_SIZE required for ecc.h */
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
struct WOLFSSL; struct WOLFSSL;
struct WOLFSSL_CTX; struct WOLFSSL_CTX;

View File

@ -22,12 +22,12 @@
#ifndef WOLF_CRYPT_CAAM_INIT_H #ifndef WOLF_CRYPT_CAAM_INIT_H
#define WOLF_CRYPT_CAAM_INIT_H #define WOLF_CRYPT_CAAM_INIT_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
/* include for porting layer */ /* include for porting layer */
#ifdef WOLFSSL_QNX_CAAM #ifdef WOLFSSL_QNX_CAAM
#include <libs/libwolfssl/wolfcrypt/port/caam/wolfcaam_qnx.h> #include <libwolfssl/wolfcrypt/port/caam/wolfcaam_qnx.h>
#endif #endif
#if defined(WOLFSSL_IMX6_CAAM) || defined(WOLFSSL_IMX6_CAAM_RNG) || \ #if defined(WOLFSSL_IMX6_CAAM) || defined(WOLFSSL_IMX6_CAAM_RNG) || \

View File

@ -22,11 +22,11 @@
#ifndef WOLF_CRYPT_CAAM_SHA_H #ifndef WOLF_CRYPT_CAAM_SHA_H
#define WOLF_CRYPT_CAAM_SHA_H #define WOLF_CRYPT_CAAM_SHA_H
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_IMX6_CAAM #ifdef WOLFSSL_IMX6_CAAM
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#define WOLFSSL_NO_HASH_RAW #define WOLFSSL_NO_HASH_RAW

View File

@ -22,7 +22,7 @@
#ifndef _PSOC6_CRYPTO_PORT_H_ #ifndef _PSOC6_CRYPTO_PORT_H_
#define _PSOC6_CRYPTO_PORT_H_ #define _PSOC6_CRYPTO_PORT_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include "cy_crypto_core_sha.h" #include "cy_crypto_core_sha.h"
#include "cy_device_headers.h" #include "cy_device_headers.h"
#include "psoc6_02_config.h" #include "psoc6_02_config.h"
@ -31,17 +31,17 @@
#ifdef WOLFSSL_SHA512 #ifdef WOLFSSL_SHA512
#include <libs/libwolfssl/wolfcrypt/sha512.h> #include <libwolfssl/wolfcrypt/sha512.h>
#endif #endif
#ifndef NO_SHA256 #ifndef NO_SHA256
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
#endif /* !def NO_SHA256 */ #endif /* !def NO_SHA256 */
#ifdef HAVE_ECC #ifdef HAVE_ECC
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
int psoc6_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash, int psoc6_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash,
word32 hashlen, int* verif_res, ecc_key* key); word32 hashlen, int* verif_res, ecc_key* key);
#endif /* HAVE_ECC */ #endif /* HAVE_ECC */

View File

@ -23,7 +23,7 @@
#ifndef WOLFSSL_DEVCRYPTO_H #ifndef WOLFSSL_DEVCRYPTO_H
#define WOLFSSL_DEVCRYPTO_H #define WOLFSSL_DEVCRYPTO_H
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef WOLFSSL_DEVCRYPTO #ifdef WOLFSSL_DEVCRYPTO

View File

@ -27,7 +27,7 @@
extern "C" { extern "C" {
#endif #endif
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
/* Public Functions */ /* Public Functions */
int nrf51_random_generate(byte* output, word32 sz); int nrf51_random_generate(byte* output, word32 sz);

View File

@ -21,23 +21,23 @@
#ifndef _DCP_PORT_H_ #ifndef _DCP_PORT_H_
#define _DCP_PORT_H_ #define _DCP_PORT_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include "fsl_dcp.h" #include "fsl_dcp.h"
#ifndef NO_SHA256 #ifndef NO_SHA256
#include <libs/libwolfssl/wolfcrypt/sha256.h> #include <libwolfssl/wolfcrypt/sha256.h>
void DCPSha256Free(wc_Sha256 *sha256); void DCPSha256Free(wc_Sha256 *sha256);
#endif #endif
#ifndef NO_SHA #ifndef NO_SHA
#include <libs/libwolfssl/wolfcrypt/sha.h> #include <libwolfssl/wolfcrypt/sha.h>
void DCPShaFree(wc_Sha *sha); void DCPShaFree(wc_Sha *sha);
#endif #endif
int wc_dcp_init(void); int wc_dcp_init(void);
#ifndef NO_AES #ifndef NO_AES
#include <libs/libwolfssl/wolfcrypt/aes.h> #include <libwolfssl/wolfcrypt/aes.h>
int DCPAesInit(Aes* aes); int DCPAesInit(Aes* aes);
void DCPAesFree(Aes *aes); void DCPAesFree(Aes *aes);

View File

@ -22,17 +22,17 @@
#ifndef _KSDK_PORT_H_ #ifndef _KSDK_PORT_H_
#define _KSDK_PORT_H_ #define _KSDK_PORT_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef USE_FAST_MATH #ifdef USE_FAST_MATH
#include <libs/libwolfssl/wolfcrypt/tfm.h> #include <libwolfssl/wolfcrypt/tfm.h>
#elif defined WOLFSSL_SP_MATH #elif defined WOLFSSL_SP_MATH
#include <libs/libwolfssl/wolfcrypt/sp_int.h> #include <libwolfssl/wolfcrypt/sp_int.h>
#else #else
#include <libs/libwolfssl/wolfcrypt/integer.h> #include <libwolfssl/wolfcrypt/integer.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
#include <libs/libwolfssl/wolfcrypt/curve25519.h> #include <libwolfssl/wolfcrypt/curve25519.h>
#include <libs/libwolfssl/wolfcrypt/ed25519.h> #include <libwolfssl/wolfcrypt/ed25519.h>
/* API to init required hardware */ /* API to init required hardware */

View File

@ -27,7 +27,7 @@
extern "C" { extern "C" {
#endif #endif
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_MICROCHIP_PIC32MZ #ifdef WOLFSSL_MICROCHIP_PIC32MZ

View File

@ -25,8 +25,8 @@
/* Generic STM32 Hashing and Crypto Functions */ /* Generic STM32 Hashing and Crypto Functions */
/* Supports CubeMX HAL or Standard Peripheral Library */ /* Supports CubeMX HAL or Standard Peripheral Library */
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/types.h> #include <libwolfssl/wolfcrypt/types.h>
#ifdef STM32_HASH #ifdef STM32_HASH

View File

@ -22,16 +22,16 @@
#ifndef _WOLFPORT_STSAFE_H_ #ifndef _WOLFPORT_STSAFE_H_
#define _WOLFPORT_STSAFE_H_ #define _WOLFPORT_STSAFE_H_
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#include <libs/libwolfssl/wolfcrypt/ecc.h> #include <libwolfssl/wolfcrypt/ecc.h>
#include <libs/libwolfssl/wolfcrypt/error-crypt.h> #include <libwolfssl/wolfcrypt/error-crypt.h>
#ifdef WOLF_CRYPTO_CB #ifdef WOLF_CRYPTO_CB
#include <libs/libwolfssl/wolfcrypt/cryptocb.h> #include <libwolfssl/wolfcrypt/cryptocb.h>
#endif #endif
#if !defined(WOLFCRYPT_ONLY) && defined(HAVE_PK_CALLBACKS) #if !defined(WOLFCRYPT_ONLY) && defined(HAVE_PK_CALLBACKS)
#include <libs/libwolfssl/ssl.h> #include <libwolfssl/ssl.h>
#endif #endif
#ifdef WOLFSSL_STSAFEA100 #ifdef WOLFSSL_STSAFEA100

View File

@ -27,7 +27,7 @@
#include <config.h> #include <config.h>
#endif #endif
#include <libs/libwolfssl/wolfcrypt/settings.h> #include <libwolfssl/wolfcrypt/settings.h>
#if defined(WOLFSSL_TI_CRYPT) || defined(WOLFSSL_TI_HASH) #if defined(WOLFSSL_TI_CRYPT) || defined(WOLFSSL_TI_HASH)

Some files were not shown because too many files have changed in this diff Show More