Question

I've got an EVP_CIPHER* by using EVP_get_cipherbyname("AES-256-CTR"), now I would like to find a way to get from the EVP_CIPHER* back to the original name, in this case "AES-256-CTR".

Is there a method to do this in libcrypto?

Was it helpful?

Solution

Please look at EVP_CIPHER_name here. See, if it can solve your purpose.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top