Skip to content

Commit

Permalink
Adjust math to use refactor from wolfSSL/wolfssl#6123
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Mar 27, 2023
1 parent edfdcc1 commit d83efdd
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions wolfssl/wolfcrypt/port/intel/quickassist.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#ifdef HAVE_INTEL_QA

#include <wolfssl/wolfcrypt/types.h> /* for MATH_INT_T */

#include "cpa.h"
#include "cpa_cy_im.h"
#include "cpa_cy_sym.h"
Expand Down Expand Up @@ -180,17 +182,6 @@ typedef void (*IntelQaFreeFunc)(struct WC_ASYNC_DEV*);
};
#endif

#if defined(WOLFSSL_SP_MATH) || defined(WOLFSSL_SP_MATH_ALL)
struct sp_int;
#define MATH_INT_T struct sp_int
#elif defined(USE_FAST_MATH)
struct fp_int;
#define MATH_INT_T struct fp_int
#else
struct mp_int;
#define MATH_INT_T struct mp_int
#endif

/* QuickAssist device */
typedef struct IntelQaDev {
CpaInstanceHandle handle;
Expand Down

0 comments on commit d83efdd

Please sign in to comment.