blob: fc3bbcab45483674df8d1f07a6d588fa160de348 [file] [log] [blame]
julhal01734dbad2020-12-21 10:27:41 +00001/*
2 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef TS_CRYPTO_VERIFY_HASH_H
7#define TS_CRYPTO_VERIFY_HASH_H
8
9#include <stdint.h>
10
11/* Mandatory fixed sized input parameters */
12struct __attribute__ ((__packed__)) ts_crypto_verify_hash_in
13{
14 uint32_t handle;
15 uint32_t alg;
16};
17
18/* Variable length input parameter tags */
19enum
20{
21 TS_CRYPTO_VERIFY_HASH_IN_TAG_HASH = 1,
22 TS_CRYPTO_VERIFY_HASH_IN_TAG_SIGNATURE = 2
23};
24
25#endif /* TS_CRYPTO_VERIFY_HASH_H */