aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-11-16 19:40:24 +0100
committerSverker Eriksson <[email protected]>2015-11-17 12:20:52 +0100
commitcfc8f82f1f39da114574a28c57f5d4a29ebbafaf (patch)
tree07f9f3052c14845894d445384b693a11cd803836 /lib/megaco
parente9442a7b93f6946b736b6b1e3621b405667ef672 (diff)
downloadotp-cfc8f82f1f39da114574a28c57f5d4a29ebbafaf.tar.gz
otp-cfc8f82f1f39da114574a28c57f5d4a29ebbafaf.tar.bz2
otp-cfc8f82f1f39da114574a28c57f5d4a29ebbafaf.zip
crypto: Refactor nif code to use EVP interface
Using the generic EVP_* API makes it possible to unify algorithm-specific nif functions to a single generic function. Effectively the same change that took place on the Erlang API in R16B01 is now applied to the C code. The old implementation using the low-level API is kept for compiling against old OpenSSL, as parts of the EVP API were introduced in OpenSSL 1.0.0. There are various minor improvements as well: - supported algorithms are now provided by the nif code (not a mix of the C and Erlang code) - remove unnecessary variables and macro definitions Most of the changes in this commit comes from Dániel Szoboszlay https://github.com/dszoboszlay/otp/commit/07f7056f955b324df4ace which is part of his 'fips' branch. Now also rebased on master branch.
Diffstat (limited to 'lib/megaco')
0 files changed, 0 insertions, 0 deletions