blob: 2650b2a546c9c1017637343b25cf1c0bc4aaa3e0 [file] [log] [blame]
/*
* Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef TS_CRYPTO_VERIFY_HASH_H
#define TS_CRYPTO_VERIFY_HASH_H
#include <stdint.h>
/* Mandatory fixed sized input parameters */
struct __attribute__ ((__packed__)) ts_crypto_verify_hash_in
{
uint32_t id;
uint32_t alg;
};
/* Variable length input parameter tags */
enum
{
TS_CRYPTO_VERIFY_HASH_IN_TAG_HASH = 1,
TS_CRYPTO_VERIFY_HASH_IN_TAG_SIGNATURE = 2
};
#endif /* TS_CRYPTO_VERIFY_HASH_H */