YPC
0.2.0
include
ypc
corecommon
crypto
stdeth
secp256k1_ecdh_sgx128.h
1
#pragma once
2
#include <cstdint>
3
4
namespace
ypc {
5
namespace
crypto {
6
struct
secp256k1_ecdh_sgx128
{
7
inline
static
uint32_t get_ecdh_shared_key_size() {
return
16; }
8
static
uint32_t ecdh_shared_key(
const
uint8_t *skey, uint32_t skey_size,
9
const
uint8_t *public_key, uint32_t pkey_size,
10
uint8_t *shared_key,
11
uint32_t shared_key_size);
12
};
13
14
}
// namespace crypto
15
}
// namespace ypc
16
ypc::crypto::secp256k1_ecdh_sgx128
Definition:
secp256k1_ecdh_sgx128.h:6
Generated by
1.8.17