YPC  0.2.0
common.h
1 #pragma once
2 
3 #include "ekeymgr_t.h" /* print_string */
4 #include "ypc/core_t/ecommon/package.h"
5 #include "ypc/stbox/tsgx/channel/dh_session.h"
6 
7 uint32_t load_and_check_key_pair(const uint8_t *pkey, uint32_t pkey_size,
8  stbox::bytes &skey);
9 uint32_t load_key_pair_if_not_exist(uint8_t *pkey_ptr, uint32_t pkey_size,
10  uint8_t *skey_ptr, uint32_t *skey_size);