aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-07-05 14:57:18 +0200
committerLukas Larsson <[email protected]>2011-07-05 14:58:51 +0200
commit5389be3dee15c677412e54968c8e71713f43f6b6 (patch)
tree503eef13fed322d70f38e34329d4352d3cdb36fb /lib/public_key
parent22a909596393ac301f091c93bce7105963c12aa1 (diff)
downloadotp-5389be3dee15c677412e54968c8e71713f43f6b6.tar.gz
otp-5389be3dee15c677412e54968c8e71713f43f6b6.tar.bz2
otp-5389be3dee15c677412e54968c8e71713f43f6b6.zip
Start using asn1 nifs for OTP-PUB-KEY.asn1
asn1 will use an erlang fallback if the nifs are not found
Diffstat (limited to 'lib/public_key')
-rw-r--r--lib/public_key/asn1/Makefile2
-rw-r--r--lib/public_key/doc/src/introduction.xml8
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/public_key/asn1/Makefile b/lib/public_key/asn1/Makefile
index 94abec083c..6b2a2bc3d9 100644
--- a/lib/public_key/asn1/Makefile
+++ b/lib/public_key/asn1/Makefile
@@ -65,7 +65,7 @@ EBIN = ../ebin
EXTRA_ERLC_FLAGS =
ERL_COMPILE_FLAGS += $(EXTRA_ERLC_FLAGS)
-ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj +asn1config +inline
+ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj +asn1config +inline +nif
# ----------------------------------------------------
# Targets
diff --git a/lib/public_key/doc/src/introduction.xml b/lib/public_key/doc/src/introduction.xml
index 8cf11ee10e..1f18ae7e89 100644
--- a/lib/public_key/doc/src/introduction.xml
+++ b/lib/public_key/doc/src/introduction.xml
@@ -48,5 +48,13 @@
of the concepts of using public keys.</p>
</section>
+ <section>
+ <title>Performance tips</title>
+ <p>The public_key decode functions will try to use the nifs which are in
+ the asn1 compilers runtime modules if they can be found. So for the best
+ performance you want to have the asn1 application in the path of
+ your system. </p>
+ </section>
+
</chapter>