<div dir="ltr"><p class="MsoNormal" style="color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px">Hi,</p><p class="MsoNormal" style="color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px"> </p><p class="MsoNormal" style="color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41);background-image:initial;background-position:initial;background-repeat:initial">I am looking at the feasibility of developing an embedded Bluetooth application with OpenSSL-FIPS support on STM32F407 microcontroller(which is ARM Cortex M4 based). The application doesn't run on generic OS like Linux, Windows or android but it runs on CMSIS-RTX RTOS. I am using Keil in Windows as the developing environment with the built in armc compiler (armcc) for compilation.</span></p><p class="MsoNormal" style="color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41);background-image:initial;background-position:initial;background-repeat:initial"> </span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">During my analysis I found the OpenSSL wiki which explains how to build and install OpenSSL library: <a href="https://wiki.openssl.org/index.php/Compilation_and_Installation" target="_blank"><span style="color:rgb(0,89,153);border:1pt none windowtext;padding:0in">Compilation and Installation</span></a>.</span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">In the page although there is a section for compilation for ARM platform, there is no description on how to do it.</span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)"> </span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">I have also gone through the following link on compiling with ARM</span></p><p class="MsoNormal" style="color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)"><a href="http://how-to-build-for-arm.wikispaces.com/openssl?responseToken=08950c74d64853fbf5d76acb5a751878c" target="_blank"><span style="color:rgb(0,89,153);border:1pt none windowtext;padding:0in">How To Build OpenSSL for ARM</span></a></span></p><p class="MsoNormal" style="color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)"> </span></p><p style="margin:0in 0in 12pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">But the compiler specified here is GCC.</span></p><p style="margin:0in 0in 12pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">My queries for OpenSSL-FIPS support are the following</span></p><p style="margin:0in 0in 0.0001pt 22.5pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">1.<span style="font-size:7pt;line-height:normal;font-family:"times new roman"">    </span></span><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">Is there a library available which can used in the mentioned platform ?</span></p><p style="margin:0in 0in 0.0001pt 22.5pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">2.<span style="font-size:7pt;line-height:normal;font-family:"times new roman"">    </span></span><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">Is it possible to port OpenSSL to ARM Cortex M4 platform with an RTOS?. To be more specific is it possible to port it to STM32F407 with CMSIS RTX ?</span></p><p style="margin:0in 0in 0.0001pt 22.5pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">3.<span style="font-size:7pt;line-height:normal;font-family:"times new roman"">    </span></span><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">If it is possible, where should I start and how much complex is it?.</span></p><p style="margin:0in 0in 0.0001pt 22.5pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">4.<span style="font-size:7pt;line-height:normal;font-family:"times new roman"">    </span></span><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">If I compile the OpenSSL library in GCC compiler and use it in a armc compiled application will it work ? (I have a feeling that it won't)</span></p><p style="margin:0in 0in 0.0001pt 22.5pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">5.<span style="font-size:7pt;line-height:normal;font-family:"times new roman"">    </span></span><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">Which other SSL libraries can I use with the embedded software ? </span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)"> </span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)"> </span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">Regards</span></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0);font-family:tahoma;font-size:13.3333px;line-height:14.65pt;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:arial,sans-serif;color:rgb(36,39,41)">Jinu</span></p></div>