HV: wrap and enable hkdf_sha256 key derivation based on mbedtls

Derive multiple seeds to support multiple guest VMs

Signed-off-by: Chen, Gang G <gang.g.chen@intel.com>
This commit is contained in:
Chen, Gang G
2018-08-21 08:11:40 +08:00
committed by lijinxia
parent 12aa2a40a2
commit 8d35f4e0e8
11 changed files with 50 additions and 34 deletions

View File

@@ -28,6 +28,7 @@
#ifndef MBEDTLS_SHA256_H
#define MBEDTLS_SHA256_H
#include <types.h>
#define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037 /**< SHA-256 hardware accelerator failed */
/**