Skip to content

Commit

Permalink
M487: Fix typo with DES H/W port
Browse files Browse the repository at this point in the history
  • Loading branch information
ccli8 committed May 24, 2022
1 parent 1ab98de commit 3adb735
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3adb735

Please sign in to comment.