8#ifndef MBEDTLS_HARDEN_STRUCT_H
9#define MBEDTLS_HARDEN_STRUCT_H
11#define MBEDTLS_ALT_HASH_RESULT_SIZE_MAX_IN_WORD 16
12#define MBEDTLS_ALT_HASH_BLOCK_SIZE_MAX 128
33 unsigned int length[2];
58#define MBEDTLS_ALT_ECP_LEN_192 24
59#define MBEDTLS_ALT_ECP_LEN_224 32
60#define MBEDTLS_ALT_ECP_LEN_256 32
61#define MBEDTLS_ALT_ECP_LEN_384 48
62#define MBEDTLS_ALT_ECP_LEN_448 56
63#define MBEDTLS_ALT_ECP_LEN_512 64
64#define MBEDTLS_ALT_ECP_LEN_521 68
65#define MBEDTLS_ALT_ECP_LEN_576 72
66#define MBEDTLS_ALT_ECP_LEN_1024 128
67#define MBEDTLS_ALT_ECP_LEN_2048 256
68#define MBEDTLS_ALT_ECP_LEN_3072 384
69#define MBEDTLS_ALT_ECP_LEN_4096 512
#define MBEDTLS_ALT_HASH_RESULT_SIZE_MAX_IN_WORD
Definition mbedtls_harden_struct.h:11
mbedtls_alt_hash_type
Definition mbedtls_harden_struct.h:14
@ MBEDTLS_ALT_HASH_TYPE_SHA224
Definition mbedtls_harden_struct.h:16
@ MBEDTLS_ALT_HASH_TYPE_INVALID
Definition mbedtls_harden_struct.h:29
@ MBEDTLS_ALT_HASH_TYPE_SHA1
Definition mbedtls_harden_struct.h:15
@ MBEDTLS_ALT_HASH_TYPE_SM3
Definition mbedtls_harden_struct.h:20
@ MBEDTLS_ALT_HASH_TYPE_HMAC_SM3
Definition mbedtls_harden_struct.h:27
@ MBEDTLS_ALT_HASH_TYPE_HMAC_SHA224
Definition mbedtls_harden_struct.h:23
@ MBEDTLS_ALT_HASH_TYPE_HMAC_SHA512
Definition mbedtls_harden_struct.h:26
@ MBEDTLS_ALT_HASH_TYPE_HMAC_SHA256
Definition mbedtls_harden_struct.h:24
@ MBEDTLS_ALT_HASH_TYPE_SHA384
Definition mbedtls_harden_struct.h:18
@ MBEDTLS_ALT_HASH_TYPE_HMAC_SHA384
Definition mbedtls_harden_struct.h:25
@ MBEDTLS_ALT_HASH_TYPE_SHA256
Definition mbedtls_harden_struct.h:17
@ MBEDTLS_ALT_HASH_TYPE_HMAC_SHA1
Definition mbedtls_harden_struct.h:22
@ MBEDTLS_ALT_HASH_TYPE_SHA512
Definition mbedtls_harden_struct.h:19
mbedtls_alt_ecp_curve_type
Definition mbedtls_harden_struct.h:40
@ MBEDTLS_ALT_ECP_CURVE_TYPE_FIPS_P192R
Definition mbedtls_harden_struct.h:45
@ MBEDTLS_ALT_ECP_CURVE_TYPE_INVALID
Definition mbedtls_harden_struct.h:55
@ MBEDTLS_ALT_ECP_CURVE_TYPE_RFC8032
Definition mbedtls_harden_struct.h:52
@ MBEDTLS_ALT_ECP_CURVE_TYPE_RFC7748_448
Definition mbedtls_harden_struct.h:51
@ MBEDTLS_ALT_ECP_CURVE_TYPE_RFC7748
Definition mbedtls_harden_struct.h:50
@ MBEDTLS_ALT_ECP_CURVE_TYPE_FIPS_P256R
Definition mbedtls_harden_struct.h:47
@ MBEDTLS_ALT_ECP_CURVE_TYPE_FIPS_P224R
Definition mbedtls_harden_struct.h:46
@ MBEDTLS_ALT_ECP_CURVE_TYPE_RFC5639_P512
Definition mbedtls_harden_struct.h:43
@ MBEDTLS_ALT_ECP_CURVE_TYPE_FIPS_P521R
Definition mbedtls_harden_struct.h:49
@ MBEDTLS_ALT_ECP_CURVE_TYPE_SM2
Definition mbedtls_harden_struct.h:53
@ MBEDTLS_ALT_ECP_CURVE_TYPE_FIPS_P256K
Definition mbedtls_harden_struct.h:44
@ MBEDTLS_ALT_ECP_CURVE_TYPE_FIPS_P384R
Definition mbedtls_harden_struct.h:48
@ MBEDTLS_ALT_ECP_CURVE_TYPE_RFC5639_P384
Definition mbedtls_harden_struct.h:42
@ MBEDTLS_ALT_ECP_CURVE_TYPE_MAX
Definition mbedtls_harden_struct.h:54
@ MBEDTLS_ALT_ECP_CURVE_TYPE_RFC5639_P256
Definition mbedtls_harden_struct.h:41
#define MBEDTLS_ALT_HASH_BLOCK_SIZE_MAX
Definition mbedtls_harden_struct.h:12
Definition mbedtls_harden_struct.h:71
unsigned int length
Definition mbedtls_harden_struct.h:72
unsigned char * data
Definition mbedtls_harden_struct.h:73
Definition mbedtls_harden_struct.h:76
unsigned char * x
Definition mbedtls_harden_struct.h:77
unsigned char * y
Definition mbedtls_harden_struct.h:78
unsigned int length
Definition mbedtls_harden_struct.h:79
Definition mbedtls_harden_struct.h:82
unsigned int length
Definition mbedtls_harden_struct.h:85
unsigned char * r
Definition mbedtls_harden_struct.h:83
unsigned char * s
Definition mbedtls_harden_struct.h:84
Definition mbedtls_harden_struct.h:32
unsigned int tail_len
Definition mbedtls_harden_struct.h:35
mbedtls_alt_hash_type hash_type
Definition mbedtls_harden_struct.h:36