add the Windows object ordering tags to wolfCrypt first and last sources

This commit is contained in:
John Safranek 2015-12-21 11:01:09 -08:00
parent 37b8e60537
commit d5295edbd1
2 changed files with 12 additions and 0 deletions

View File

@ -30,6 +30,12 @@
#ifdef HAVE_FIPS
#ifdef USE_WINDOWS_API
#pragma code_seg(".fipsA$a")
#pragma const_seg(".fipsB$a")
#endif
/* read only start address */
const unsigned int wolfCrypt_FIPS_ro_start[] =
{ 0x1a2b3c4d, 0x00000001 };

View File

@ -30,6 +30,12 @@
#ifdef HAVE_FIPS
#ifdef USE_WINDOWS_API
#pragma code_seg(".fipsA$l")
#pragma const_seg(".fipsB$l")
#endif
/* last function of text/code segment */
int wolfCrypt_FIPS_last(void);
int wolfCrypt_FIPS_last(void)