- Timestamp:
- Feb 7, 2019, 8:36:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/wolfssl-3.12.2/wolfcrypt/src/camellia.c
r352 r372 1599 1599 int wc_CamelliaCbcEncrypt(Camellia* cam, byte* out, const byte* in, word32 sz) 1600 1600 { 1601 word32 blocks; 1601 1602 if (cam == NULL || out == NULL || in == NULL) { 1602 1603 return BAD_FUNC_ARG; 1603 1604 } 1604 word32blocks = sz / CAMELLIA_BLOCK_SIZE;1605 blocks = sz / CAMELLIA_BLOCK_SIZE; 1605 1606 1606 1607 while (blocks--) { … … 1620 1621 int wc_CamelliaCbcDecrypt(Camellia* cam, byte* out, const byte* in, word32 sz) 1621 1622 { 1623 word32 blocks; 1622 1624 if (cam == NULL || out == NULL || in == NULL) { 1623 1625 return BAD_FUNC_ARG; 1624 1626 } 1625 word32blocks = sz / CAMELLIA_BLOCK_SIZE;1627 blocks = sz / CAMELLIA_BLOCK_SIZE; 1626 1628 1627 1629 while (blocks--) {
Note:
See TracChangeset
for help on using the changeset viewer.