YPC
0.2.0
include
ypc
corecommon
crypto
example
ecdh.h
1
#pragma once
2
3
struct
secp256k1_ecdh_sgx128
{
4
inline
static
uint32_t get_ecdh_shared_key_size() {
return
16; }
5
static
uint32_t ecdh_shared_key(
const
uint8_t *skey, uint32_t skey_size,
6
const
uint8_t *public_key, uint32_t pkey_size,
7
uint8_t *shared_key,
8
uint32_t shared_key_size);
9
};
secp256k1_ecdh_sgx128
Definition:
ecdh.h:3
Generated by
1.8.17