From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 11 Dec 2018 17:42:39 +0100 Subject: Add "since" attributes in xml for new functions and modules introduced after OTP_R13B03. --- lib/crypto/doc/src/crypto.xml | 134 +++++++++++++++++++++--------------------- 1 file changed, 67 insertions(+), 67 deletions(-) (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index b33db0d6e4..5a2343fb7e 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -524,7 +524,7 @@ - + Encrypt PlainText according to Type block cipher

Encrypt PlainText according to Type block cipher.

@@ -537,7 +537,7 @@
- + Decrypt CipherText according to Type block cipher

Decrypt CipherText according to Type block cipher.

@@ -550,9 +550,9 @@
- block_encrypt(Type, Key, Ivec, PlainText) -> CipherText - block_encrypt(AeadType, Key, Ivec, {AAD, PlainText}) -> {CipherText, CipherTag} - block_encrypt(aes_gcm | aes_ccm, Key, Ivec, {AAD, PlainText, TagLength}) -> {CipherText, CipherTag} + block_encrypt(Type, Key, Ivec, PlainText) -> CipherText + block_encrypt(AeadType, Key, Ivec, {AAD, PlainText}) -> {CipherText, CipherTag} + block_encrypt(aes_gcm | aes_ccm, Key, Ivec, {AAD, PlainText, TagLength}) -> {CipherText, CipherTag} Encrypt PlainText according to Type block cipher Type = block_cipher_with_iv() @@ -577,8 +577,8 @@ - block_decrypt(Type, Key, Ivec, CipherText) -> PlainText - block_decrypt(AeadType, Key, Ivec, {AAD, CipherText, CipherTag}) -> PlainText | error + block_decrypt(Type, Key, Ivec, CipherText) -> PlainText + block_decrypt(AeadType, Key, Ivec, {AAD, CipherText, CipherTag}) -> PlainText | error Decrypt CipherText according to Type block cipher Type = block_cipher_with_iv() @@ -603,7 +603,7 @@ - + Convert binary representation, of an integer, to an Erlang integer.

Convert binary representation, of an integer, to an Erlang integer. @@ -612,7 +612,7 @@ - + Computes the shared secret

Computes the shared secret from the private key and the other party's public key. @@ -631,8 +631,8 @@ - - + + Generates a public key of type Type

Generates a public key of type Type. @@ -653,7 +653,7 @@ - +

Computes a message digest of type Type from Data.

@@ -663,7 +663,7 @@
- +

Initializes the context for streaming hash operations. Type determines @@ -675,7 +675,7 @@ - +

Updates the digest represented by Context using the given Data. Context @@ -687,7 +687,7 @@ - +

Finalizes the hash operation referenced by Context returned @@ -698,8 +698,8 @@ - - + +

Computes a HMAC of type Type from Data using @@ -709,7 +709,7 @@ - +

Initializes the context for streaming HMAC operations. Type determines @@ -719,7 +719,7 @@ - +

Updates the HMAC represented by Context using the given Data. Context @@ -738,7 +738,7 @@ - +

Finalizes the HMAC operation referenced by Context. The size of the resultant MAC is @@ -747,7 +747,7 @@ - +

Finalizes the HMAC operation referenced by Context. HashLen must be greater than @@ -756,8 +756,8 @@ - - + + Calculates the Cipher-based Message Authentication Code.

Computes a CMAC of type Type from Data using @@ -767,7 +767,7 @@ - + Provides information about the FIPS operating status.

Provides information about the FIPS operating status of @@ -790,7 +790,7 @@ - + Change FIPS mode.

Enables (Enable = true) or disables (Enable = false) FIPS mode. Returns true if @@ -826,7 +826,7 @@ - + Computes the function: N^P mod M

Computes the function N^P mod M.

@@ -834,8 +834,8 @@
- - + +

Returns the initialization vector to be used in the next @@ -847,7 +847,7 @@ - +

Computes a POLY1305 message authentication code (Mac) from Data using @@ -856,7 +856,7 @@ - + Decrypts CipherText using the private Key.

Decrypts the CipherText, encrypted with @@ -870,7 +870,7 @@ - + Encrypts PlainText using the private Key.

Encrypts the PlainText using the PrivateKey @@ -883,7 +883,7 @@ - + Decrypts CipherText using the public Key.

Decrypts the CipherText, encrypted with @@ -897,7 +897,7 @@ - + Encrypts PlainText using the public Key.

Encrypts the PlainText (message digest) using the PublicKey @@ -909,7 +909,7 @@ - + Set the seed for random bytes generation

Set the seed for PRNG to the given binary. This calls the @@ -951,7 +951,7 @@ - + Generate a binary of random bytes

Generates N bytes randomly uniform 0..255, and returns the @@ -964,7 +964,7 @@ - + Strong random number generation plugin state

@@ -992,7 +992,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Strong random number generation plugin state

@@ -1027,7 +1027,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - rand_seed_alg(Alg) -> rand:state() + rand_seed_alg(Alg) -> rand:state() Strong random number generation plugin state Alg = crypto | crypto_cache @@ -1063,7 +1063,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - rand_seed_alg_s(Alg) -> rand:state() + rand_seed_alg_s(Alg) -> rand:state() Strong random number generation plugin state Alg = crypto | crypto_cache @@ -1121,7 +1121,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - +

Initializes the state for use in RC4 stream encryption @@ -1134,7 +1134,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - +

Initializes the state for use in streaming AES encryption using Counter mode (CTR). @@ -1149,7 +1149,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - +

Encrypts PlainText according to the stream cipher Type specified in stream_init/3. @@ -1160,7 +1160,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - +

Decrypts CipherText according to the stream cipher Type specified in stream_init/3. @@ -1171,7 +1171,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Provide a list of available crypto algorithms.

Can be used to determine which crypto algorithms that are supported @@ -1183,7 +1183,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Provide a list of available named elliptic curves.

Can be used to determine which named elliptic curves are supported.

@@ -1191,7 +1191,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- + Get the defining parameters of a elliptic curve.

Return the defining parameters of a elliptic curve.

@@ -1199,8 +1199,8 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- - + + Create digital signature.

Creates a digital signature.

@@ -1214,8 +1214,8 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- - + + Verifies a digital signature.

Verifies a digital signature

@@ -1231,7 +1231,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Fetches a public key from an Engine stored private key.

Fetches the corresponding public key from a private key stored in an Engine. @@ -1241,7 +1241,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Return list of all possible engine methods

@@ -1259,7 +1259,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Dynamical load an encryption engine

@@ -1281,7 +1281,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Dynamical load an encryption engine

@@ -1301,7 +1301,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Dynamical load an encryption engine

@@ -1321,7 +1321,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Get a reference to an already loaded engine

@@ -1341,7 +1341,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Sends ctrl commands to an OpenSSL engine

@@ -1358,7 +1358,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Sends ctrl commands to an OpenSSL engine

@@ -1379,7 +1379,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Add engine to OpenSSL internal list

Add the engine to OpenSSL's internal list.

@@ -1392,7 +1392,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- + Remove engine to OpenSSL internal list

Remove the engine from OpenSSL's internal list.

@@ -1405,7 +1405,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- + Fetch engine ID

Return the ID for the engine, or an empty binary if there is no id set.

@@ -1418,7 +1418,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- + Fetch engine name

Return the name (eg a description) for the engine, or an empty binary if there is no name set.

@@ -1431,7 +1431,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- + List the known engine ids

List the id's of all engines in OpenSSL's internal list.

@@ -1451,7 +1451,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[
- + Ensure encryption engine just loaded once

@@ -1473,7 +1473,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Ensure encryption engine just loaded once

@@ -1496,7 +1496,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Unload an engine loaded with the ensure function

@@ -1519,7 +1519,7 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[ - + Unload an engine loaded with the ensure function

-- cgit v1.2.3 From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- lib/crypto/doc/src/crypto.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 5a2343fb7e..5c1909fc7f 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -23,7 +23,7 @@ crypto - crypto + crypto Crypto Functions

This module provides a set of cryptographic functions. @@ -622,7 +622,7 @@ - + XOR data

Performs bit-wise XOR (exclusive or) on the data supplied.

@@ -805,7 +805,7 @@
- + Provides information about the libraries used by crypto.

Provides the name and version of the libraries used by crypto.

@@ -922,7 +922,7 @@
- rand_uniform(Lo, Hi) -> N + rand_uniform(Lo, Hi) -> N Generate a random number Lo, Hi, N = integer() @@ -935,7 +935,7 @@ - + Equivalent to application:start(crypto).

Equivalent to application:start(crypto).

@@ -943,7 +943,7 @@
- + Equivalent to application:stop(crypto).

Equivalent to application:stop(crypto).

-- cgit v1.2.3