diff options
author | Hans Nilsson <[email protected]> | 2019-04-16 12:27:15 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-04-17 16:35:20 +0200 |
commit | c500d66b68ff0fe174128926318f3eead4dcbb15 (patch) | |
tree | 19578100cefe6fb9208186b36ea9215812c58cd5 /lib/crypto/c_src/atoms.c | |
parent | 2587405769912b165b4c97d827411db09d7a7882 (diff) | |
download | otp-c500d66b68ff0fe174128926318f3eead4dcbb15.tar.gz otp-c500d66b68ff0fe174128926318f3eead4dcbb15.tar.bz2 otp-c500d66b68ff0fe174128926318f3eead4dcbb15.zip |
crypto: New function supports/1
Takes argument hashs, public_keys, ciphers, macs, curves or rsa_opts. Returns the algorithm names, but ONLY the openssl names. supports/0 still returns aliases and misspellings.
Diffstat (limited to 'lib/crypto/c_src/atoms.c')
-rw-r--r-- | lib/crypto/c_src/atoms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/c_src/atoms.c b/lib/crypto/c_src/atoms.c index 0793ffa6ca..059c14690f 100644 --- a/lib/crypto/c_src/atoms.c +++ b/lib/crypto/c_src/atoms.c @@ -70,6 +70,7 @@ ERL_NIF_TERM atom_onbasis; ERL_NIF_TERM atom_aes_cfb8; ERL_NIF_TERM atom_aes_cfb128; +ERL_NIF_TERM atom_aes_ige256; #ifdef HAVE_GCM ERL_NIF_TERM atom_aes_gcm; #endif @@ -188,6 +189,7 @@ int init_atoms(ErlNifEnv *env, const ERL_NIF_TERM fips_mode, const ERL_NIF_TERM atom_aes_cfb8 = enif_make_atom(env, "aes_cfb8"); atom_aes_cfb128 = enif_make_atom(env, "aes_cfb128"); + atom_aes_ige256 = enif_make_atom(env, "aes_ige256"); #ifdef HAVE_GCM atom_aes_gcm = enif_make_atom(env, "aes_gcm"); #endif |