mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 18:43:38 -04:00
crypto_values.h: fix description
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
398c503f6f
commit
ebf6281ce6
@ -1778,7 +1778,6 @@
|
|||||||
* "extract" step.
|
* "extract" step.
|
||||||
* You must pass #PSA_KEY_DERIVATION_INPUT_SALT
|
* You must pass #PSA_KEY_DERIVATION_INPUT_SALT
|
||||||
* before #PSA_KEY_DERIVATION_INPUT_SECRET.
|
* before #PSA_KEY_DERIVATION_INPUT_SECRET.
|
||||||
* starting to generate output.
|
|
||||||
*
|
*
|
||||||
* \warning HKDF-Extract is not meant to be used on its own. PSA_ALG_HKDF
|
* \warning HKDF-Extract is not meant to be used on its own. PSA_ALG_HKDF
|
||||||
* should be used instead if possible. PSA_ALG_HKDF_EXTRACT is provided
|
* should be used instead if possible. PSA_ALG_HKDF_EXTRACT is provided
|
||||||
@ -1839,7 +1838,7 @@
|
|||||||
*/
|
*/
|
||||||
#define PSA_ALG_HKDF_EXPAND(hash_alg) \
|
#define PSA_ALG_HKDF_EXPAND(hash_alg) \
|
||||||
(PSA_ALG_HKDF_EXPAND_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
|
(PSA_ALG_HKDF_EXPAND_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
|
||||||
/** Whether the specified algorithm is an HKDF-Extract algorithm.
|
/** Whether the specified algorithm is an HKDF-Expand algorithm.
|
||||||
*
|
*
|
||||||
* HKDF-Expand is a family of key derivation algorithms that are based
|
* HKDF-Expand is a family of key derivation algorithms that are based
|
||||||
* on a hash function and the HMAC construction.
|
* on a hash function and the HMAC construction.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user