X-Istence
X-Istence

Reputation: 16667

EVP_CIPHER* to name

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?

Upvotes: 3

Views: 2573

Answers (1)

doptimusprime
doptimusprime

Reputation: 9395

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

Upvotes: 3

Related Questions