summaryrefslogtreecommitdiff
path: root/crypto/streebog_generic.c
diff options
context:
space:
mode:
authorJames Morris <james.morris@microsoft.com>2019-03-26 16:28:01 -0700
committerJames Morris <james.morris@microsoft.com>2019-03-26 16:28:01 -0700
commit0d79d47e75b64925d32d790a0907fbbaeb16cf1a (patch)
tree92cc49cb728ae789fcf1306a4a36206cd0f7a098 /crypto/streebog_generic.c
parentaaf6aed3ef1a735e34339a51f26f5f3e5fe9a478 (diff)
parent1d5d6bd2502dff39b91d2280711ecbf86c1287a8 (diff)
downloadlinux-crypto-0d79d47e75b64925d32d790a0907fbbaeb16cf1a.tar.gz
linux-crypto-0d79d47e75b64925d32d790a0907fbbaeb16cf1a.zip
Merge tag 'v5.1-rc2' into next-general
Merge to Linux 5.1-rc2 for subsystems to work with.
Diffstat (limited to '')
-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 03272a22..5a2eafed 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;
}