mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-07-16 17:17:43 +00:00
Simplify description of PSA_ALG_STREAM_CIPHER
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
parent
cbe395332c
commit
99ffb2b275
|
@ -936,10 +936,8 @@
|
||||||
/** The stream cipher mode of a stream cipher algorithm.
|
/** The stream cipher mode of a stream cipher algorithm.
|
||||||
*
|
*
|
||||||
* The underlying stream cipher is determined by the key type.
|
* The underlying stream cipher is determined by the key type.
|
||||||
* - To use ChaCha20, use a key type of #PSA_KEY_TYPE_CHACHA20
|
* - To use ChaCha20, use a key type of #PSA_KEY_TYPE_CHACHA20.
|
||||||
* and algorithm id #PSA_ALG_STREAM_CIPHER.
|
* - To use ARC4, use a key type of #PSA_KEY_TYPE_ARC4.
|
||||||
* - To use ARC4, use a key type of #PSA_KEY_TYPE_ARC4
|
|
||||||
* and algorithm id #PSA_ALG_STREAM_CIPHER.
|
|
||||||
*/
|
*/
|
||||||
#define PSA_ALG_STREAM_CIPHER ((psa_algorithm_t)0x04800100)
|
#define PSA_ALG_STREAM_CIPHER ((psa_algorithm_t)0x04800100)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue