--- zzzz-none-000/linux-4.4.271/crypto/sha512_generic.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/crypto/sha512_generic.c 2023-04-19 10:22:28.000000000 +0000 @@ -78,8 +78,7 @@ W[I & 15] += s1(W[(I-2) & 15]) + W[(I-7) & 15] + s0(W[(I-15) & 15]); } -static void -sha512_transform(u64 *state, const u8 *input) +void sha512_transform(u64 *state, const u8 *input) { u64 a, b, c, d, e, f, g, h, t1, t2; @@ -130,6 +129,7 @@ /* erase our data */ a = b = c = d = e = f = g = h = t1 = t2 = 0; } +EXPORT_SYMBOL(sha512_transform); static void sha512_generic_block_fn(struct sha512_state *sst, u8 const *src, int blocks)