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