Regarding EVP_PKEY_decrypt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am working on this function.
result = EVP_PKEY_decrypt(ctx, DecryptedData, &outlen, EncryptedData,256);

I am getting the encrypted data from a different location and code is in such a way that we just have a pointer pointing to the starting of Encrypted data. Meaning -We don't know the encrypted data length. 
I passed a pointer of encrypted data to this function and decryption is also happening properly.
My doubt is whether is there any openssl/EVP_PKEY function or any way by which we can find the exact encrypted data length before doing the decryption.

Thanks in advance for helping me out!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux