RE: OpenSSL ported to VxWorks?

2001-09-07 Thread Prashant Kumar

OpenSsl should compile for Vxworks without any problems.
Start compiling. If you find any problems please feel
free to contact me. I have it ported to Vxworks.

Regards,
Prashant.

-Original Message-
From: Stagg, Alex [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: OpenSSL ported to VxWorks?


Is there an OpenSSL port to VxWorks, cross-compiled on Solaris?

Regards,

Alex Stagg
Next Level Communications
1776 22nd Street, Suite 100, West Des Moines, IA 50266
Direct: 515-988-4291, Fax: 435-514-0727
email: [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: OpenSSL ported to VxWorks?

2001-09-07 Thread Stagg, Alex

Thanks for your reply. Did you create a customized/modified configure
script or did you basically do everything by hand?

 - Alex

-Original Message-
From: Prashant Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 11:21 AM
To: [EMAIL PROTECTED]
Subject: RE: OpenSSL ported to VxWorks?


OpenSsl should compile for Vxworks without any problems.
Start compiling. If you find any problems please feel
free to contact me. I have it ported to Vxworks.

Regards,
Prashant.

-Original Message-
From: Stagg, Alex [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: OpenSSL ported to VxWorks?


Is there an OpenSSL port to VxWorks, cross-compiled on Solaris?

Regards,

Alex Stagg
Next Level Communications
1776 22nd Street, Suite 100, West Des Moines, IA 50266
Direct: 515-988-4291, Fax: 435-514-0727
email: [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: OpenSSL ported to VxWorks?

2001-09-07 Thread Rahul S
 Hi,
Great.
Well, I started compiling the sources on VxWorks. Most of the files I was able to compile, but I do get few errors like:
when compliling s23_pkt.o
make: *** No rule to make target `sys\param.h', needed by `s23_pkt.o'.  Stop.
 
and when compiling ssl_task.o
make: *** No rule to make target `iodef.h', needed by `ssl_task.o'.  Stop
Can you pls help me get arround these problems. Is there and equivalent implementation in VxWorks 5.4 where I was trying on.
The CFLAGS I used :
  -U__WINNT -UWIN32 -U__WINNT__ -UWINNT -U__MINGW32__ -U_WIN32 -U__WIN32 -U__WIN32__ -U__WIN32 -mpentium -ansi -nostdinc -g -nostdlib -fno-builtin -fno-defer-pop -Wall -DRW_MULTI_THREAD -D_REENTRANT -I. -IC:/Tornado/target/h  -Ic:/OpenSSL/openssl-engine-0.9.6/include -DCPU=SIMNT -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM 
 
Any help is appreciated.
 
Thanks,
S.Rahul
 
  Prashant Kumar <[EMAIL PROTECTED]> wrote: 
OpenSsl should compile for Vxworks without any problems.Start compiling. If you find any problems please feelfree to contact me. I have it ported to Vxworks.Regards,Prashant.-Original Message-From: Stagg, Alex [mailto:[EMAIL PROTECTED]]Sent: Friday, September 07, 2001 9:52 AMTo: [EMAIL PROTECTED]Subject: OpenSSL ported to VxWorks?Is there an OpenSSL port to VxWorks, cross-compiled on Solaris?Regards,Alex StaggNext Level Communications1776 22nd Street, Suite 100, West Des Moines, IA 50266Direct: 515-988-4291, Fax: 435-514-0727email: [EMAIL PROTECTED]__OpenSSL Project http://www.openssl.orgUser Support Mailing List [EMAIL PROTECTED]Automated List Manager [EMAIL PROTECTED]_!
 _OpenSSL Project http://www.openssl.orgUser Support Mailing List [EMAIL PROTECTED]Automated List Manager [EMAIL PROTECTED]Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.

RE: OpenSSL ported to VxWorks?

2001-09-10 Thread Prashant Kumar

I did everything by hand, wrote my own makefiles.

Please feel free to contact me if you need any help.

Regards,
Prashant.

-Original Message-
From: Stagg, Alex [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 2:55 PM
To: '[EMAIL PROTECTED]'
Subject: RE: OpenSSL ported to VxWorks?


Thanks for your reply. Did you create a customized/modified configure
script or did you basically do everything by hand?

 - Alex

-Original Message-
From: Prashant Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 11:21 AM
To: [EMAIL PROTECTED]
Subject: RE: OpenSSL ported to VxWorks?


OpenSsl should compile for Vxworks without any problems.
Start compiling. If you find any problems please feel
free to contact me. I have it ported to Vxworks.

Regards,
Prashant.

-Original Message-
From: Stagg, Alex [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: OpenSSL ported to VxWorks?


Is there an OpenSSL port to VxWorks, cross-compiled on Solaris?

Regards,

Alex Stagg
Next Level Communications
1776 22nd Street, Suite 100, West Des Moines, IA 50266
Direct: 515-988-4291, Fax: 435-514-0727
email: [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: OpenSSL ported to VxWorks?

2002-01-27 Thread ganesh kumar godavari


hello,
 i am trying to port openssl-0.96b onto VxWorks. i found the ftime and alarm functions 
missing in VxWorks.

does VxWorks have related function for ftime and alarm?. if so can u tell me.

have u been successful in porting rand functions? i am facing some problem as VxWorks 
doesn't have  header. can u tell me the how to port rand functions.

i am also facing some problem with des too. i am getting an error saying 
"des_cbc_encrypt" func is declare multiple times. i looked into it but it was defined 
only once. can u send me the make file for DES?

sending a copy of Time_f function that is widely used in most of the crypto library.


double Time_F(int s)
{
double ret;
#ifdef TIMES
static struct tms tstart,tend;

if (s == START)
{
times(&tstart);
return(0);
}
else
{
times(&tend);
ret=((double)(tend.tms_utime-tstart.tms_utime))/HZ;
return((ret == 0.0)?1e-6:ret);
}
#else /* !times() */
static struct timeb tstart,tend;
long i;

if (s == START)
{
ftime(&tstart);
return(0);
}
else
{
ftime(&tend);
i=(long)tend.millitm-(long)tstart.millitm;
ret=((double)(tend.time-tstart.time))+((double)i)/1000.0;
return((ret == 0.0)?1e-6:ret);
}
#endif
}



Thanks,
gkgodava

 
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: OpenSSL ported to VxWorks?

2002-01-28 Thread Prashant Kumar

Hello Ganesh,

For Vxworks you should include .

Vxworks doesn't have a "times" function,
however, Vxworks has a "time" function.
Also, Vxworks has "random" and
"srandom" function.

About "Time_F" function in "apps" directory,
I have not ported this directory. I have
ported only the "ssl" and "crypto" directories.
I don't think "Time_F" function is used in
the crypto directory (looks like it is used
only in speed.c and s_time.c in the apps
directory).

These are the files I have compiled in "des" directory

CLIST = \
cbc_cksm.c cbc_enc.c  cfb64enc.c cfb_enc.c  \
ecb3_enc.c ecb_enc.c  enc_read.c enc_writ.c \
fcrypt.c ofb64enc.c ofb_enc.c  pcbc_enc.c \
qud_cksm.c rand_key.c read_pwd.c rpc_enc.c  set_key.c  \
des_enc.c fcrypt_b.c read2pwd.c \
xcbc_enc.c \
str2key.c  cfb64ede.c ofb64ede.c ede_cbcm_enc.c

Also, I have attached herewith the Vxworks changes
I did in e_os.h.

Hope that this helps.

Regards,
Prashant.



-Original Message-
From: ganesh kumar godavari [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 26, 2002 10:09 PM
To: Kumar, Prashant [BL60:437:EXCH]
Cc: [EMAIL PROTECTED]
Subject: RE: OpenSSL ported to VxWorks?



hello,
 i am trying to port openssl-0.96b onto VxWorks. i found the ftime and alarm
functions missing in VxWorks.

does VxWorks have related function for ftime and alarm?. if so can u tell
me.

have u been successful in porting rand functions? i am facing some problem
as VxWorks doesn't have  header. can u tell me the how to port
rand functions.

i am also facing some problem with des too. i am getting an error saying
"des_cbc_encrypt" func is declare multiple times. i looked into it but it
was defined only once. can u send me the make file for DES?

sending a copy of Time_f function that is widely used
in most of the crypto library.


double Time_F(int s)
{
double ret;
#ifdef TIMES
static struct tms tstart,tend;

if (s == START)
{
times(&tstart);
return(0);
}
else
{
times(&tend);
ret=((double)(tend.tms_utime-tstart.tms_utime))/HZ;
return((ret == 0.0)?1e-6:ret);
}
#else /* !times() */
static struct timeb tstart,tend;
long i;

if (s == START)
{
ftime(&tstart);
return(0);
}
else
{
ftime(&tend);
i=(long)tend.millitm-(long)tstart.millitm;
ret=((double)(tend.time-tstart.time))+((double)i)/1000.0;
return((ret == 0.0)?1e-6:ret);
}
#endif
}



Thanks,
gkgodava


__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



e_os.h
Description: Binary data