xref: /optee_os/core/include/crypto/sm2-kdf.h (revision d50fee0321fe6853ac6352cf0fd548666457b407)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2020-2021, Huawei Technologies Co., Ltd
4  */
5 
6 #ifndef __CRYPTO_SM2_KDF_H
7 #define __CRYPTO_SM2_KDF_H
8 
9 #include <stdint.h>
10 #include <tee_api_types.h>
11 
12 TEE_Result sm2_kdf(const uint8_t *Z, size_t Z_len, uint8_t *t, size_t tlen);
13 #endif /* __CRYPTO_SM2_KDF_H */
14