Home
last modified time | relevance | path

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

12345678910>>...79

/dports/security/olm/olm-3.2.6/lib/curve25519-donna/
H A DMakefile4 targets: curve25519-donna.a curve25519-donna-c64.a
9 …t-curve25519-donna test-curve25519-donna-c64 speed-curve25519-donna speed-curve25519-donna-c64 tes…
11 curve25519-donna.a: curve25519-donna.o
12 ar -rc curve25519-donna.a curve25519-donna.o
15 curve25519-donna.o: curve25519-donna.c
18 curve25519-donna-c64.a: curve25519-donna-c64.o
31 test-curve25519-donna: test-curve25519.c curve25519-donna.a
34 test-curve25519-donna-c64: test-curve25519.c curve25519-donna-c64.a
37 speed-curve25519-donna: speed-curve25519.c curve25519-donna.a
40 speed-curve25519-donna-c64: speed-curve25519.c curve25519-donna-c64.a
[all …]
H A D.gitignore1 /curve25519-donna-c64.a
2 /curve25519-donna.a
3 /test-curve25519-donna
4 /speed-curve25519-donna
5 /test-curve25519-donna-c64
6 /speed-curve25519-donna-c64
7 /test-sc-curve25519-donna-c64
H A DREADME1 See http://code.google.com/p/curve25519-donna/ for details.
5 If you run `make`, two .a archives will be built, similar to djb's curve25519
8 The C implementation is contained within curve25519-donna.c. It has no external
12 The x86-64 bit implementation is contained within curve25519-donna-x86-64.c and
13 curve25519-donna-x86-64.s. Build like this:
15 % cpp curve25519-donna-x86-64.s > curve25519-donna-x86-64.s.pp
16 % as -o curve25519-donna-x86-64.s.o curve25519-donna-x86-64.s.pp
17 % gcc -O2 -c curve25519-donna-x86-64.c
/dports/security/olm/olm-3.2.6/lib/curve25519-donna/contrib/
H A Dmake-snippets5 targets: curve25519-donna.a curve25519-donna-c64.a
13 curve25519-donna.a: curve25519-donna.o
14 ar -rc curve25519-donna.a curve25519-donna.o
39 curve25519-donna.o: curve25519-donna.c
42 curve25519-donna-c64.a: curve25519-donna-c64.o
55 test-curve25519-donna: test-curve25519.c curve25519-donna.a
58 test-curve25519-donna-c64: test-curve25519.c curve25519-donna-c64.a
61 speed-curve25519-donna: speed-curve25519.c curve25519-donna.a
64 speed-curve25519-donna-c64: speed-curve25519.c curve25519-donna-c64.a
67 test-sc-curve25519-donna-c64: test-sc-curve25519.c curve25519-donna-c64.a
[all …]
/dports/databases/pgloader3/ironclad-v0.54/testing/test-vectors/
H A Dcurve25519.testvec1 ;;;; curve25519 test vectors
3 ;;; Test vector from https://tools.ietf.org/html/draft-josefsson-tls-curve25519-06
5 (:curve25519-dh-test #h"70076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c6a" #h"8520f0…
10 (:curve25519-dh-test #h"4852834d9d6b77dadeabaaf2e11dca66d19fe74993a7bec36c6e16a0983feaba" #h"9c647d…
11 (:curve25519-dh-test #h"1064a67da639a8f6df4fbea2d63358b65bca80a770712e14ea8a72df5a3313ae" #h"9c647d…
12 (:curve25519-dh-test #h"588c061a50804ac488ad774ac716c3f5ba714b2712e048491379a500211998a8" #h"63aa40…
13 (:curve25519-dh-test #h"b05bfd32e55325d9fd648cb302848039000b390e44d521e58aab3b29a6960ba8" #h"0f83c3…
14 (:curve25519-dh-test #h"70e34bcbe1f47fbc0fddfd7c1e1aa53d57bfe0f66d243067b424bb6210bed19c" #h"0b8211…
15 (:curve25519-dh-test #h"68c1f3a653a4cdb1d37bba94738f8b957a57beb24d646e994dc29a276aad458d" #h"343ac2…
16 (:curve25519-dh-test #h"d877b26d06dff9d9f7fd4c5b3769f8cdd5b30516a5ab806be324ff3eb69ea0b2" #h"fa695f…
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/x25519-dalek-1.2.0/
H A DCargo.toml.orig-cargo21 keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"]
22 description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dal…
37 curve25519-dalek = { version = "3", default-features = false }
40 # importing the serde dependency and enabling the curve25519-dalek/serde feature
54 serde = ["our_serde", "curve25519-dalek/serde"]
55 std = ["curve25519-dalek/std"]
56 nightly = ["curve25519-dalek/nightly"]
58 u64_backend = ["curve25519-dalek/u64_backend"]
59 u32_backend = ["curve25519-dalek/u32_backend"]
60 fiat_u64_backend = ["curve25519-dalek/fiat_u64_backend"]
[all …]
H A DCargo.toml19 description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dal…
23 keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"]
33 [dependencies.curve25519-dalek]
60 fiat_u32_backend = ["curve25519-dalek/fiat_u32_backend"]
61 fiat_u64_backend = ["curve25519-dalek/fiat_u64_backend"]
62 nightly = ["curve25519-dalek/nightly"]
64 serde = ["our_serde", "curve25519-dalek/serde"]
65 std = ["curve25519-dalek/std"]
66 u32_backend = ["curve25519-dalek/u32_backend"]
67 u64_backend = ["curve25519-dalek/u64_backend"]
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/filippo.io/age/
H A Dx25519.go39 if len(publicKey) != curve25519.PointSize {
43 theirPublicKey: make([]byte, curve25519.PointSize),
67 ephemeral := make([]byte, curve25519.ScalarSize)
71 ourPublicKey, err := curve25519.X25519(ephemeral, curve25519.Basepoint)
76 sharedSecret, err := curve25519.X25519(ephemeral, r.theirPublicKey)
120 if len(secretKey) != curve25519.ScalarSize {
124 secretKey: make([]byte, curve25519.ScalarSize),
127 i.ourPublicKey, _ = curve25519.X25519(i.secretKey, curve25519.Basepoint)
133 secretKey := make([]byte, curve25519.ScalarSize)
172 if len(publicKey) != curve25519.PointSize {
[all …]
/dports/security/gopass/gopass-1.13.0/vendor/filippo.io/age/
H A Dx25519.go39 if len(publicKey) != curve25519.PointSize {
43 theirPublicKey: make([]byte, curve25519.PointSize),
67 ephemeral := make([]byte, curve25519.ScalarSize)
71 ourPublicKey, err := curve25519.X25519(ephemeral, curve25519.Basepoint)
76 sharedSecret, err := curve25519.X25519(ephemeral, r.theirPublicKey)
120 if len(secretKey) != curve25519.ScalarSize {
124 secretKey: make([]byte, curve25519.ScalarSize),
127 i.ourPublicKey, _ = curve25519.X25519(i.secretKey, curve25519.Basepoint)
133 secretKey := make([]byte, curve25519.ScalarSize)
172 if len(publicKey) != curve25519.PointSize {
[all …]
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/filippo.io/age/
H A Dx25519.go39 if len(publicKey) != curve25519.PointSize {
43 theirPublicKey: make([]byte, curve25519.PointSize),
67 ephemeral := make([]byte, curve25519.ScalarSize)
71 ourPublicKey, err := curve25519.X25519(ephemeral, curve25519.Basepoint)
76 sharedSecret, err := curve25519.X25519(ephemeral, r.theirPublicKey)
120 if len(secretKey) != curve25519.ScalarSize {
124 secretKey: make([]byte, curve25519.ScalarSize),
127 i.ourPublicKey, _ = curve25519.X25519(i.secretKey, curve25519.Basepoint)
133 secretKey := make([]byte, curve25519.ScalarSize)
172 if len(publicKey) != curve25519.PointSize {
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/crates/tor-proto/src/crypto/handshake/
H A Dhs_ntor.rs84 pub B: curve25519::PublicKey,
111 x: curve25519::StaticSecret,
113 X: curve25519::PublicKey,
239 pub B: curve25519::PublicKey,
355 bx: &curve25519::SharedSecret, in get_introduce1_key_material()
357 X: &curve25519::PublicKey, in get_introduce1_key_material()
358 B: &curve25519::PublicKey, in get_introduce1_key_material()
407 xy: &curve25519::SharedSecret, in get_rendezvous1_key_material()
410 B: &curve25519::PublicKey, in get_rendezvous1_key_material()
411 X: &curve25519::PublicKey, in get_rendezvous1_key_material()
[all …]
H A Dntor_v3.rs174 xb: &curve25519::SharedSecret, in kdf_msgkdf()
176 client_public: &curve25519::PublicKey, in kdf_msgkdf()
225 pk: curve25519::PublicKey,
233 sk: curve25519::StaticSecret,
254 my_sk: curve25519::StaticSecret, // x
256 my_public: curve25519::PublicKey, // X
259 shared_secret: curve25519::SharedSecret, // Bx
292 my_sk: curve25519::StaticSecret, in client_handshake_ntor_v3_no_keygen()
362 secret_key_y: &curve25519::StaticSecret, in server_handshake_ntor_v3_no_keygen()
569 let B: curve25519::PublicKey = (&b).into(); in test_ntor3_roundtrip()
[all …]
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/x25519-dalek-1.1.1/
H A DCargo.toml.orig-cargo20 keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"]
21 description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dal…
32 #rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-da…
36 curve25519-dalek = { version = "3", default-features = false }
39 # importing the serde dependency and enabling the curve25519-dalek/serde feature
53 serde = ["our_serde", "curve25519-dalek/serde"]
54 std = ["curve25519-dalek/std"]
55 nightly = ["curve25519-dalek/nightly"]
56 u64_backend = ["curve25519-dalek/u64_backend"]
57 u32_backend = ["curve25519-dalek/u32_backend"]
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/x25519-dalek-1.1.0/
H A DCargo.toml.orig-cargo20 keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"]
21 description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dal…
32 #rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-da…
36 curve25519-dalek = { version = "3", default-features = false }
39 # importing the serde dependency and enabling the curve25519-dalek/serde feature
53 serde = ["our_serde", "curve25519-dalek/serde"]
54 std = ["curve25519-dalek/std"]
55 nightly = ["curve25519-dalek/nightly"]
56 u64_backend = ["curve25519-dalek/u64_backend"]
57 u32_backend = ["curve25519-dalek/u32_backend"]
/dports/net-im/zkgroup/poksho-8bb8c61c18e7bbe93c094ed91be52b9f96c1c5cd/
H A DCargo.toml19 [dependencies.curve25519-dalek]
22 git = "https://github.com/signalapp/curve25519-dalek.git"
27 u32_backend = ["curve25519-dalek/u32_backend"]
28 u64_backend = ["curve25519-dalek/u64_backend"]
29 simd_backend = ["curve25519-dalek/simd_backend"]
30 nightly = ["curve25519-dalek/nightly"]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/schnorrkel-0.10.1/
H A DCargo.toml.orig-cargo9 keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
31 [dependencies.curve25519-dalek]
32 package = "curve25519-dalek-ng"
33 # git = "https://github.com/dalek-cryptography/curve25519-dalek"
102 nightly = ["curve25519-dalek/nightly", "rand/nightly"] # "zeroize/nightly"
103 alloc = ["curve25519-dalek/alloc", "rand_core/alloc"]
104 std = ["getrandom", "curve25519-dalek/std"] # "failure/std"
106 u64_backend = ["curve25519-dalek/u64_backend"]
107 u32_backend = ["curve25519-dalek/u32_backend"]
108 avx2_backend = ["curve25519-dalek/avx2_backend"]
H A DCargo.toml22 keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
43 [dependencies.curve25519-dalek]
46 package = "curve25519-dalek-ng"
106 alloc = ["curve25519-dalek/alloc", "rand_core/alloc"]
108 avx2_backend = ["curve25519-dalek/avx2_backend"]
111 nightly = ["curve25519-dalek/nightly", "rand/nightly"]
113 std = ["getrandom", "curve25519-dalek/std"]
114 u32_backend = ["curve25519-dalek/u32_backend"]
115 u64_backend = ["curve25519-dalek/u64_backend"]
/dports/security/libsodium/libsodium-1.0.18/src/libsodium/
H A DMakefile.am58 crypto_scalarmult/curve25519/ref10/x25519_ref10.c \
59 crypto_scalarmult/curve25519/ref10/x25519_ref10.h \
126 crypto_scalarmult/curve25519/sandy2x/consts.S \
127 crypto_scalarmult/curve25519/sandy2x/fe51_mul.S \
129 crypto_scalarmult/curve25519/sandy2x/fe51_pack.S \
130 crypto_scalarmult/curve25519/sandy2x/ladder.S \
131 crypto_scalarmult/curve25519/sandy2x/ladder_base.S
138 crypto_scalarmult/curve25519/sandy2x/fe.h \
139 crypto_scalarmult/curve25519/sandy2x/fe51.h \
143 crypto_scalarmult/curve25519/sandy2x/ladder.h \
[all …]
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/src/libsodium/
H A DMakefile.am58 crypto_scalarmult/curve25519/ref10/x25519_ref10.c \
59 crypto_scalarmult/curve25519/ref10/x25519_ref10.h \
126 crypto_scalarmult/curve25519/sandy2x/consts.S \
127 crypto_scalarmult/curve25519/sandy2x/fe51_mul.S \
129 crypto_scalarmult/curve25519/sandy2x/fe51_pack.S \
130 crypto_scalarmult/curve25519/sandy2x/ladder.S \
131 crypto_scalarmult/curve25519/sandy2x/ladder_base.S
138 crypto_scalarmult/curve25519/sandy2x/fe.h \
139 crypto_scalarmult/curve25519/sandy2x/fe51.h \
143 crypto_scalarmult/curve25519/sandy2x/ladder.h \
[all …]
/dports/net-im/libsignal-client/libsignal-client-0.9.6/rust/protocol/src/
H A Dcurve.rs6 pub(crate) mod curve25519; module
50 DjbPublicKey([u8; curve25519::PUBLIC_KEY_LENGTH]),
71 if value.len() < curve25519::PUBLIC_KEY_LENGTH + 1 { in deserialize()
74 let mut key = [0u8; curve25519::PUBLIC_KEY_LENGTH]; in deserialize()
113 if signature.len() != curve25519::SIGNATURE_LENGTH { in verify_signature()
116 Ok(curve25519::PrivateKey::verify_signature( in verify_signature()
200 DjbPrivateKey([u8; curve25519::PRIVATE_KEY_LENGTH]),
210 if value.len() != curve25519::PRIVATE_KEY_LENGTH { in deserialize()
213 let mut key = [0u8; curve25519::PRIVATE_KEY_LENGTH]; in deserialize()
254 let private_key = curve25519::PrivateKey::from(k); in calculate_signature()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/ed25519-dalek-1.0.1/
H A DCargo.toml.orig-cargo11 keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
21 # rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-d…
25 curve25519-dalek = { version = "3", default-features = false }
53 std = ["curve25519-dalek/std", "ed25519/std", "serde_crate/std", "sha2/std", "rand/std"]
54 alloc = ["curve25519-dalek/alloc", "rand/alloc", "zeroize/alloc"]
55 nightly = ["curve25519-dalek/nightly"]
63 u64_backend = ["curve25519-dalek/u64_backend"]
64 u32_backend = ["curve25519-dalek/u32_backend"]
65 simd_backend = ["curve25519-dalek/simd_backend"]
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/ed25519-dalek-1.0.0/
H A DCargo.toml.orig-cargo11 keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
21 # rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-d…
25 curve25519-dalek = { version = "3", default-features = false }
51 std = ["curve25519-dalek/std", "ed25519/std", "serde_crate/std", "sha2/std", "rand/std"]
52 alloc = ["curve25519-dalek/alloc", "rand/alloc", "zeroize/alloc"]
53 nightly = ["curve25519-dalek/nightly", "rand/nightly"]
61 u64_backend = ["curve25519-dalek/u64_backend"]
62 u32_backend = ["curve25519-dalek/u32_backend"]
63 simd_backend = ["curve25519-dalek/simd_backend"]
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/ed25519-dalek-1.0.1/
H A DCargo.toml.orig-cargo11 keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
21 # rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-d…
25 curve25519-dalek = { version = "3", default-features = false }
53 std = ["curve25519-dalek/std", "ed25519/std", "serde_crate/std", "sha2/std", "rand/std"]
54 alloc = ["curve25519-dalek/alloc", "rand/alloc", "zeroize/alloc"]
55 nightly = ["curve25519-dalek/nightly"]
63 u64_backend = ["curve25519-dalek/u64_backend"]
64 u32_backend = ["curve25519-dalek/u32_backend"]
65 simd_backend = ["curve25519-dalek/simd_backend"]
/dports/security/py-sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/openpgp/src/crypto/backend/nettle/
H A Decdh.rs3 use nettle::{curve25519, ecc, ecdh, random::Yarrow};
32 curve25519::private_key(&mut rng).into(); in encrypt()
35 let mut VB = [0; curve25519::CURVE25519_SIZE]; in encrypt()
36 curve25519::mul_g(&mut VB, &v) in encrypt()
42 vec![0; curve25519::CURVE25519_SIZE].into(); in encrypt()
43 curve25519::mul(&mut S, &v, R) in encrypt()
146 let missing = curve25519::CURVE25519_SIZE in decrypt()
148 let mut r = [0u8; curve25519::CURVE25519_SIZE]; in decrypt()
156 vec![0; curve25519::CURVE25519_SIZE].into(); in decrypt()
157 let res = curve25519::mul(&mut S, &r[..], V); in decrypt()
[all …]
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/openpgp/src/crypto/backend/nettle/
H A Decdh.rs3 use nettle::{curve25519, ecc, ecdh, random::Yarrow};
32 curve25519::private_key(&mut rng).into(); in encrypt()
35 let mut VB = [0; curve25519::CURVE25519_SIZE]; in encrypt()
36 curve25519::mul_g(&mut VB, &v) in encrypt()
42 vec![0; curve25519::CURVE25519_SIZE].into(); in encrypt()
43 curve25519::mul(&mut S, &v, R) in encrypt()
146 let missing = curve25519::CURVE25519_SIZE in decrypt()
148 let mut r = [0u8; curve25519::CURVE25519_SIZE]; in decrypt()
156 vec![0; curve25519::CURVE25519_SIZE].into(); in decrypt()
157 let res = curve25519::mul(&mut S, &r[..], V); in decrypt()
[all …]

12345678910>>...79