/* Written in the D programming language. For git maintenance (ensure at least one congruent line with originating C header): #define crypto_scalarmult_ristretto255_H */ module deimos.sodium.crypto_scalarmult_ristretto255; version(SODIUM_LIBRARY_MINIMAL) {} else { extern(C) @nogc nothrow /*pure*/ : enum crypto_scalarmult_ristretto255_BYTES = 32U; size_t crypto_scalarmult_ristretto255_bytes() @trusted; enum crypto_scalarmult_ristretto255_SCALARBYTES = 32U; size_t crypto_scalarmult_ristretto255_scalarbytes() @trusted; /* * NOTE: Do not use the result of this function directly for key exchange. * * Hash the result with the public keys in order to compute a shared * secret key: H(q || client_pk || server_pk) * * Or unless this is not an option, use the crypto_kx() API instead. */ int crypto_scalarmult_ristretto255(ubyte* q, const(ubyte)* n, const(ubyte)* p); // __attribute__ ((warn_unused_result)) __attribute__ ((nonnull)); int crypto_scalarmult_ristretto255_base(ubyte* q, const(ubyte)* n); // __attribute__ ((nonnull)); }