Home
last modified time | relevance | path

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

/linux-6.1.9/lib/crypto/
DMakefile25 libcurve25519-generic-y := curve25519-fiat32.o
26 libcurve25519-generic-$(CONFIG_ARCH_SUPPORTS_INT128) := curve25519-hacl64.o
27 libcurve25519-generic-y += curve25519-generic.o
30 libcurve25519-y += curve25519.o
49 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-6.1.9/arch/arm/crypto/
DMakefile17 obj-$(CONFIG_CRYPTO_CURVE25519_NEON) += curve25519-neon.o
46 curve25519-neon-y := curve25519-core.o curve25519-glue.o
/linux-6.1.9/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c127 struct hpre_curve25519_ctx curve25519; member
142 struct kpp_request *curve25519; member
1208 } else if (!is_ecdh && ctx->curve25519.p) { in hpre_ecc_clear_ctx()
1210 memzero_explicit(ctx->curve25519.p + shift, sz); in hpre_ecc_clear_ctx()
1211 dma_free_coherent(dev, sz << 2, ctx->curve25519.p, in hpre_ecc_clear_ctx()
1212 ctx->curve25519.dma_p); in hpre_ecc_clear_ctx()
1213 ctx->curve25519.p = NULL; in hpre_ecc_clear_ctx()
1667 p = ctx->curve25519.p + sz - len; in hpre_curve25519_fill_curve()
1687 if (!ctx->curve25519.p) { in hpre_curve25519_set_param()
1688 ctx->curve25519.p = dma_alloc_coherent(dev, sz << 2, in hpre_curve25519_set_param()
[all …]
/linux-6.1.9/include/crypto/
Dcurve25519.h34 bool __must_check curve25519(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519() function
/linux-6.1.9/arch/x86/crypto/
DMakefile92 obj-$(CONFIG_CRYPTO_CURVE25519_X86) += curve25519-x86_64.o
/linux-6.1.9/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-6.1.9/crypto/
DMakefile187 obj-$(CONFIG_CRYPTO_CURVE25519) += curve25519-generic.o