Remove additional space chars from SHA256 module

pull/1852/head
Gabriele Gristina 5 years ago
parent 9f6a27e8b6
commit 0b1046d275

@ -108,14 +108,14 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
u8 *out_buf = (u8 *) line_buf;
u32_to_hex (tmp[ 0], out_buf + 0);
u32_to_hex (tmp[ 1], out_buf + 8);
u32_to_hex (tmp[ 2], out_buf + 16);
u32_to_hex (tmp[ 3], out_buf + 24);
u32_to_hex (tmp[ 4], out_buf + 32);
u32_to_hex (tmp[ 5], out_buf + 40);
u32_to_hex (tmp[ 6], out_buf + 48);
u32_to_hex (tmp[ 7], out_buf + 56);
u32_to_hex (tmp[ 0], out_buf + 0);
u32_to_hex (tmp[ 1], out_buf + 8);
u32_to_hex (tmp[ 2], out_buf + 16);
u32_to_hex (tmp[ 3], out_buf + 24);
u32_to_hex (tmp[ 4], out_buf + 32);
u32_to_hex (tmp[ 5], out_buf + 40);
u32_to_hex (tmp[ 6], out_buf + 48);
u32_to_hex (tmp[ 7], out_buf + 56);
const int out_len = 64;

Loading…
Cancel
Save