RC4 Compatibility with WinBlows.

2005-03-14 Thread John Draper
Hi,
I'm using the OpenSSL cryptlib encryption tools shipped with the Mac OS-X.
I'm unable to decrypt a text file encrypted on a Windows XP,  using the
CryptEncrypt functon,   an API in windows.
The file was encrypted with a 16 byte key (128 bits) on the Windows. 
Using RC4 stream cypher.   Yea,  I know RC4 is weak, but my application
requires I be able to use it for compatibility reasons.

I'm decrypting it via the EVP_DecryptInit, EVP_DecryptUpdate
EVP_DecryptFinal set of library calls.   I can furnish the exact source
code to anyone interested in helping me,  via private Email.   If others
express an interest,  I'll post the solution to the net if anyone wants
it.
Has anyone on this list run into problems where data encrypted using the
WinBlows API's are not able to be decrypted using the Mac OS-X
(FreeBSD) openSSL libraries or cryptlib.   I'm using the exact same
symmetric key.
I can furnish the test files to anyone who can help me.
John
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Has anyone else had these problems? Is there a work-around?

2004-03-12 Thread John Draper
I'm trying to build OpenSSL on OpenBSD3.4
The version I'm using is openssl-0.9.7b
I was un-sucessful in getting it to build via using
./config
So I tried...

./config no-asm

After noticing in the FAQ that the 'no-asm' option was needed.

So here is the last portion of the output of ./config...

 cut here ---
Makefile = Makefile.ssl
making links in tools...
Makefile = Makefile.ssl
generating dummy tests (if needed)...
Configured for OpenBSD-i386.

The library could not be configured for supporting multi-threaded
applications as the compiler options required on this system are not 
known.
See file INSTALL for details if you need multi-threading.
-

What do they mean in that last paragraph above?   Is this because the
new OpenBSD3.4 compiler is changed?
So - now when I do the 'make'  I get...

# make
making all in crypto...
gcc -I. -I.. -I../include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 
-DOPENSSL_NO_ASM -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer  -c 
cryptlib.c
*unknown*: Assembler messages:
*unknown*:0: Warning: as: I don't understand 'Q' flag.
*unknown*:0: Warning: as: I don't understand 'y' flag.
/tmp/cced7503.s:4: Error: Alignment too large: 15. assumed.
/tmp/cced7503.s:41: Error: Unknown pseudo-op:  `.section'
*** Error code 1

Whats up with this?  What am I doing wrong?  I thought I was following
the instructions...
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Problems building openssl-0.9.7b

2004-02-18 Thread John Draper
Hi,

I cannot build openssl-0.9.7b under OpenBSD3.4.   Has anyone else been 
sucessful in getting this
to build?

My first errors occur here

../libcrypto.a(md5_dgst.o): In function `MD5_Update':
md5_dgst.o(.text+0xec): undefined reference to 
`md5_block_asm_host_order'

This is the first occurance of this problem.   Could someone please 
help me out?

By the way,  I did look through the archives and didn't see anyone else 
posting
this problem.

John



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