Skip to content

Commit

Permalink
crypto: Build the cache of supported curves in the NIF at application…
Browse files Browse the repository at this point in the history
… loading

Besides being faster, it will be a simple synchronisation if more than
one Erlang process tries to load crypto simultaneously.  The cache
will only be initialized once now and this is independent of how the
oading is initiated (application:start, call of a crypto function etc)
  • Loading branch information
HansN committed Oct 9, 2020
1 parent 18363cb commit 392e80c
Show file tree
Hide file tree
Showing 2 changed files with 449 additions and 178 deletions.

0 comments on commit 392e80c

Please sign in to comment.