M487: Fix typo with DES H/W port

pull/15289/head
Chun-Chieh Li 2022-05-24 16:37:46 +08:00
parent 1ab98dec9a
commit 3adb735d3e
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ static int mbedtls_des_docrypt(uint16_t keyopt, uint8_t key[3][MBEDTLS_DES_KEY_S
* 1. BE for byte sequence in word
* 2. BE for word sequence in double-word
*/
TDES_Open(CRPT
TDES_Open(CRPT,
0, // Channel number (0~4)
enc, // 0: decode, 1: encode
(tdes_opmode & CRPT_TDES_CTL_TMODE_Msk) ? 1 : 0, // 0: DES, 1: TDES