AES-256 CBC encrypt/decrypt usage problem

2010-05-20 Thread ~ Kunal Sharma ~
Friends, This is the first time I'm using Openssl for some small job to encrypt and decrypt buffers for my application usage. My requirement is simple: 1) My application gets a buffer that needs to be encrypted. 2) My application gets a buffer that needs to be decrypted. This buffer can be

Re: AES-256 CBC encrypt/decrypt usage problem

2010-05-21 Thread ~ Kunal Sharma ~
then use the buffer holding decrypted data in the decode2 function and get the original data back ? How can I get the size of decrypted buffer - strlen wouldn't work, I suppose ? Thanks, Kunal On Thu, May 20, 2010 at 8:38 PM, David Schwartz dav...@webmaster.comwrote: Kunal Sharma wrote: void

Re: AES-256 CBC encrypt/decrypt usage problem

2010-05-21 Thread ~ Kunal Sharma ~
strlen to calculate the length of the buffer, you need to provide the length in some other way - in your example presumably as an additional parameter. Carter Carter Browne cbcscbro...@cbcs-usa.com 781-721-2890 On 5/21/2010 2:30 AM, ~ Kunal Sharma ~ wrote: David, Thanks for taking

Re: AES-256 CBC encrypt/decrypt usage problem

2010-05-21 Thread ~ Kunal Sharma ~
can include NULs, you should not use strlen to calculate the length of the buffer, you need to provide the length in some other way - in your example presumably as an additional parameter. Carter Carter Browne cbcscbro...@cbcs-usa.com 781-721-2890 On 5/21/2010 2:30 AM, ~ Kunal Sharma

Re: AES-256 CBC encrypt/decrypt usage problem

2010-05-25 Thread ~ Kunal Sharma ~
Friends, I was able to resolve the problem with my web application not able to read the entire contents of encrypted file. Now my encryption and decryption is working ok. Thanks for all the help. Kunal On Sat, May 22, 2010 at 12:34 AM, ~ Kunal Sharma ~ koolku...@gmail.comwrote: Ok friends

Error - AES-256 CBC encrypting using EVP routines and decrypting using command line

2010-05-25 Thread ~ Kunal Sharma ~
Friends, I'm trying to verify that my encryption and decryption routines work ok. One way I do it is to encrypt the data and save it to a file. The I feed the encrypted file to my decryption routine and write the decrypted data to another file. I compare the original data and the contents of the

Re: Error - AES-256 CBC encrypting using EVP routines and decrypting using command line

2010-05-25 Thread ~ Kunal Sharma ~
-in rgconf_encrypted -out rgconf_decrypted. -Anand On Tue, May 25, 2010 at 8:30 AM, ~ Kunal Sharma ~ koolku...@gmail.comwrote: Friends, I'm trying to verify that my encryption and decryption routines work ok. One way I do it is to encrypt the data and save it to a file. The I feed the encrypted

Re: Error - AES-256 CBC encrypting using EVP routines and decrypting using command line

2010-05-26 Thread ~ Kunal Sharma ~
Thanks guys. It worked for me !! - Kunal On Wed, May 26, 2010 at 6:51 AM, Dave Thompson dthomp...@prinpay.comwrote: From: owner-openssl-us...@openssl.org On Behalf Of ~ Kunal Sharma ~ Sent: Tuesday, 25 May, 2010 10:02 I guess I need to supply the iv in hex format

Source compilation of OpenSSL 3.0

2022-03-16 Thread ~ Kunal Sharma ~
o figure out what all is being installed and how, so I can try to do it manually myself on my target system. Can someone pls help me with some pointers? Thanks, Kunal Sharma

Compiling OpenSSL using a different SDK

2022-05-06 Thread ~ Kunal Sharma ~
the changes to makefile to use WRL stuff? Any pointers would be appreciated. Thanks, Kunal Sharma