need some help with the block size value

Matt Caswell matt at openssl.org
Tue Feb 15 13:15:43 UTC 2022



On 15/02/2022 12:13, Srinivas, Saketh (c) wrote:
> Hi,
> 
> i am trying to get the block size of EVP_des_ede3_cbc cipher using the 
> below function but it's not returning anything.
> 
> EVP_CIPHER_get_block_size(EVP_des_ede3_cbc())


This code looks fine to me, and I just tested this and it returned the 
expected result of 8.

When you say "it's not returning anything" do you mean it returns 0 or 
something else? What version of OpenSSL are you using?

Matt


> 
> Does anyone have any idea how to.
> 
> thanks,
> Saketh.
> 
> Notice: This e-mail together with any attachments may contain 
> information of Ribbon Communications Inc. and its Affiliates that is 
> confidential and/or proprietary for the sole use of the intended 
> recipient. Any review, disclosure, reliance or distribution by others or 
> forwarding without express permission is strictly prohibited. If you are 
> not the intended recipient, please notify the sender immediately and 
> then delete all copies, including any attachments.


More information about the openssl-users mailing list