mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
crypto works wo warnings
This commit is contained in:
parent
e7bc2a1c1e
commit
8299f6e4da
10 changed files with 10 additions and 1023 deletions
|
@ -20,7 +20,7 @@ OBJDIR = obj
|
|||
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm
|
||||
LUALIB = ../liblua/liblua.a
|
||||
LDFLAGS = $(ENV_LDFLAGS)
|
||||
CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I../uart -I/opt/local/include -I../liblua -Wall -g -O3
|
||||
CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../common/polarssl -I../zlib -I../uart -I/opt/local/include -I../liblua -Wall -g -O3
|
||||
CXXFLAGS = -I../include -Wall -O3
|
||||
|
||||
LUAPLATFORM = generic
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include "iso14443crc.h"
|
||||
#include "../common/crc16.h"
|
||||
#include "../common/crc64.h"
|
||||
#include "../common/sha1.h"
|
||||
#include "polarssl/aes.h"
|
||||
#include "../common/polarssl/sha1.h"
|
||||
#include "../common/polarssl/aes.h"
|
||||
#include "cmdcrc.h"
|
||||
/**
|
||||
* The following params expected:
|
||||
|
|
|
@ -125,7 +125,6 @@ int aes_crypt_ecb( aes_context *ctx,
|
|||
int mode,
|
||||
const unsigned char input[16],
|
||||
unsigned char output[16] );
|
||||
|
||||
#if defined(POLARSSL_CIPHER_MODE_CBC)
|
||||
/**
|
||||
* \brief AES-CBC buffer encryption/decryption
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
* http://math.libtomcrypt.com/files/tommath.pdf
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "polarssl_config.h"
|
||||
|
||||
#if defined(POLARSSL_BIGNUM_C)
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "polarssl_config.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <basetsd.h>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -82,7 +82,7 @@
|
|||
*
|
||||
* Comment to disable the use of assembly code.
|
||||
*/
|
||||
#define POLARSSL_HAVE_ASM
|
||||
//#define POLARSSL_HAVE_ASM
|
||||
|
||||
/**
|
||||
* \def POLARSSL_HAVE_SSE2
|
||||
|
@ -762,7 +762,7 @@
|
|||
*
|
||||
* This enables support for RSAES-OAEP and RSASSA-PSS operations.
|
||||
*/
|
||||
#define POLARSSL_PKCS1_V21
|
||||
//#define POLARSSL_PKCS1_V21
|
||||
|
||||
/**
|
||||
* \def POLARSSL_RSA_NO_CRT
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* http://www.cacr.math.uwaterloo.ca/hac/about/chap8.pdf
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "polarssl_config.h"
|
||||
|
||||
#if defined(POLARSSL_RSA_C)
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* http://www.itl.nist.gov/fipspubs/fip180-1.htm
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "polarssl_config.h"
|
||||
|
||||
#if defined(POLARSSL_SHA1_C)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#ifndef POLARSSL_SHA1_H
|
||||
#define POLARSSL_SHA1_H
|
||||
|
||||
#include "config.h"
|
||||
#include "polarssl_config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue