Changeset 8ee620c in mainline
- Timestamp:
- 2018-08-03T16:56:31Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 158da11
- Parents:
- 02246b8
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-03 16:36:29)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-03 16:56:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/crypto/aes.c
r02246b8 r8ee620c 249 249 for (size_t i = 1; i < ELEMS; i++) { 250 250 memcpy(temp, state[i], i); 251 mem cpy(state[i], state[i] + i, ELEMS - i);251 memmove(state[i], state[i] + i, ELEMS - i); 252 252 memcpy(state[i] + ELEMS - i, temp, i); 253 253 } … … 265 265 for (size_t i = 1; i < ELEMS; i++) { 266 266 memcpy(temp, state[i], ELEMS - i); 267 mem cpy(state[i], state[i] + ELEMS - i, i);267 memmove(state[i], state[i] + ELEMS - i, i); 268 268 memcpy(state[i] + i, temp, ELEMS - i); 269 269 }
Note:
See TracChangeset
for help on using the changeset viewer.