krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
907 stars 334 forks source link

How can I get the cipher for "3412_2015_kuznyechik"? #153

Closed arapovavikka closed 1 year ago

arapovavikka commented 2 years ago

Hello,

I'm totally new to openSSL and couldn't find how to get a cipher for "3412_2015_kuznyechik". I've tried let chiper = EVP_get_cipherbyname("NID_id_tc26_cipher_gostr3412_2015_kuznyechik") and other strings which contain "kuznyechik" from obj_mac.h

Also I've seen that usually the cipher is called with smth like EVP_get_cipherbynid, but couldn't find this method here. Could you please explain how can I get the cipher for "3412_2015_kuznyechik"?