Skip to content

Commit f791ede

Browse files
committed
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu: "Fix another build problem for Wireguard without Crypto" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: arm/curve25519 - add arch-specific key generation function
2 parents 103a022 + 84faa30 commit f791ede

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm/crypto/curve25519-glue.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ void curve25519_arch(u8 out[CURVE25519_KEY_SIZE],
3838
}
3939
EXPORT_SYMBOL(curve25519_arch);
4040

41+
void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE],
42+
const u8 secret[CURVE25519_KEY_SIZE])
43+
{
44+
return curve25519_arch(pub, secret, curve25519_base_point);
45+
}
46+
EXPORT_SYMBOL(curve25519_base_arch);
47+
4148
static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf,
4249
unsigned int len)
4350
{

0 commit comments

Comments
 (0)