summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-12-12 09:54:44 +0000
committertb <>2024-12-12 09:54:44 +0000
commit54217ad59c104792c80ade741f539d2f2e1c1a54 (patch)
tree682ba0775e24c6b8b1c685b5310de306c66e1547 /src
parent337ea4f299760a1468c6fd78da569f846f870a91 (diff)
downloadopenbsd-54217ad59c104792c80ade741f539d2f2e1c1a54.tar.gz
openbsd-54217ad59c104792c80ade741f539d2f2e1c1a54.tar.bz2
openbsd-54217ad59c104792c80ade741f539d2f2e1c1a54.zip
sm3: fix ugly whitespace
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/sm3/sm3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sm3/sm3.c b/src/lib/libcrypto/sm3/sm3.c
index b10485dfe3..4da85244ba 100644
--- a/src/lib/libcrypto/sm3/sm3.c
+++ b/src/lib/libcrypto/sm3/sm3.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sm3.c,v 1.17 2024/03/28 12:09:09 jsing Exp $ */ 1/* $OpenBSD: sm3.c,v 1.18 2024/12/12 09:54:44 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018, Ribose Inc 3 * Copyright (c) 2018, Ribose Inc
4 * 4 *
@@ -77,10 +77,10 @@ sm3_block_data_order(SM3_CTX *ctx, const void *_in, size_t num)
77 G = ctx->G; 77 G = ctx->G;
78 H = ctx->H; 78 H = ctx->H;
79 79
80 /* 80 /*
81 * We have to load all message bytes immediately since SM3 reads 81 * We have to load all message bytes immediately since SM3 reads
82 * them slightly out of order. 82 * them slightly out of order.
83 */ 83 */
84 if ((uintptr_t)in % 4 == 0) { 84 if ((uintptr_t)in % 4 == 0) {
85 /* Input is 32 bit aligned. */ 85 /* Input is 32 bit aligned. */
86 in32 = (const SM3_WORD *)in; 86 in32 = (const SM3_WORD *)in;