multiversx_sc/api/uncallable/
elliptic_curve_api_uncallable.rs1use crate::{api::EllipticCurveApiImpl, types::heap::BoxedBytes};
2
3impl EllipticCurveApiImpl for super::UncallableApi {
4 fn ec_create_from_name_bytes(&self, _name: &[u8]) -> Self::EllipticCurveHandle {
5 unreachable!()
6 }
7
8 fn ec_create_from_name_mb(
9 &self,
10 _name_handle: Self::ManagedBufferHandle,
11 ) -> Self::ManagedBufferHandle {
12 unreachable!()
13 }
14
15 fn ec_get_values(
16 &self,
17 _ec_handle: Self::EllipticCurveHandle,
18 _field_order_handle: Self::BigIntHandle,
19 _base_point_order_handle: Self::BigIntHandle,
20 _eq_constant_handle: Self::BigIntHandle,
21 _x_base_point_handle: Self::BigIntHandle,
22 _y_base_point_handle: Self::BigIntHandle,
23 ) {
24 unreachable!()
25 }
26
27 fn ec_curve_length(&self, _ec_handle: Self::EllipticCurveHandle) -> u32 {
28 unreachable!()
29 }
30
31 fn ec_private_key_byte_length(&self, _ec_handle: Self::EllipticCurveHandle) -> u32 {
32 unreachable!()
33 }
34
35 fn ec_add(
36 &self,
37 _x_result_handle: Self::BigIntHandle,
38 _y_result_handle: Self::BigIntHandle,
39 _ec_handle: Self::EllipticCurveHandle,
40 _x_first_point: Self::BigIntHandle,
41 _y_first_point: Self::BigIntHandle,
42 _x_second_point: Self::BigIntHandle,
43 _y_second_point: Self::BigIntHandle,
44 ) {
45 unreachable!()
46 }
47
48 fn ec_double(
49 &self,
50 _x_result_handle: Self::BigIntHandle,
51 _y_result_handle: Self::BigIntHandle,
52 _ec_handle: Self::EllipticCurveHandle,
53 _x_point_handle: Self::BigIntHandle,
54 _y_point_handle: Self::BigIntHandle,
55 ) {
56 unreachable!()
57 }
58
59 fn ec_is_on_curve(
60 &self,
61 _ec_handle: Self::EllipticCurveHandle,
62 _x_point_handle: Self::BigIntHandle,
63 _y_point_handle: Self::BigIntHandle,
64 ) -> bool {
65 unreachable!()
66 }
67
68 fn ec_scalar_mult_legacy(
69 &self,
70 _x_result_handle: Self::BigIntHandle,
71 _y_result_handle: Self::BigIntHandle,
72 _ec_handle: Self::EllipticCurveHandle,
73 _x_point_handle: Self::BigIntHandle,
74 _y_point_handle: Self::BigIntHandle,
75 _data: &[u8],
76 ) {
77 unreachable!()
78 }
79
80 fn ec_scalar_mult(
81 &self,
82 _x_result_handle: Self::BigIntHandle,
83 _y_result_handle: Self::BigIntHandle,
84 _ec_handle: Self::EllipticCurveHandle,
85 _x_point_handle: Self::BigIntHandle,
86 _y_point_handle: Self::BigIntHandle,
87 _data_handle: Self::ManagedBufferHandle,
88 ) {
89 unreachable!()
90 }
91
92 fn ec_scalar_base_mult_legacy(
93 &self,
94 _x_result_handle: Self::BigIntHandle,
95 _y_result_handle: Self::BigIntHandle,
96 _ec_handle: Self::EllipticCurveHandle,
97 _data: &[u8],
98 ) {
99 unreachable!()
100 }
101
102 fn ec_scalar_base_mult(
103 &self,
104 _x_result_handle: Self::BigIntHandle,
105 _y_result_handle: Self::BigIntHandle,
106 _ec_handle: Self::EllipticCurveHandle,
107 _data_handle: Self::ManagedBufferHandle,
108 ) {
109 unreachable!()
110 }
111
112 fn ec_marshal_legacy(
113 &self,
114 _ec_handle: Self::EllipticCurveHandle,
115 _x_pair_handle: Self::BigIntHandle,
116 _y_pair_handle: Self::BigIntHandle,
117 ) -> BoxedBytes {
118 unreachable!()
119 }
120
121 fn ec_marshal(
122 &self,
123 _ec_handle: Self::EllipticCurveHandle,
124 _x_pair_handle: Self::BigIntHandle,
125 _y_pair_handle: Self::BigIntHandle,
126 _result_handle: Self::ManagedBufferHandle,
127 ) {
128 unreachable!()
129 }
130
131 fn ec_marshal_compressed_legacy(
132 &self,
133 _ec_handle: Self::EllipticCurveHandle,
134 _x_pair_handle: Self::BigIntHandle,
135 _y_pair_handle: Self::BigIntHandle,
136 ) -> BoxedBytes {
137 unreachable!()
138 }
139
140 fn ec_marshal_compressed(
141 &self,
142 _ec_handle: Self::EllipticCurveHandle,
143 _x_pair_handle: Self::BigIntHandle,
144 _y_pair_handle: Self::BigIntHandle,
145 _result_handle: Self::ManagedBufferHandle,
146 ) {
147 unreachable!()
148 }
149
150 fn ec_unmarshal_legacy(
151 &self,
152 _x_result_handle: Self::BigIntHandle,
153 _y_result_handle: Self::BigIntHandle,
154 _ec_handle: Self::EllipticCurveHandle,
155 _data: &[u8],
156 ) {
157 unreachable!()
158 }
159
160 fn ec_unmarshal(
161 &self,
162 _x_result_handle: Self::BigIntHandle,
163 _y_result_handle: Self::BigIntHandle,
164 _ec_handle: Self::EllipticCurveHandle,
165 _data_handle: Self::ManagedBufferHandle,
166 ) {
167 unreachable!()
168 }
169
170 fn ec_unmarshal_compressed_legacy(
171 &self,
172 _x_result_handle: Self::BigIntHandle,
173 _y_result_handle: Self::BigIntHandle,
174 _ec_handle: Self::EllipticCurveHandle,
175 _data: &[u8],
176 ) {
177 unreachable!()
178 }
179
180 fn ec_unmarshal_compressed(
181 &self,
182 _x_result_handle: Self::BigIntHandle,
183 _y_result_handle: Self::BigIntHandle,
184 _ec_handle: Self::EllipticCurveHandle,
185 _data_handle: Self::ManagedBufferHandle,
186 ) {
187 unreachable!()
188 }
189
190 fn ec_generate_key_legacy(
191 &self,
192 _x_pub_key_handle: Self::BigIntHandle,
193 _y_pub_key_handle: Self::BigIntHandle,
194 _ec_handle: Self::EllipticCurveHandle,
195 ) -> BoxedBytes {
196 unreachable!()
197 }
198
199 fn ec_generate_key(
200 &self,
201 _x_pub_key_handle: Self::BigIntHandle,
202 _y_pub_key_handle: Self::BigIntHandle,
203 _ec_handle: Self::EllipticCurveHandle,
204 _result_handle: Self::ManagedBufferHandle,
205 ) {
206 unreachable!()
207 }
208}