aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/src
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2013-06-05 15:06:55 +0200
committerPatrik Nyblom <[email protected]>2013-06-05 15:06:55 +0200
commitdcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d (patch)
tree442ebe77de25c0c0a6b40e3b615a27b5580308ec /lib/crypto/src
parenteae7ebd1e38f2c2e4f86fe545c2a93d9d41d85d7 (diff)
downloadotp-dcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d.tar.gz
otp-dcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d.tar.bz2
otp-dcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d.zip
Add enif_consume_timeslice to appropriate crypto NIFs
Diffstat (limited to 'lib/crypto/src')
-rw-r--r--lib/crypto/src/crypto.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index 5bd7015aef..a093b45410 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -164,6 +164,7 @@
-export([info/0]).
-deprecated({info, 0, next_major_release}).
+%% This should correspond to the similar macro in crypto.c
-define(MAX_BYTES_TO_NIF, 20000). %% Current value is: erlang:system_info(context_reductions) * 10
-type mpint() :: binary().