Home
last modified time | relevance | path

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

/linux/arch/powerpc/crypto/
H A DMakefile20 obj-$(CONFIG_CRYPTO_CURVE25519_PPC64) += curve25519-ppc64le.o
33 curve25519-ppc64le-y := curve25519-ppc64le-core.o curve25519-ppc64le_asm.o
/linux/arch/arm/crypto/
H A DMakefile17 obj-$(CONFIG_CRYPTO_CURVE25519_NEON) += curve25519-neon.o
46 curve25519-neon-y := curve25519-core.o curve25519-glue.o
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c130 struct hpre_curve25519_ctx curve25519; member
145 struct kpp_request *curve25519; member
1228 } else if (!is_ecdh && ctx->curve25519.p) { in hpre_ecc_clear_ctx()
1230 memzero_explicit(ctx->curve25519.p + shift, sz); in hpre_ecc_clear_ctx()
1231 dma_free_coherent(dev, sz << 2, ctx->curve25519.p, in hpre_ecc_clear_ctx()
1232 ctx->curve25519.dma_p); in hpre_ecc_clear_ctx()
1233 ctx->curve25519.p = NULL; in hpre_ecc_clear_ctx()
1699 p = ctx->curve25519.p + sz - len; in hpre_curve25519_fill_curve()
1719 if (!ctx->curve25519.p) { in hpre_curve25519_set_param()
1720 ctx->curve25519.p = dma_alloc_coherent(dev, sz << 2, in hpre_curve25519_set_param()
[all …]
/linux/lib/crypto/
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/include/crypto/
H A Dcurve25519.h34 bool __must_check curve25519(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519() function
/linux/arch/x86/crypto/
H A DMakefile97 obj-$(CONFIG_CRYPTO_CURVE25519_X86) += curve25519-x86_64.o
/linux/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()