Skip to content

Commit

Permalink
Add clang-format in librz/crypto/p/crypto_sm4_ecb.c
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSh4dy committed Nov 19, 2023
1 parent 3ef511e commit f9e1679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/crypto/p/crypto_sm4_ecb.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static bool update(RzCrypto *cry, const ut8 *buf, int len) {
sm4_ecb_encrypt(state->round_keys, len, padded_input, output);

if (cry->dir == RZ_CRYPTO_DIR_DECRYPT) {
while (len>1 && output[len - 1] == 0x0) {
while (len > 1 && output[len - 1] == 0x0) {
len--;
}
}
Expand Down

0 comments on commit f9e1679

Please sign in to comment.