RE: OpenSSL fips mode fails to decrypt on windows

2007-08-10 Thread Bill Colvin
I have not found this to be the case in a linux environment. You might want to perform the following experiment: Create a small text file and call it test1.pt, say something like: 01 The quick brown fox jumps over the lazy dog 02 The quick brown fox jumps over the lazy dog 03 The quick brown fox

OpenSSL fips mode fails to decrypt on windows

2007-08-10 Thread Elia, Leonard F.
I have a question about OpenSSL FIPS mode. I created openssl using the FIPS module, openssl 0.9.7m, and mingw on windows. It works cross platform with openssl FIPS created on Linux; my Solaris 10 version has been shelved for now. I can encrypt and decrypt out of FIPS mode. I cannot decrypt a

Re: EC public key info

2007-08-10 Thread Marek Marcola
Hello, > My question is: how many bytes does public key(EC or RSA) takes in X509 > certificate ? 64B for EC and 162B for RSA. Does X509 contain whole RSA > public key structure(162) in itself or only 1024bit modulus and 4 bytes for > exponent ? Does Public key for RSA in X509 contains ASN.1 SEQUEN

Re: EC public key info

2007-08-10 Thread Metalpalo
Thank You for explanation. I have one more question. I read that the size of public key for secp160r2 is 64B and for RSA 162. I need to illustrate the content of own certificate on some application mask. This certificate contain only some attributes from X509 format, but I want to put generated

Re: EC public key info

2007-08-10 Thread Marek Marcola
Hello, > I create ec key pair with secp160r2 curve and I need to achieve information > from public key in der format as: > EC Public Key: > pub: > 04:66:6d:59:b1:fb:53:c1:c9:98:c1:2c:71:73:1d: > 3a:36:a3:7c:d9:95:ca:de:ee:96:c1:56:c8:d7:c7:

EC public key info

2007-08-10 Thread Metalpalo
Hello everybody I have some questions. I create ec key pair with secp160r2 curve and I need to achieve information from public key in der format as: EC Public Key: pub: 04:66:6d:59:b1:fb:53:c1:c9:98:c1:2c:71:73:1d: 3a:36:a3:7c:d9:95:ca:de

AW: rsa key generation issue/question

2007-08-10 Thread Steffen DETTMER
> I am not familar with ASN.1, or any of the specifice of which the rsa > key is generated. It just seemed as it should not be so. > What is the ASN.1 encoding, and how is it used? ASN.1 encoding are "Basic Encoding Rules for ASN.1", with ASN.1 being the Abstract Syntax Notation Number One, actua

RE: rsa key generation issue/question

2007-08-10 Thread David Schwartz
> I am not familar with ASN.1, or any of the specifice of which the rsa > key is generated. It just seemed as it should not be so. > What is the ASN.1 encoding, and how is it used? The vast majority of file formats begin with a header that is similar or identical for files that contain different