mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(st): update comment on encryption key
On STM32MP2, the encryption key is 32 bytes, the key duplication (done for 16 bytes OTP) is not done. Update the comment to precise that. Change-Id: I6fc4d652fdd462808918e85f6e5bd0d68d10d436 Yann Gautier <yann.gautier@foss.st.com>
This commit is contained in:
parent
76e4fab000
commit
5c506c7375
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ static int derive_key(uint8_t *key, size_t *key_len, size_t len,
|
|||
/*
|
||||
* Not a real derivation yet
|
||||
*
|
||||
* But we expect a 32 bytes key, and OTP is only 16 bytes
|
||||
* We expect a 32 bytes key, if OTP is only 16 bytes
|
||||
* => duplicate.
|
||||
*/
|
||||
for (i = 0U, j = len; j < 32U;
|
||||
|
|
Loading…
Add table
Reference in a new issue