Re: [openssl-users] Using Openssl for eCOS platform

2016-08-18 Thread ssk1506
Hi Jay, Thanks for your reply. Our requirement is as follows 1. only using openssl for authenticaion and a key wrap algorithm. No encryption is needed. 2. For MAC alogorithm, we need to use M_SHA1 / M_SHA256 For key wrap algo, we need to use AES 128 or AES 256 algo. Following are the steps

Re: [openssl-users] Using Openssl for eCOS platform

2016-08-18 Thread ssk1506
Hi Jay, Thanks for your reply. Our requirement is as follows 1. only using openssl for authenticaion and a key wrap algorithm. No encryption is needed. 2. For MAC alogorithm, we need to use M_SHA1 / M_SHA256 For key wrap algo, we need to use AES 128 or AES 256 algo. Following are the steps we

Re: [openssl-users] Using Openssl for eCOS platform

2016-08-17 Thread Jay Foster
I have used the following snippet (along with some others) in the e_os.h header file: # if defined(__ECOS) # define __INITIAL_POINTER_SIZE 0 # define GETPID_IS_MEANINGLESS # define NO_CHMOD # define NO_SYSLOG # define HAVE_LONG_LONG 1 # define HAVE_LONG_DOUBLE 1 #

Re: [openssl-users] Using Openssl for eCOS platform

2016-08-17 Thread Devadas kk
Hi, Best way to do is to modify e_os.h header file. This file has to do with OS specific changes. Something like #ifdef ECOS #define getpid ecos_task_id_fn #endif ecos_task_id_fn is a placed holder, find out actual function name to get process ID. GetThreadID is the function in NETWARE.