Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: powerpc/poly1305 - Add missing poly1305_emit_arch

Rename poly1305_emit_64 to poly1305_emit_arch to conform with
the expectation of the poly1305 library.

Reported-by: Thorsten Leemhuis <linux@leemhuis.info>
Fixes: 14d31979145d ("crypto: powerpc/poly1305 - Add block-only interface")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+3 -2
+1
arch/powerpc/lib/crypto/poly1305-p10-glue.c
··· 17 17 asmlinkage void poly1305_emit_arch(const struct poly1305_state *state, 18 18 u8 digest[POLY1305_DIGEST_SIZE], 19 19 const u32 nonce[4]); 20 + EXPORT_SYMBOL_GPL(poly1305_emit_arch); 20 21 21 22 static __ro_after_init DEFINE_STATIC_KEY_FALSE(have_p10); 22 23
+2 -2
arch/powerpc/lib/crypto/poly1305-p10le_64.S
··· 1030 1030 # Input: r3 = h, r4 = s, r5 = mac 1031 1031 # mac = h + s 1032 1032 # 1033 - SYM_FUNC_START(poly1305_emit_64) 1033 + SYM_FUNC_START(poly1305_emit_arch) 1034 1034 ld 10, 0(3) 1035 1035 ld 11, 8(3) 1036 1036 ld 12, 16(3) ··· 1060 1060 std 10, 0(5) 1061 1061 std 11, 8(5) 1062 1062 blr 1063 - SYM_FUNC_END(poly1305_emit_64) 1063 + SYM_FUNC_END(poly1305_emit_arch) 1064 1064 1065 1065 SYM_DATA_START_LOCAL(RMASK) 1066 1066 .align 5