mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-05 22:08:23 +00:00
TLS client implementation
This commit is contained in:
1 parent
091ebd8a98
commit
ba678b9ad1
27 files changed
+6176
-4564
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#ifndef TLS_X15519_H
|
||||
#define TLS_X15519_H
|
||||
|
||||
#include "arch.h"
|
||||
|
||||
#define X25519_BYTES 32
|
||||
extern const uint8_t X25519_BASE_POINT[X25519_BYTES];
|
||||
|
||||
int mg_tls_x25519(uint8_t out[X25519_BYTES], const uint8_t scalar[X25519_BYTES],
|
||||
const uint8_t x1[X25519_BYTES], int clamp);
|
||||
|
||||
|
||||
#endif /* TLS_X15519_H */
|
||||
Reference in new issue
Block a user