forked from wolfSSL/wolfssl
Merge https://github.com/tisb-vikram/wolfssl into ti
This commit is contained in:
@ -2349,7 +2349,7 @@ ProtocolVersion MakeDTLSv1_2(void)
|
|||||||
|
|
||||||
word32 LowResTimer(void)
|
word32 LowResTimer(void)
|
||||||
{
|
{
|
||||||
return (word32) MYTIME_gettime();
|
return (word32) Seconds_get();
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(USER_TICKS)
|
#elif defined(USER_TICKS)
|
||||||
|
@ -50,7 +50,7 @@ var wolfSSLObjList = [
|
|||||||
|
|
||||||
for each (var targ in Build.targets) {
|
for each (var targ in Build.targets) {
|
||||||
var libOptions = {incs: wolfsslPathInclude};
|
var libOptions = {incs: wolfsslPathInclude};
|
||||||
var lib = Pkg.addLibrary("lib/" + Pkg.name, targ, libOptions);
|
var lib = Pkg.addLibrary("lib/wolfssl", targ, libOptions);
|
||||||
lib.addObjects(wolfSSLObjList);
|
lib.addObjects(wolfSSLObjList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
* ======== ti.net.wolfssl ========
|
* ======== ti.net.wolfssl ========
|
||||||
* wolfSSL library for TI-RTOS
|
* wolfSSL library for TI-RTOS
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
package ti.net.wolfssl {
|
package ti.net.wolfssl [1, 0, 0] {
|
||||||
}
|
}
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
*/
|
*/
|
||||||
function getLibs(prog)
|
function getLibs(prog)
|
||||||
{
|
{
|
||||||
return ("lib/" + this.$name + ".a" + prog.build.target.suffix);
|
return ("lib/wolfssl.a" + prog.build.target.suffix);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
/*
|
||||||
|
* ======== ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.benchmark ========
|
||||||
|
* wc_ Benchmark Application
|
||||||
|
*/
|
||||||
|
package ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.benchmark [1, 0, 0] {
|
||||||
|
}
|
@ -53,4 +53,3 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
BIOS_start();
|
BIOS_start();
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
/*
|
||||||
|
* ======== ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.test ========
|
||||||
|
* wolfcrypt Test Application
|
||||||
|
*/
|
||||||
|
package ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.test [1, 0, 0] {
|
||||||
|
}
|
@ -1,6 +0,0 @@
|
|||||||
/*
|
|
||||||
* ======== ti.net.wolfssl.tests.wolfcrypt.benchmark ========
|
|
||||||
* wc_ Benchmark Application
|
|
||||||
*/
|
|
||||||
package ti.net.wolfssl.tests.wolfcrypt.benchmark {
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
/*
|
|
||||||
* ======== ti.net.wolfssl.tests.wolfcrypt.test ========
|
|
||||||
* wolfcrypt Test Application
|
|
||||||
*/
|
|
||||||
package ti.net.wolfssl.tests.wolfcrypt.test {
|
|
||||||
}
|
|
@ -32,20 +32,23 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var armOpts = " -ms ";
|
var armOpts = " -ms ";
|
||||||
var gnuOpts = "";
|
var gnuOpts = " -D_POSIX_SOURCE ";
|
||||||
var iarOpts = "";
|
var iarOpts = "";
|
||||||
|
|
||||||
/* Uncomment the following lines to build libraries for debug mode: */
|
/* Uncomment the following lines to build libraries for debug mode: */
|
||||||
// Pkg.attrs.profile = "debug";
|
// Pkg.attrs.profile = "debug";
|
||||||
// armOpts += " -g -o0 ";
|
// armOpts += " -g -o0 ";
|
||||||
// gnuOpts += " -g ";
|
// gnuOpts += " -g -D_POSIX_SOURCE ";
|
||||||
// iarOpts += " --debug ";
|
// iarOpts += " --debug ";
|
||||||
|
|
||||||
var ccOpts = {
|
var ccOpts = {
|
||||||
|
"ti.targets.arm.elf.M4" : armOpts,
|
||||||
"ti.targets.arm.elf.M4F" : armOpts,
|
"ti.targets.arm.elf.M4F" : armOpts,
|
||||||
|
|
||||||
|
"gnu.targets.arm.M4" : gnuOpts,
|
||||||
"gnu.targets.arm.M4F" : gnuOpts,
|
"gnu.targets.arm.M4F" : gnuOpts,
|
||||||
|
|
||||||
|
"iar.targets.arm.M4" : iarOpts,
|
||||||
"iar.targets.arm.M4F" : iarOpts,
|
"iar.targets.arm.M4F" : iarOpts,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -363,7 +363,7 @@ time_t XTIME(time_t * timer)
|
|||||||
{
|
{
|
||||||
time_t sec = 0;
|
time_t sec = 0;
|
||||||
|
|
||||||
sec = (time_t) MYTIME_gettime();
|
sec = (time_t) Seconds_get();
|
||||||
|
|
||||||
if (timer != NULL)
|
if (timer != NULL)
|
||||||
*timer = sec;
|
*timer = sec;
|
||||||
|
@ -340,7 +340,7 @@
|
|||||||
#pragma diag_suppress=11
|
#pragma diag_suppress=11
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <ti/ndk/nettools/mytime/mytime.h>
|
#include <ti/sysbios/hal/Seconds.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EBSNET
|
#ifdef EBSNET
|
||||||
|
Reference in New Issue
Block a user