Home
last modified time | relevance | path

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

/linux-6.15/lib/crypto/
H A DMakefile33 libcurve25519-generic-y := curve25519-fiat32.o
34 libcurve25519-generic-$(CONFIG_ARCH_SUPPORTS_INT128) := curve25519-hacl64.o
35 libcurve25519-generic-y += curve25519-generic.o
38 libcurve25519-y += curve25519.o
57 libcurve25519-y += curve25519-selftest.o
H A 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-6.15/arch/powerpc/crypto/
H A DMakefile17 obj-$(CONFIG_CRYPTO_CURVE25519_PPC64) += curve25519-ppc64le.o
28 curve25519-ppc64le-y := curve25519-ppc64le-core.o curve25519-ppc64le_asm.o
/linux-6.15/arch/arm/crypto/
H A DMakefile17 obj-$(CONFIG_CRYPTO_CURVE25519_NEON) += curve25519-neon.o
42 curve25519-neon-y := curve25519-core.o curve25519-glue.o
/linux-6.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c132 struct hpre_curve25519_ctx curve25519; member
149 struct kpp_request *curve25519; member
1236 ctx->curve25519.dma_p); in hpre_ecc_clear_ctx()
1237 ctx->curve25519.p = NULL; in hpre_ecc_clear_ctx()
1706 p = ctx->curve25519.p + sz - len; in hpre_curve25519_fill_curve()
1726 if (!ctx->curve25519.p) { in hpre_curve25519_set_param()
1730 if (!ctx->curve25519.p) in hpre_curve25519_set_param()
1734 ctx->curve25519.g = ctx->curve25519.p + shift + sz; in hpre_curve25519_set_param()
1735 ctx->curve25519.dma_g = ctx->curve25519.dma_p + shift + sz; in hpre_curve25519_set_param()
1804 areq = req->areq.curve25519; in hpre_curve25519_cb()
[all …]
/linux-6.15/include/crypto/
H A Dcurve25519.h34 bool __must_check curve25519(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519() function
/linux-6.15/arch/x86/crypto/
H A DMakefile87 obj-$(CONFIG_CRYPTO_CURVE25519_X86) += curve25519-x86_64.o
/linux-6.15/drivers/net/wireguard/
H A 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-6.15/crypto/
H A DMakefile186 obj-$(CONFIG_CRYPTO_CURVE25519) += curve25519-generic.o