diff options
Diffstat (limited to 'docs/hazmat/primitives')
| -rw-r--r-- | docs/hazmat/primitives/asymmetric/ec.rst | 8 | ||||
| -rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 13 | 
2 files changed, 14 insertions, 7 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst index 6f4afe7d..71f6e6fd 100644 --- a/docs/hazmat/primitives/asymmetric/ec.rst +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -251,6 +251,14 @@ All named curves are providers of :class:`EllipticCurve`.      SECG curve ``secp192r1``. Also called NIST P-192. + +.. class:: SECP256K1 + +    .. versionadded:: 0.9 + +    SECG curve ``secp256k1``. + +  Key Interfaces  ~~~~~~~~~~~~~~ diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index 47486895..309c6fd0 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -240,7 +240,7 @@ Modes      **This mode does not require padding.** -    :param bytes nonce: Should be :doc:`random bytes </random-numbers>`. It is +    :param bytes nonce: Should be unique, a :term:`nonce`. It is          critical to never reuse a ``nonce`` with a given key.  Any reuse of a          nonce with the same key compromises the security of every message          encrypted with that key. Must be the same number of bytes as the @@ -305,12 +305,11 @@ Modes      **This mode does not require padding.** -    :param bytes initialization_vector: Must be :doc:`random bytes -        </random-numbers>`. They do not need to be kept secret and they can be -        included in a transmitted message. NIST `recommends a 96-bit IV -        length`_ for performance critical situations but it can be up to -        2\ :sup:`64` - 1 bits. Do not reuse an ``initialization_vector`` with a -        given ``key``. +    :param bytes initialization_vector: Must be unique, a :term:`nonce`. +        They do not need to be kept secret and they can be included in a +        transmitted message. NIST `recommends a 96-bit IV length`_ for +        performance critical situations but it can be up to 2\ :sup:`64` - 1 +        bits. Do not reuse an ``initialization_vector`` with a given ``key``.      .. note::  | 
