| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
curve25519.h
Go to the documentation of this file.
1
13#ifndef __CURVE25519_H__
14#define __CURVE25519_H__
15
16#include <wireshark.h>
17
33WS_DLL_PUBLIC
34 int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n,
35 const unsigned char *p);
36
48WS_DLL_PUBLIC
49 int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n);
50
51#endif /* __CURVE25519_H__ */
crypto_scalarmult_curve25519_base
WS_DLL_PUBLIC int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n)
Compute the Curve25519 public key from a secret scalar.
Definition curve25519.c:96
crypto_scalarmult_curve25519
WS_DLL_PUBLIC int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, const unsigned char *p)
Perform scalar multiplication on Curve25519 to compute a shared secret.
Definition curve25519.c:80