feat: add secure host based config (sbhc) helpers to create response messages, use 16993 instead of 16992 if secure host configuration set.
This commit is contained in:
19
shbc.h
Normal file
19
shbc.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*********************************************************************
|
||||
* Copyright (c) Intel Corporation 2019 - 2020
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __SHBC_H__
|
||||
#define __SHBC_H__
|
||||
|
||||
#include <string>
|
||||
|
||||
#ifdef _WIN32
|
||||
#define convertstring to_utf16string
|
||||
#else
|
||||
#define convertstring to_utf8string
|
||||
#endif
|
||||
|
||||
bool shbc_create_response(std::string cert_algo, std::string cert_hash, std::string& response);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user