How to make EVP functions returns false

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

 



Hi,
I am using EVP encryption and decryption and rsa key generation api from
openssl for my project.
I need to write unit tests for my code including failure conditions also.
Could you please help me to make below functions returns false without
getting valgrind error.
1. EVP_EncryptInit_ex() & EVP_DecryptInit_ex()
2. EVP_EncryptUpdate() & EVP_DecryptUpdate()
3. EVP_EncryptFinal_ex() & EVP_DecryptFinal_ex()
4. SHA256_Init()
5. SHA256_Update()
6. SHA256_Final()
7. RSA_generate_key_ex()
8. PEM_write_RSAPrivateKey() & PEM_read_RSAPrivateKey
9. PEM_write_RSA_PUBKEY() 
10. PEM_read_bio_RSA_PUBKEY() & PEM_read_bio_RSAPrivateKey



--
View this message in context: http://openssl.6102.n7.nabble.com/How-to-make-EVP-functions-returns-false-tp67775.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.


[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