/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/ |
H A D | scalarmult.c | 5 static const unsigned char alicesk[crypto_scalarmult_BYTES] = { 11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = { 17 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { 23 static char hex[crypto_scalarmult_BYTES * 2 + 1]; 29 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 31 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 38 sodium_bin2hex(hex, sizeof hex, alicepk, crypto_scalarmult_BYTES); in main() 42 sodium_bin2hex(hex, sizeof hex, bobpk, crypto_scalarmult_BYTES); in main() 47 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main() 52 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main() [all …]
|
H A D | scalarmult8.c | 6 const char pk_hex[crypto_scalarmult_BYTES * 2 + 1]; 8 const char shared_hex[crypto_scalarmult_BYTES * 2 + 1]; 541 unsigned char pk[crypto_scalarmult_BYTES]; in main() 542 unsigned char shared[crypto_scalarmult_BYTES]; in main() 543 unsigned char shared2[crypto_scalarmult_BYTES]; in main() 550 sodium_hex2bin(pk, crypto_scalarmult_BYTES, test_data[i].pk_hex, in main() 551 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); in main() 552 sodium_hex2bin(shared, crypto_scalarmult_BYTES, test_data[i].shared_hex, in main() 553 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); in main() 554 randombytes_buf(shared2, crypto_scalarmult_BYTES); in main() [all …]
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/ |
H A D | scalarmult.c | 5 static const unsigned char alicesk[crypto_scalarmult_BYTES] = { 11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = { 17 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { 23 static char hex[crypto_scalarmult_BYTES * 2 + 1]; 29 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 31 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 38 sodium_bin2hex(hex, sizeof hex, alicepk, crypto_scalarmult_BYTES); in main() 42 sodium_bin2hex(hex, sizeof hex, bobpk, crypto_scalarmult_BYTES); in main() 47 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main() 52 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main() [all …]
|
H A D | scalarmult8.c | 6 const char pk_hex[crypto_scalarmult_BYTES * 2 + 1]; 8 const char shared_hex[crypto_scalarmult_BYTES * 2 + 1]; 541 unsigned char pk[crypto_scalarmult_BYTES]; in main() 542 unsigned char shared[crypto_scalarmult_BYTES]; in main() 543 unsigned char shared2[crypto_scalarmult_BYTES]; in main() 550 sodium_hex2bin(pk, crypto_scalarmult_BYTES, test_data[i].pk_hex, in main() 551 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); in main() 552 sodium_hex2bin(shared, crypto_scalarmult_BYTES, test_data[i].shared_hex, in main() 553 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); in main() 554 randombytes_buf(shared2, crypto_scalarmult_BYTES); in main() [all …]
|
/dports/security/libsodium/libsodium-1.0.18/test/default/ |
H A D | scalarmult.c | 5 static const unsigned char alicesk[crypto_scalarmult_BYTES] = { 11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = { 17 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { 23 static char hex[crypto_scalarmult_BYTES * 2 + 1]; 29 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 31 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 32 unsigned char *k = (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 38 sodium_bin2hex(hex, sizeof hex, alicepk, crypto_scalarmult_BYTES); in main() 42 sodium_bin2hex(hex, sizeof hex, bobpk, crypto_scalarmult_BYTES); in main() 47 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main() [all …]
|
H A D | scalarmult8.c | 6 const char pk_hex[crypto_scalarmult_BYTES * 2 + 1]; 8 const char shared_hex[crypto_scalarmult_BYTES * 2 + 1]; 541 unsigned char pk[crypto_scalarmult_BYTES]; in main() 542 unsigned char shared[crypto_scalarmult_BYTES]; in main() 543 unsigned char shared2[crypto_scalarmult_BYTES]; in main() 550 sodium_hex2bin(pk, crypto_scalarmult_BYTES, test_data[i].pk_hex, in main() 551 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); in main() 552 sodium_hex2bin(shared, crypto_scalarmult_BYTES, test_data[i].shared_hex, in main() 553 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); in main() 554 randombytes_buf(shared2, crypto_scalarmult_BYTES); in main() [all …]
|
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/test/default/ |
H A D | scalarmult.c | 5 static const unsigned char alicesk[crypto_scalarmult_BYTES] = { 11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = { 17 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { 23 static char hex[crypto_scalarmult_BYTES * 2 + 1]; 29 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 31 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 32 unsigned char *k = (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main() 38 sodium_bin2hex(hex, sizeof hex, alicepk, crypto_scalarmult_BYTES); in main() 42 sodium_bin2hex(hex, sizeof hex, bobpk, crypto_scalarmult_BYTES); in main() 47 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main() [all …]
|
H A D | scalarmult8.c | 6 const char pk_hex[crypto_scalarmult_BYTES * 2 + 1]; 8 const char shared_hex[crypto_scalarmult_BYTES * 2 + 1]; 541 unsigned char pk[crypto_scalarmult_BYTES]; 542 unsigned char shared[crypto_scalarmult_BYTES]; 543 unsigned char shared2[crypto_scalarmult_BYTES]; 550 sodium_hex2bin(pk, crypto_scalarmult_BYTES, test_data[i].pk_hex, 551 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); 552 sodium_hex2bin(shared, crypto_scalarmult_BYTES, test_data[i].shared_hex, 553 crypto_scalarmult_BYTES * 2, NULL, NULL, NULL); 554 randombytes_buf(shared2, crypto_scalarmult_BYTES); [all …]
|
/dports/net/cjdns/cjdns-cjdns-v21.1/node_build/dependencies/cnacl/crypto_scalarmult/ |
H A D | try.c | 16 #define plen crypto_scalarmult_BYTES 17 #define qlen crypto_scalarmult_BYTES 18 #define rlen crypto_scalarmult_BYTES 43 m2 = alignedcalloc(mlen + crypto_scalarmult_BYTES); in allocate() 44 n2 = alignedcalloc(nlen + crypto_scalarmult_BYTES); in allocate() 45 p2 = alignedcalloc(plen + crypto_scalarmult_BYTES); in allocate() 46 q2 = alignedcalloc(qlen + crypto_scalarmult_BYTES); in allocate() 47 r2 = alignedcalloc(rlen + crypto_scalarmult_BYTES); in allocate() 60 char checksum[crypto_scalarmult_BYTES * 2 + 1]; 120 for (i = 0;i < crypto_scalarmult_BYTES;++i) { in checksum_compute()
|
H A D | measure.c | 18 const long long sizes[] = { crypto_scalarmult_BYTES, crypto_scalarmult_SCALARBYTES }; 33 p = alignedcalloc(crypto_scalarmult_BYTES); in allocate() 34 q = alignedcalloc(crypto_scalarmult_BYTES); in allocate()
|
H A D | wrapper-mult.cpp | 7 unsigned char q[crypto_scalarmult_BYTES]; in crypto_scalarmult() 9 if (p.size() != crypto_scalarmult_BYTES) throw "incorrect element length"; in crypto_scalarmult()
|
H A D | wrapper-base.cpp | 7 unsigned char q[crypto_scalarmult_BYTES]; in crypto_scalarmult_base()
|
/dports/security/libsodium/libsodium-1.0.18/src/libsodium/crypto_kx/ |
H A D | crypto_kx.c | 27 COMPILER_ASSERT(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES); in crypto_kx_keypair() 41 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_client_session_keys() 59 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_client_session_keys() 82 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_server_session_keys() 100 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_server_session_keys()
|
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/src/libsodium/crypto_kx/ |
H A D | crypto_kx.c | 27 COMPILER_ASSERT(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES); 41 unsigned char q[crypto_scalarmult_BYTES]; 59 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); 82 unsigned char q[crypto_scalarmult_BYTES]; 100 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES);
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/crypto_kx/ |
H A D | crypto_kx.c | 27 COMPILER_ASSERT(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES); in crypto_kx_keypair() 41 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_client_session_keys() 59 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_client_session_keys() 82 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_server_session_keys() 100 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_server_session_keys()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/crypto_kx/ |
H A D | crypto_kx.c | 27 COMPILER_ASSERT(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES); in crypto_kx_keypair() 41 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_client_session_keys() 59 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_client_session_keys() 82 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_server_session_keys() 100 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_server_session_keys()
|
/dports/security/fizz/fizz-2021.12.27.00/fizz/crypto/exchange/ |
H A D | X25519.cpp | 48 X25519KeyExchange::PubKey().size() == crypto_scalarmult_BYTES, in generateKeyPair() 71 if (keyShare.size() != crypto_scalarmult_BYTES) { in generateSharedSecret() 74 auto key = IOBuf::create(crypto_scalarmult_BYTES); in generateSharedSecret() 75 key->append(crypto_scalarmult_BYTES); in generateSharedSecret()
|
/dports/security/py-pynacl/PyNaCl-1.4.0/src/nacl/bindings/ |
H A D | crypto_scalarmult.py | 25 crypto_scalarmult_BYTES = lib.crypto_scalarmult_bytes() variable 46 q = ffi.new("unsigned char[]", crypto_scalarmult_BYTES) 65 q = ffi.new("unsigned char[]", crypto_scalarmult_BYTES)
|
/dports/security/p5-Crypt-Sodium/Crypt-Sodium-0.11/ |
H A D | Sodium.xs | 224 crypto_scalarmult_BYTES() 226 RETVAL = newSVuv((unsigned int) crypto_scalarmult_BYTES); 274 unsigned char *q = sodium_malloc(crypto_scalarmult_BYTES); 276 RETVAL = newSVpvn((unsigned char *)q, crypto_scalarmult_BYTES); 290 unsigned char *q = sodium_malloc(crypto_scalarmult_BYTES); 292 RETVAL = newSVpvn((unsigned char *)q, crypto_scalarmult_BYTES);
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/crypto_scalarmult/ |
H A D | crypto_scalarmult.c | 26 return crypto_scalarmult_BYTES; in crypto_scalarmult_bytes()
|
/dports/security/libsodium/libsodium-1.0.18/src/libsodium/crypto_scalarmult/ |
H A D | crypto_scalarmult.c | 26 return crypto_scalarmult_BYTES; in crypto_scalarmult_bytes()
|
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/src/libsodium/crypto_scalarmult/ |
H A D | crypto_scalarmult.c | 26 return crypto_scalarmult_BYTES; in crypto_scalarmult_bytes()
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/crypto_scalarmult/ |
H A D | crypto_scalarmult.c | 26 return crypto_scalarmult_BYTES; in crypto_scalarmult_bytes()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/include/sodium/ |
H A D | crypto_scalarmult.h | 13 #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES macro
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/tests/crypto/ |
H A D | crypto_scalarmult.rs | 10 crypto_scalarmult_BYTES as usize in test_crypto_scalarmult_bytes()
|