- Timestamp:
- Jun 22, 2021, 9:00:19 PM (3 years ago)
- Location:
- azure_iot_hub_f767zi/trunk/wolfssl-4.7.0
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
azure_iot_hub_f767zi/trunk/wolfssl-4.7.0/wolfssl/openssl/asn1.h
r457 r464 32 32 #define ASN1_STRING_set wolfSSL_ASN1_STRING_set 33 33 #define ASN1_STRING_free wolfSSL_ASN1_STRING_free 34 35 #define ASN1_get_object wolfSSL_ASN1_get_object 36 #define d2i_ASN1_OBJECT wolfSSL_d2i_ASN1_OBJECT 37 #define c2i_ASN1_OBJECT wolfSSL_c2i_ASN1_OBJECT 34 38 35 39 #define V_ASN1_INTEGER 0x02 … … 67 71 #define ASN1_TIME_set wolfSSL_ASN1_TIME_set 68 72 73 #define V_ASN1_EOC 0 69 74 #define V_ASN1_OBJECT 6 75 #define V_ASN1_UTF8STRING 12 76 #define V_ASN1_SEQUENCE 16 77 #define V_ASN1_SET 17 78 #define V_ASN1_PRINTABLESTRING 19 79 #define V_ASN1_T61STRING 20 80 #define V_ASN1_IA5STRING 22 70 81 #define V_ASN1_UTCTIME 23 71 82 #define V_ASN1_GENERALIZEDTIME 24 83 #define V_ASN1_UNIVERSALSTRING 28 84 #define V_ASN1_BMPSTRING 30 85 86 87 #define V_ASN1_CONSTRUCTED 0x20 72 88 73 89 #define ASN1_STRING_FLAG_BITS_LEFT 0x008 … … 82 98 83 99 WOLFSSL_API void wolfSSL_ASN1_TYPE_set(WOLFSSL_ASN1_TYPE *a, int type, void *value); 100 101 WOLFSSL_API int wolfSSL_ASN1_get_object(const unsigned char **in, long *len, int *tag, 102 int *cls, long inLen); 103 104 WOLFSSL_API WOLFSSL_ASN1_OBJECT *wolfSSL_c2i_ASN1_OBJECT(WOLFSSL_ASN1_OBJECT **a, 105 const unsigned char **pp, long len); 84 106 85 107 #ifdef OPENSSL_ALL … … 108 130 109 131 #define ASN1_SEQUENCE(type) \ 110 static consttype __##type##_dummy_struct;\132 static type __##type##_dummy_struct;\ 111 133 static const WOLFSSL_ASN1_TEMPLATE type##_member_data[] 112 134 … … 124 146 }; 125 147 126 WOLFSSL_API void *wolfSSL_ASN1_item_new(const WOLFSSL_ASN1_ITEM *t emplate);127 WOLFSSL_API void wolfSSL_ASN1_item_free(void *val, const WOLFSSL_ASN1_ITEM *t emplate);148 WOLFSSL_API void *wolfSSL_ASN1_item_new(const WOLFSSL_ASN1_ITEM *tpl); 149 WOLFSSL_API void wolfSSL_ASN1_item_free(void *val, const WOLFSSL_ASN1_ITEM *tpl); 128 150 WOLFSSL_API int wolfSSL_ASN1_item_i2d(const void *src, byte **dest, 129 const WOLFSSL_ASN1_ITEM *t emplate);151 const WOLFSSL_ASN1_ITEM *tpl); 130 152 131 153 /* Need function declaration otherwise compiler complains */
Note:
See TracChangeset
for help on using the changeset viewer.