blob: 6f4d5741989ec3cfce813d4918b60d4ababbab60 [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_SIGN_HASH_H
7#define TS_CRYPTO_SIGN_HASH_H
8
9#include <stdint.h>
10
11/* Mandatory fixed sized input parameters */
12struct __attribute__ ((__packed__)) ts_crypto_sign_hash_in
13{
Balint Dobszay3c52ce62021-05-10 16:27:18 +020014 uint32_t id;
julhal01734dbad2020-12-21 10:27:41 +000015 uint32_t alg;
16};
17
18/* Variable length input parameter tags */
19enum
20{
21 TS_CRYPTO_SIGN_HASH_IN_TAG_HASH = 1,
22};
23
24/* Variable length output parameter tags */
25enum
26{
27 TS_CRYPTO_SIGN_HASH_OUT_TAG_SIGNATURE = 1
28};
29
30#endif /* TS_CRYPTO_SIGN_HASH_H */