Home
last modified time | relevance | path

Searched refs:curve25519 (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/lib/crypto/
DMakefile22 libcurve25519-generic-y := curve25519-fiat32.o
23 libcurve25519-generic-$(CONFIG_ARCH_SUPPORTS_INT128) := curve25519-hacl64.o
24 libcurve25519-generic-y += curve25519-generic.o
27 libcurve25519-y += curve25519.o
43 libcurve25519-y += curve25519-selftest.o
Dcurve25519-selftest.c1293 ret = curve25519(out, curve25519_test_vectors[i].private, in curve25519_selftest()
1306 ret2 = curve25519(out2, in, (u8[CURVE25519_KEY_SIZE]){ 9 }); in curve25519_selftest()
/linux-5.19.10/arch/arm/crypto/
DMakefile17 obj-$(CONFIG_CRYPTO_CURVE25519_NEON) += curve25519-neon.o
46 curve25519-neon-y := curve25519-core.o curve25519-glue.o
/linux-5.19.10/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c121 struct hpre_curve25519_ctx curve25519; member
136 struct kpp_request *curve25519; member
1202 } else if (!is_ecdh && ctx->curve25519.p) { in hpre_ecc_clear_ctx()
1204 memzero_explicit(ctx->curve25519.p + shift, sz); in hpre_ecc_clear_ctx()
1205 dma_free_coherent(dev, sz << 2, ctx->curve25519.p, in hpre_ecc_clear_ctx()
1206 ctx->curve25519.dma_p); in hpre_ecc_clear_ctx()
1207 ctx->curve25519.p = NULL; in hpre_ecc_clear_ctx()
1661 p = ctx->curve25519.p + sz - len; in hpre_curve25519_fill_curve()
1681 if (!ctx->curve25519.p) { in hpre_curve25519_set_param()
1682 ctx->curve25519.p = dma_alloc_coherent(dev, sz << 2, in hpre_curve25519_set_param()
[all …]
/linux-5.19.10/include/crypto/
Dcurve25519.h34 bool __must_check curve25519(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519() function
/linux-5.19.10/arch/x86/crypto/
DMakefile89 obj-$(CONFIG_CRYPTO_CURVE25519_X86) += curve25519-x86_64.o
/linux-5.19.10/drivers/net/wireguard/
Dnoise.c51 !curve25519(peer->handshake.precomputed_static_static, in wg_noise_precompute_static_static()
411 if (unlikely(!curve25519(dh_calculation, private, public))) in mix_dh()
/linux-5.19.10/crypto/
DMakefile182 obj-$(CONFIG_CRYPTO_CURVE25519) += curve25519-generic.o