aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-04-16 23:03:14 +0800
committerAyrx <terrycwk1994@gmail.com>2014-04-22 12:11:34 +0800
commitfa4a6b2f5f536ada8115b49373da768f297dc256 (patch)
treed8877fafa6e7ee111d709b22f90eb23ba81ab602 /docs/hazmat/primitives/symmetric-encryption.rst
parentb5bb0653b934bdf5fbf93dc1e5491e78f5c71467 (diff)
downloadcryptography-fa4a6b2f5f536ada8115b49373da768f297dc256.tar.gz
cryptography-fa4a6b2f5f536ada8115b49373da768f297dc256.tar.bz2
cryptography-fa4a6b2f5f536ada8115b49373da768f297dc256.zip
Added CMAC docs
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 1a4df222..c2692ae2 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -21,7 +21,7 @@ message but an attacker can create bogus messages and force the application to
decrypt them.
For this reason it is *strongly* recommended to combine encryption with a
-message authentication code, such as :doc:`HMAC </hazmat/primitives/hmac>`, in
+message authentication code, such as :doc:`HMAC </hazmat/primitives/mac/hmac>`, in
an "encrypt-then-MAC" formulation as `described by Colin Percival`_.
.. class:: Cipher(algorithm, mode, backend)
@@ -289,7 +289,7 @@ Modes
block cipher mode that simultaneously encrypts the message as well as
authenticating it. Additional unencrypted data may also be authenticated.
Additional means of verifying integrity such as
- :doc:`HMAC </hazmat/primitives/hmac>` are not necessary.
+ :doc:`HMAC </hazmat/primitives/mac/hmac>` are not necessary.
**This mode does not require padding.**