mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 01:23:49 +01:00
Merge pull request #21567 from mguetschow/psa-doc-typo
sys/psa_crypto: fix typo in doc
This commit is contained in:
commit
8e7784fb8f
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user