fix compile warning when building w/o tests

This commit is contained in:
Steffen Jaeckel 2017-06-22 09:46:08 +02:00
parent 11338d2496
commit e3937a2906

View File

@ -10,6 +10,7 @@
#ifdef LTC_XTS_MODE
#ifndef LTC_NO_TEST
static int _xts_test_accel_xts_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long blocks,
unsigned char *tweak, symmetric_key *skey1, symmetric_key *skey2)
{
@ -63,6 +64,7 @@ static int _xts_test_accel_xts_decrypt(const unsigned char *ct, unsigned char *p
return ret;
}
#endif
/**
Source donated by Elliptic Semiconductor Inc (www.ellipticsemi.com) to the LibTom Projects