Please look at EVP_CIPHER_name here. See, if it can solve your purpose.
EVP_CIPHER* to name
-
04-04-2022 - |
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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow