Searched refs:curve25519_pk (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/sys/external/isc/libsodium/dist/test/default/ |
H A D | ed25519_convert.c | 16 unsigned char curve25519_pk[crypto_scalarmult_curve25519_BYTES]; local 32 if (crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk) != 0) { 36 sodium_bin2hex(curve25519_pk_hex, sizeof curve25519_pk_hex, curve25519_pk, 37 sizeof curve25519_pk); 46 if (crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk) != 52 if (memcmp(curve25519_pk, curve25519_pk2, sizeof curve25519_pk) != 0) { 61 assert(crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk) == -1); 66 assert(crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk) == -1); 71 assert(crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_p [all...] |
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_sign/ed25519/ref10/ |
H A D | keypair.c | 50 crypto_sign_ed25519_pk_to_curve25519(unsigned char *curve25519_pk, argument 68 fe25519_tobytes(curve25519_pk, x);
|
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/ |
H A D | crypto_sign_ed25519.h | 75 int crypto_sign_ed25519_pk_to_curve25519(unsigned char *curve25519_pk,
|
Completed in 136 milliseconds