From 99ffb2b2759d7233454374b76d925427132460c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Tue, 8 Dec 2020 00:08:31 +0100 Subject: [PATCH] Simplify description of PSA_ALG_STREAM_CIPHER MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bence Szépkúti --- include/psa/crypto_values.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index a260e4c84..f1b5c53ab 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -936,10 +936,8 @@ /** The stream cipher mode of a stream cipher algorithm. * * The underlying stream cipher is determined by the key type. - * - 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 - * and algorithm id #PSA_ALG_STREAM_CIPHER. + * - To use ChaCha20, use a key type of #PSA_KEY_TYPE_CHACHA20. + * - To use ARC4, use a key type of #PSA_KEY_TYPE_ARC4. */ #define PSA_ALG_STREAM_CIPHER ((psa_algorithm_t)0x04800100)