summaryrefslogtreecommitdiffstats
path: root/crypto/streebog_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/streebog_generic.c')
-rw-r--r--crypto/streebog_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/streebog_generic.c b/crypto/streebog_generic.c
index 03272a22afce..5a2eafed9c29 100644
--- a/crypto/streebog_generic.c
+++ b/crypto/streebog_generic.c
@@ -960,7 +960,7 @@ static int streebog_init(struct shash_desc *desc)
memset(ctx, 0, sizeof(struct streebog_state));
for (i = 0; i < 8; i++) {
if (digest_size == STREEBOG256_DIGEST_SIZE)
- ctx->h.qword[i] = 0x0101010101010101ULL;
+ ctx->h.qword[i] = cpu_to_le64(0x0101010101010101ULL);
}
return 0;
}