mirror of https://github.com/wolfSSL/wolfBoot.git
28 lines
524 B
C
28 lines
524 B
C
/* wcs_fwtpm.h
|
|
*
|
|
* Copyright (C) 2026 wolfSSL Inc.
|
|
*
|
|
* This file is part of wolfBoot.
|
|
*/
|
|
|
|
#ifndef WOLFBOOT_WCS_FWTPM_H
|
|
#define WOLFBOOT_WCS_FWTPM_H
|
|
|
|
#include <stdint.h>
|
|
#include "wolfboot/wc_secure.h"
|
|
|
|
#ifdef WOLFBOOT_TZ_FWTPM
|
|
|
|
#ifndef WCS_FWTPM_MAX_COMMAND_SIZE
|
|
#define WCS_FWTPM_MAX_COMMAND_SIZE 4096U
|
|
#endif
|
|
|
|
int CSME_NSE_API wcs_fwtpm_transmit(const uint8_t *cmd, uint32_t cmdSz,
|
|
uint8_t *rsp, uint32_t *rspSz);
|
|
|
|
void wcs_fwtpm_init(void);
|
|
|
|
#endif /* WOLFBOOT_TZ_FWTPM */
|
|
|
|
#endif /* WOLFBOOT_WCS_FWTPM_H */
|