RE: Please Help: BIO!!

2001-09-10 Thread Jordan C N Chong
Title: ??: Please Help: Crypto library with Visual C++ HI :D Sorry to bother you again.     I think I have found the reason :) it is because the Project setting is incorrect (thanks for your hints indeed)   I have to set the Code Generation (under tag C/C++), the "Use run-time librar

RE: How to load a P12 certificate?

2001-09-13 Thread Jordan C N Chong
Thanks to you Dale :) > Look at PKCS12_Parse(). You provide it a buffer with the > PKCS#12 and the password for the private key, and it > returns an X509 object and a EVP_PKEY object. Could you please tell me, which document should I look to regards this? Thanks again for your help. Wish you a

RE: How to load a P12 certificate?

2001-09-14 Thread Jordan C N Chong
Title: ??: How to load a P12 certificate? Dear Yong Yue   It is you again that helps me :D Thousand thanks.   But could you please direct me to a documentation about this codes?   So that I could understand it more :)   Thousand thanks again for your kindness   Wish you all the best    

Encryption and Decryption (as/symmetric)

2001-09-14 Thread Jordan C N Chong
Dear all, I am terribly sorry for keep spamming you with these questions. I am too fresh and too new to OpenSSL cryptography, and wishing desperately for some documents (I have looked at the SSLeay Documentation) or some information on this useful technology. I really appreciate

RE: How to load a P12 certificate?

2001-09-17 Thread Jordan C N Chong
Title: ??: How to load a P12 certificate? Dear YongYue   I am sorry to bother you again. Thousand thanks for your help indeed. After testing your code, sadly it doesn't work. I have done two tests on the codes:   1. Put nothing (or some wrong password) at the password field during parsing

RE: How to load a P12 certificate?

2001-09-19 Thread Jordan C N Chong
lize the openssl lib first.. -原始邮件-发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]代表 Jordan C N Chong发送时间: 2001年9月17日 21:04收件人: [EMAIL PROTECTED]主题: RE: How to load a P12 certificate? Dear YongYue   I am sorry to bother you again. Thousand thanks

Padding?

2001-09-19 Thread Jordan C N Chong
Dear all, Sorry to bother you all. I am doing symmetric encryption and decryption. For encryption, I am using Java class libraries from IAIK. For decryption, I wish to use OpenSSL cryptography library. I am using Blowfish algorithm. For encryption, using CBC mode and PKC

Padding for symmetric algorithm

2001-09-19 Thread Jordan C N Chong
using OpenSSL C++ cryptography library. At encryption, I am using blowfish, CBC mode, and PKCS5 padding. Does OpenSSL cryptography library support PKCS standard padding, so that IV is not needed (please correct me if I am wrong about this statement). And, I have a char * of

Padding?

2001-09-19 Thread Jordan C N Chong
Dear all, Sorry to bother. Does symmetric algorithm provided by OpenSSL cryptography library support padding? Like PKCS5 Padding for Blowfish encryption and decryption (for IV). Thanks. Best regards, Jordan Cheun Ngen, Chong

Confused with the cryptography library.

2001-09-19 Thread Jordan C N Chong
Dear all, I am using Openssl 0.9.6 cryptograhy library. According to http://www.openssl.org/docs/crypto/EVP_EncryptInit.html there is a method EVP_CIPHER_CTX_set_padding under However I tried to find it, I couldn't find it. Is it because this is the incorrect version, or there is other reasons?

Problems with BIO_s_mem and BIO_s_file

2001-09-24 Thread Jordan C N Chong
Dear all, I have an encrypted char *, to be decrypted using the private key read from the PKCS12 protection file (which is done!!). Now the problem lies into the BIO_s_mem and BIO_s_file (the encrypted char * is Base64 encoded) I have run the two tests: 1. Store the char * into a file called "te

Encrypt and decrypt a big char array

2001-10-03 Thread Jordan C N Chong
Dear all, Sorry to bother you. I wish to encrypt a big chunk of char array (like 3000bytes) using a symmetric key (for example Blowfish 16 bytes)... However I am not sure how to do that... Could you please help me out?? I really need your expertise for this issue. Thank you very much. Wish you

Decrypt a big array of data

2001-10-03 Thread Jordan C N Chong
Dear all, Sorry to send the similar email again. I am quite frustrated here. I wish to decode a big chunk of data array with Blowfish (key size 16 bytes), ECB mode, and 1024 bytes block by block, like the following picture |--| |Big chunk of data | |--

Lost data at the buffer during symmetric block encryption

2001-10-09 Thread Jordan C N Chong
Dear All, I am sorry to bother you...I need your help... Have you faced such problem - loose some data at the end of a buffer... The code is like this I want to encrypt a file 1024 blocks by 1024 blocks and at the final block which is not 1024 blocks will do the final management like follows:

Need Help to check DH_generate_key() functionality

2022-09-16 Thread Priyanka C via openssl-users
Dear OpenSSL Team, While migrating to OpenSSL 3.0 we are facing issue with use of DH_generate_key(). Getting dh->pub_key NULL. Logic used is as given below, I have omitted the error handling code. * p and g buffer is of type unsigned char * * p_len is 128 and g_len is 1.

OpenSSL-3 ENGINESDIR development vs deployment

2022-10-07 Thread Wrestler, C David CTR (USA)
trator (or something) privileges which I don't have. 3. Also compiling on our BuildServer, the build job will not have access to drive C: Thanks, cdw

[openssl-users] Help installing OpenSSL 1.1.0 pre6 on Windows 2012 R2

2016-08-26 Thread Harster, Kaarl C CIV NAVSEA KPWA, 104
Hello, I've tried many times now to install OpenSSL 1.1.0 pre6 on my Windows 2012 R2 64bit machine. We are wanting to run 64bit everything. I have installed ActivePerl 5.24.0.2400 Microsoft Visual Studio Ultimate 2012 version 11.0.50727.1 RTMREL with Visual C++2012 installed in it. When

<    1   2   3