note - I didn't use the ex function; I used the older version. It
should give you a slightly easier place to start from.
Anthony
- Original Message -
From: Rudy1 r...@compumatica.eu
To: openssl-users@openssl.org
Sent: Thursday, July 15, 2010 5:37:38 AM
Subject: AES128 CBC
AM
Subject: AES128 CBC
I'm using the openssl crypto lib first time and I don't know how to
encrypt text larger than blocksize (16 byte) . For example I want to
encrypt a string of size 292 bytes. I call EVP_EncryptUpdate () one time
and 288 bytes will be encrypted and finally I call
...@compumatica.eu
To: openssl-users@openssl.org
Sent: Thursday, July 15, 2010 5:37:38 AM
Subject: AES128 CBC
I'm using the openssl crypto lib first time and I don't know how to
encrypt text larger than blocksize (16 byte) . For example I want to
encrypt a string of size 292 bytes. I call
On Thu July 15 2010, Anthony Gabrielson wrote:
On Jul 15, 2010, at 6:18 PM, Michael S. Zick wrote:
Interesting blog.
One quick question on the first linked-to source at the top:
quote
memset(plaintext,0,sizeof(plaintext));
in_len = strlen(ciphertext);
end-quote
How
encrypt the whole string correctly? Or do I have to call
EVP_EncryptUpdate () for every
blocksize chunk of my string?
How large is the encrypted string? I would expect 304 bytes (288 + 16). Is
this correct?
Rudy1
--
View this message in context:
http://old.nabble.com/AES128-CBC
@openssl.org
Sent: Thursday, July 15, 2010 5:37:38 AM
Subject: AES128 CBC
I'm using the openssl crypto lib first time and I don't know how to encrypt
text larger than blocksize (16 byte) . For example I want to encrypt a string
of size 292 bytes. I call EVP_EncryptUpdate () one time and 288 bytes
-users@openssl.org
Sent: Thursday, July 15, 2010 5:37:38 AM
Subject: AES128 CBC
I'm using the openssl crypto lib first time and I don't know how to encrypt
text larger than blocksize (16 byte) . For example I want to encrypt a string
of size 292 bytes. I call EVP_EncryptUpdate () one time
On Jul 15, 2010, at 6:18 PM, Michael S. Zick wrote:
Interesting blog.
One quick question on the first linked-to source at the top:
quote
memset(plaintext,0,sizeof(plaintext));
in_len = strlen(ciphertext);
end-quote
How did you get strlen to ignore any embedded zeros in the