summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2014-07-05 22:39:08 +0100
committerMatt Caswell <matt@openssl.org>2014-07-06 00:03:13 +0100
commit75b7606881b08a892f487629cc30e63dff1800cb (patch)
tree7d124039b67ac42ee6359e21766d203ae5e8c44c /doc
parentfd9e244370d13606182a144833a1d3244cff5b85 (diff)
downloadopenssl-new-75b7606881b08a892f487629cc30e63dff1800cb.tar.gz
Added reference to platform specific cryptographic acceleration such as AES-NI
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/EVP_EncryptInit.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod
index 3b132c4490..e440463756 100644
--- a/doc/crypto/EVP_EncryptInit.pod
+++ b/doc/crypto/EVP_EncryptInit.pod
@@ -434,7 +434,10 @@ for AES.
Where possible the B<EVP> interface to symmetric ciphers should be used in
preference to the low level interfaces. This is because the code then becomes
-transparent to the cipher used and much more flexible.
+transparent to the cipher used and much more flexible. Additionally, the
+B<EVP> interface will ensure the use of platform specific cryptographic
+acceleration such as AES-NI (the low level interfaces do not provide the
+guarantee).
PKCS padding works by adding B<n> padding bytes of value B<n> to make the total
length of the encrypted data a multiple of the block size. Padding is always