|
21 | 21 |
|
22 | 22 | #include "symbols.h"
|
23 | 23 |
|
24 |
| -void *_webcrypto_symbol_table[] = { |
25 |
| - (void *)&BN_bin2bn, |
26 |
| - (void *)&BN_bn2bin_padded, |
27 |
| - (void *)&BN_free, |
28 |
| - (void *)&BN_new, |
29 |
| - (void *)&BN_num_bytes, |
30 |
| - (void *)&BN_set_word, |
31 |
| - (void *)&CBB_cleanup, |
32 |
| - (void *)&CBB_data, |
33 |
| - (void *)&CBB_flush, |
34 |
| - (void *)&CBB_init, |
35 |
| - (void *)&CBB_len, |
36 |
| - (void *)&CBB_zero, |
37 |
| - (void *)&CBS_init, |
38 |
| - (void *)&CRYPTO_memcmp, |
39 |
| - (void *)&ECDH_compute_key, |
40 |
| - (void *)&ECDSA_SIG_free, |
41 |
| - (void *)&ECDSA_SIG_get0, |
42 |
| - (void *)&ECDSA_SIG_marshal, |
43 |
| - (void *)&ECDSA_SIG_new, |
44 |
| - (void *)&ECDSA_SIG_parse, |
45 |
| - (void *)&EC_GROUP_get0_order, |
46 |
| - (void *)&EC_GROUP_get_curve_name, |
47 |
| - (void *)&EC_GROUP_get_degree, |
48 |
| - (void *)&EC_KEY_check_key, |
49 |
| - (void *)&EC_KEY_free, |
50 |
| - (void *)&EC_KEY_generate_key, |
51 |
| - (void *)&EC_KEY_get0_group, |
52 |
| - (void *)&EC_KEY_get0_private_key, |
53 |
| - (void *)&EC_KEY_get0_public_key, |
54 |
| - (void *)&EC_KEY_get_enc_flags, |
55 |
| - (void *)&EC_KEY_new_by_curve_name, |
56 |
| - (void *)&EC_KEY_set_enc_flags, |
57 |
| - (void *)&EC_KEY_set_private_key, |
58 |
| - (void *)&EC_KEY_set_public_key, |
59 |
| - (void *)&EC_KEY_set_public_key_affine_coordinates, |
60 |
| - (void *)&EC_POINT_free, |
61 |
| - (void *)&EC_POINT_get_affine_coordinates_GFp, |
62 |
| - (void *)&EC_POINT_new, |
63 |
| - (void *)&EC_POINT_oct2point, |
64 |
| - (void *)&EC_POINT_point2cbb, |
65 |
| - (void *)&ERR_clear_error, |
66 |
| - (void *)&ERR_error_string_n, |
67 |
| - (void *)&ERR_get_error, |
68 |
| - (void *)&ERR_peek_error, |
69 |
| - (void *)&EVP_aead_aes_128_gcm, |
70 |
| - (void *)&EVP_aead_aes_256_gcm, |
71 |
| - (void *)&EVP_AEAD_CTX_free, |
72 |
| - (void *)&EVP_AEAD_CTX_new, |
73 |
| - (void *)&EVP_AEAD_CTX_open, |
74 |
| - (void *)&EVP_AEAD_CTX_seal, |
75 |
| - (void *)&EVP_AEAD_max_overhead, |
76 |
| - (void *)&EVP_aes_128_cbc, |
77 |
| - (void *)&EVP_aes_128_ctr, |
78 |
| - (void *)&EVP_aes_256_cbc, |
79 |
| - (void *)&EVP_aes_256_ctr, |
80 |
| - (void *)&EVP_CIPHER_CTX_free, |
81 |
| - (void *)&EVP_CIPHER_CTX_new, |
82 |
| - (void *)&EVP_CipherFinal_ex, |
83 |
| - (void *)&EVP_CipherInit_ex, |
84 |
| - (void *)&EVP_CIPHER_iv_length, |
85 |
| - (void *)&EVP_CipherUpdate, |
86 |
| - (void *)&EVP_DigestFinal, |
87 |
| - (void *)&EVP_DigestInit, |
88 |
| - (void *)&EVP_DigestSignFinal, |
89 |
| - (void *)&EVP_DigestSignInit, |
90 |
| - (void *)&EVP_DigestSignUpdate, |
91 |
| - (void *)&EVP_DigestUpdate, |
92 |
| - (void *)&EVP_DigestVerifyFinal, |
93 |
| - (void *)&EVP_DigestVerifyInit, |
94 |
| - (void *)&EVP_DigestVerifyUpdate, |
95 |
| - (void *)&EVP_marshal_private_key, |
96 |
| - (void *)&EVP_marshal_public_key, |
97 |
| - (void *)&EVP_MD_CTX_free, |
98 |
| - (void *)&EVP_MD_CTX_new, |
99 |
| - (void *)&EVP_MD_CTX_size, |
100 |
| - (void *)&EVP_parse_private_key, |
101 |
| - (void *)&EVP_parse_public_key, |
102 |
| - (void *)&EVP_PKEY_CTX_free, |
103 |
| - (void *)&EVP_PKEY_CTX_new, |
104 |
| - (void *)&EVP_PKEY_CTX_set0_rsa_oaep_label, |
105 |
| - (void *)&EVP_PKEY_CTX_set_rsa_mgf1_md, |
106 |
| - (void *)&EVP_PKEY_CTX_set_rsa_oaep_md, |
107 |
| - (void *)&EVP_PKEY_CTX_set_rsa_padding, |
108 |
| - (void *)&EVP_PKEY_CTX_set_rsa_pss_saltlen, |
109 |
| - (void *)&EVP_PKEY_decrypt, |
110 |
| - (void *)&EVP_PKEY_decrypt_init, |
111 |
| - (void *)&EVP_PKEY_encrypt, |
112 |
| - (void *)&EVP_PKEY_encrypt_init, |
113 |
| - (void *)&EVP_PKEY_free, |
114 |
| - (void *)&EVP_PKEY_get0_EC_KEY, |
115 |
| - (void *)&EVP_PKEY_get0_RSA, |
116 |
| - (void *)&EVP_PKEY_id, |
117 |
| - (void *)&EVP_PKEY_new, |
118 |
| - (void *)&EVP_PKEY_set1_EC_KEY, |
119 |
| - (void *)&EVP_PKEY_set1_RSA, |
120 |
| - (void *)&EVP_sha1, |
121 |
| - (void *)&EVP_sha256, |
122 |
| - (void *)&EVP_sha384, |
123 |
| - (void *)&EVP_sha512, |
124 |
| - (void *)&HKDF, |
125 |
| - (void *)&HMAC_CTX_free, |
126 |
| - (void *)&HMAC_CTX_new, |
127 |
| - (void *)&HMAC_Final, |
128 |
| - (void *)&HMAC_Init_ex, |
129 |
| - (void *)&HMAC_size, |
130 |
| - (void *)&HMAC_Update, |
131 |
| - (void *)&OPENSSL_malloc, |
132 |
| - (void *)&PKCS5_PBKDF2_HMAC, |
133 |
| - (void *)&RAND_bytes, |
134 |
| - (void *)&RSA_check_key, |
135 |
| - (void *)&RSA_free, |
136 |
| - (void *)&RSA_generate_key_ex, |
137 |
| - (void *)&RSA_get0_crt_params, |
138 |
| - (void *)&RSA_get0_factors, |
139 |
| - (void *)&RSA_get0_key, |
140 |
| - (void *)&RSA_new, |
141 |
| - (void *)&RSAPublicKey_dup, |
142 |
| - (void *)&RSA_set0_crt_params, |
143 |
| - (void *)&RSA_set0_factors, |
144 |
| - (void *)&RSA_set0_key, |
145 |
| - (void *)&OPENSSL_free, |
146 |
| - (void *)&OPENSSL_memdup, |
147 |
| - (void *)&EVP_MD_size, |
148 |
| - (void *)&EVP_AEAD_nonce_length, |
149 |
| - (void *)&EVP_AEAD_max_tag_len, |
150 |
| - (void *)&EVP_AEAD_key_length, |
151 |
| - (void *)&BN_value_one, |
152 |
| - (void *)&BN_add, |
153 |
| - (void *)&BN_sub, |
154 |
| - (void *)&BN_cmp, |
155 |
| - (void *)&BN_lshift, |
156 |
| - (void *)&EVP_CIPHER_block_size, |
157 |
| - (void *)&EC_GROUP_new_by_curve_name, |
158 |
| - (void *)&EC_GROUP_free, |
159 |
| - (void *)&EVP_PKEY_set_type, |
160 |
| - (void *)&BORINGSSL_self_test, |
| 24 | +void* _webcrypto_symbol_table[] = { |
| 25 | + (void*)&BN_bin2bn, |
| 26 | + (void*)&BN_bn2bin_padded, |
| 27 | + (void*)&BN_free, |
| 28 | + (void*)&BN_new, |
| 29 | + (void*)&BN_num_bytes, |
| 30 | + (void*)&BN_set_word, |
| 31 | + (void*)&CBB_cleanup, |
| 32 | + (void*)&CBB_data, |
| 33 | + (void*)&CBB_flush, |
| 34 | + (void*)&CBB_init, |
| 35 | + (void*)&CBB_len, |
| 36 | + (void*)&CBB_zero, |
| 37 | + (void*)&CBS_init, |
| 38 | + (void*)&CRYPTO_memcmp, |
| 39 | + (void*)&ECDH_compute_key, |
| 40 | + (void*)&ECDSA_SIG_free, |
| 41 | + (void*)&ECDSA_SIG_get0, |
| 42 | + (void*)&ECDSA_SIG_marshal, |
| 43 | + (void*)&ECDSA_SIG_new, |
| 44 | + (void*)&ECDSA_SIG_parse, |
| 45 | + (void*)&EC_GROUP_get0_order, |
| 46 | + (void*)&EC_GROUP_get_curve_name, |
| 47 | + (void*)&EC_GROUP_get_degree, |
| 48 | + (void*)&EC_KEY_check_key, |
| 49 | + (void*)&EC_KEY_free, |
| 50 | + (void*)&EC_KEY_generate_key, |
| 51 | + (void*)&EC_KEY_get0_group, |
| 52 | + (void*)&EC_KEY_get0_private_key, |
| 53 | + (void*)&EC_KEY_get0_public_key, |
| 54 | + (void*)&EC_KEY_get_enc_flags, |
| 55 | + (void*)&EC_KEY_new_by_curve_name, |
| 56 | + (void*)&EC_KEY_set_enc_flags, |
| 57 | + (void*)&EC_KEY_set_private_key, |
| 58 | + (void*)&EC_KEY_set_public_key, |
| 59 | + (void*)&EC_KEY_set_public_key_affine_coordinates, |
| 60 | + (void*)&EC_POINT_free, |
| 61 | + (void*)&EC_POINT_get_affine_coordinates_GFp, |
| 62 | + (void*)&EC_POINT_new, |
| 63 | + (void*)&EC_POINT_oct2point, |
| 64 | + (void*)&EC_POINT_point2cbb, |
| 65 | + (void*)&ERR_clear_error, |
| 66 | + (void*)&ERR_error_string_n, |
| 67 | + (void*)&ERR_get_error, |
| 68 | + (void*)&ERR_peek_error, |
| 69 | + (void*)&EVP_aead_aes_128_gcm, |
| 70 | + (void*)&EVP_aead_aes_256_gcm, |
| 71 | + (void*)&EVP_AEAD_CTX_free, |
| 72 | + (void*)&EVP_AEAD_CTX_new, |
| 73 | + (void*)&EVP_AEAD_CTX_open, |
| 74 | + (void*)&EVP_AEAD_CTX_seal, |
| 75 | + (void*)&EVP_AEAD_max_overhead, |
| 76 | + (void*)&EVP_aes_128_cbc, |
| 77 | + (void*)&EVP_aes_128_ctr, |
| 78 | + (void*)&EVP_aes_256_cbc, |
| 79 | + (void*)&EVP_aes_256_ctr, |
| 80 | + (void*)&EVP_CIPHER_CTX_free, |
| 81 | + (void*)&EVP_CIPHER_CTX_new, |
| 82 | + (void*)&EVP_CipherFinal_ex, |
| 83 | + (void*)&EVP_CipherInit_ex, |
| 84 | + (void*)&EVP_CIPHER_iv_length, |
| 85 | + (void*)&EVP_CipherUpdate, |
| 86 | + (void*)&EVP_DigestFinal, |
| 87 | + (void*)&EVP_DigestInit, |
| 88 | + (void*)&EVP_DigestSignFinal, |
| 89 | + (void*)&EVP_DigestSignInit, |
| 90 | + (void*)&EVP_DigestSignUpdate, |
| 91 | + (void*)&EVP_DigestUpdate, |
| 92 | + (void*)&EVP_DigestVerifyFinal, |
| 93 | + (void*)&EVP_DigestVerifyInit, |
| 94 | + (void*)&EVP_DigestVerifyUpdate, |
| 95 | + (void*)&EVP_marshal_private_key, |
| 96 | + (void*)&EVP_marshal_public_key, |
| 97 | + (void*)&EVP_MD_CTX_free, |
| 98 | + (void*)&EVP_MD_CTX_new, |
| 99 | + (void*)&EVP_MD_CTX_size, |
| 100 | + (void*)&EVP_parse_private_key, |
| 101 | + (void*)&EVP_parse_public_key, |
| 102 | + (void*)&EVP_PKEY_CTX_free, |
| 103 | + (void*)&EVP_PKEY_CTX_new, |
| 104 | + (void*)&EVP_PKEY_CTX_set0_rsa_oaep_label, |
| 105 | + (void*)&EVP_PKEY_CTX_set_rsa_mgf1_md, |
| 106 | + (void*)&EVP_PKEY_CTX_set_rsa_oaep_md, |
| 107 | + (void*)&EVP_PKEY_CTX_set_rsa_padding, |
| 108 | + (void*)&EVP_PKEY_CTX_set_rsa_pss_saltlen, |
| 109 | + (void*)&EVP_PKEY_decrypt, |
| 110 | + (void*)&EVP_PKEY_decrypt_init, |
| 111 | + (void*)&EVP_PKEY_encrypt, |
| 112 | + (void*)&EVP_PKEY_encrypt_init, |
| 113 | + (void*)&EVP_PKEY_free, |
| 114 | + (void*)&EVP_PKEY_get0_EC_KEY, |
| 115 | + (void*)&EVP_PKEY_get0_RSA, |
| 116 | + (void*)&EVP_PKEY_id, |
| 117 | + (void*)&EVP_PKEY_new, |
| 118 | + (void*)&EVP_PKEY_set1_EC_KEY, |
| 119 | + (void*)&EVP_PKEY_set1_RSA, |
| 120 | + (void*)&EVP_sha1, |
| 121 | + (void*)&EVP_sha256, |
| 122 | + (void*)&EVP_sha384, |
| 123 | + (void*)&EVP_sha512, |
| 124 | + (void*)&HKDF, |
| 125 | + (void*)&HMAC_CTX_free, |
| 126 | + (void*)&HMAC_CTX_new, |
| 127 | + (void*)&HMAC_Final, |
| 128 | + (void*)&HMAC_Init_ex, |
| 129 | + (void*)&HMAC_size, |
| 130 | + (void*)&HMAC_Update, |
| 131 | + (void*)&OPENSSL_malloc, |
| 132 | + (void*)&PKCS5_PBKDF2_HMAC, |
| 133 | + (void*)&RAND_bytes, |
| 134 | + (void*)&RSA_check_key, |
| 135 | + (void*)&RSA_free, |
| 136 | + (void*)&RSA_generate_key_ex, |
| 137 | + (void*)&RSA_get0_crt_params, |
| 138 | + (void*)&RSA_get0_factors, |
| 139 | + (void*)&RSA_get0_key, |
| 140 | + (void*)&RSA_new, |
| 141 | + (void*)&RSAPublicKey_dup, |
| 142 | + (void*)&RSA_set0_crt_params, |
| 143 | + (void*)&RSA_set0_factors, |
| 144 | + (void*)&RSA_set0_key, |
| 145 | + (void*)&OPENSSL_free, |
| 146 | + (void*)&OPENSSL_memdup, |
| 147 | + (void*)&EVP_MD_size, |
| 148 | + (void*)&EVP_AEAD_nonce_length, |
| 149 | + (void*)&EVP_AEAD_max_tag_len, |
| 150 | + (void*)&EVP_AEAD_key_length, |
| 151 | + (void*)&BN_value_one, |
| 152 | + (void*)&BN_add, |
| 153 | + (void*)&BN_sub, |
| 154 | + (void*)&BN_cmp, |
| 155 | + (void*)&BN_lshift, |
| 156 | + (void*)&EVP_CIPHER_block_size, |
| 157 | + (void*)&EC_GROUP_new_by_curve_name, |
| 158 | + (void*)&EC_GROUP_free, |
| 159 | + (void*)&EVP_PKEY_set_type, |
| 160 | + (void*)&BORINGSSL_self_test, |
161 | 161 | };
|
0 commit comments