API参考
载入中...
搜索中...
未找到
crypt_ealinit.h
1/*
2 * This file is part of the openHiTLS project.
3 *
4 * openHiTLS is licensed under the Mulan PSL v2.
5 * You can use this software according to the terms and conditions of the Mulan PSL v2.
6 * You may obtain a copy of Mulan PSL v2 at:
7 *
8 * http://license.coscl.org.cn/MulanPSL2
9 *
10 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
13 * See the Mulan PSL v2 for more details.
14 */
15#ifndef CRYPT_EALINIT_H
16#define CRYPT_EALINIT_H
17
18#include "hitls_build.h"
19#ifdef HITLS_CRYPTO_ASM_CHECK
20#include <stdint.h>
21#include "crypt_algid.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif // __cplusplus
26
35int32_t CRYPT_ASMCAP_Cipher(CRYPT_CIPHER_AlgId id);
36
45int32_t CRYPT_ASMCAP_Md(CRYPT_MD_AlgId id);
46
55int32_t CRYPT_ASMCAP_Pkey(CRYPT_PKEY_AlgId id);
56
65int32_t CRYPT_ASMCAP_Mac(CRYPT_MAC_AlgId id);
66
75int32_t CRYPT_ASMCAP_Drbg(CRYPT_RAND_AlgId id);
76
77
78#ifdef __cplusplus
79}
80#endif // __cplusplus
81#endif // HITLS_CRYPTO_ASM_CHECK
82#endif // CRYPT_EALINIT_H
CRYPT_RAND_AlgId
定义 crypt_algid.h:41
CRYPT_MD_AlgId
定义 crypt_algid.h:68
CRYPT_MAC_AlgId
定义 crypt_algid.h:91
CRYPT_PKEY_AlgId
定义 crypt_algid.h:121