diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-10-02 08:46:40 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-10-09 13:34:28 -0400 |
commit | 6bcacf7d19b1dc7fcd99f55491e93514f1f19279 (patch) | |
tree | 6e7a14b3da4433ea6b1bada424f86938b6a928d0 /src/sha1.c | |
parent | 62de31b4feb5eacc4139f4d9fc28ae102921b4c7 (diff) | |
download | seabios-6bcacf7d19b1dc7fcd99f55491e93514f1f19279.tar.gz |
Fix typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sha1.c')
-rw-r--r-- | src/sha1.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ sha1_block(u32 *w, sha1_ctx *ctx) static const u32 sha_ko[4] = { 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6 }; - /* change endianess of given data */ + /* change endianness of given data */ for (i = 0; i < 16; i++) w[i] = be32_to_cpu(w[i]); @@ -120,7 +120,7 @@ sha1_do(sha1_ctx *ctx, const u8 *data32, u32 length) sha1_block(w, ctx); - /* need to switch result's endianess */ + /* need to switch result's endianness */ for (num = 0; num < 5; num++) ctx->h[num] = cpu_to_be32(ctx->h[num]); } |