From 687cdc9fd97007583343a2fafb80ef0e10922144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Mon, 30 Jun 2025 11:28:55 +0200 Subject: [PATCH] sys/psa_crypto: fix typo in doc Co-Authored-By: Pierre Le Meur --- sys/psa_crypto/doc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/psa_crypto/doc.md b/sys/psa_crypto/doc.md index 2828a802fc..4d4d4c34c6 100644 --- a/sys/psa_crypto/doc.md +++ b/sys/psa_crypto/doc.md @@ -101,7 +101,7 @@ uint8_t PLAINTEXT[] = { ... }; size_t output_buf_size = PSA_CIPHER_ENCRYPT_OUTPUT_SIZE(PSA_KEY_TYPE_AES, PSA_ALG_CBC_NO_PADDING,sizeof(PLAINTEXT)); uint8_t output_buffer[output_buf_size]; -status = psa_cipher_encrypt(key_id, PSA_ALG_CBC_NO_PADDING, PLAINTEXT, sizeof(PLAINTEXT),output_buffer, sizeof(output_buffer), &output_length)); +status = psa_cipher_encrypt(key_id, PSA_ALG_CBC_NO_PADDING, PLAINTEXT, sizeof(PLAINTEXT), output_buffer, sizeof(output_buffer), &output_length); ``` All the supported key types, algorithms and usage flags can be found in the documentation.