File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,10 @@ struct xmalloc_slot {
185185 #define MP_CURVE_FIELD_COUNT_SIZE (380)
186186 #ifndef _LP64
187187 #define ECC_POINT_SIZE (412)
188- #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
189188 #else
190189 #define ECC_POINT_SIZE (512)
191- #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
192- #endif
193- #ifndef MP_INT_BUFFER_SIZE
194- #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 5)
195190 #endif
191+ #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
196192 #define MP_INT_BUFFER_SIZE_1 (MP_INT_TYPE_SIZE * 6)
197193 #define MP_DIGIT_BUFFER_MONT_SIZE (sizeof(fp_digit)*(FP_SIZE + 1))
198194 #endif
@@ -202,14 +198,10 @@ struct xmalloc_slot {
202198 #define MP_CURVE_FIELD_COUNT_SIZE (380)
203199 #ifndef _LP64
204200 #define ECC_POINT_SIZE (520)
205- #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
206201 #else
207202 #define ECC_POINT_SIZE (608)
208- #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
209- #endif
210- #ifndef MP_INT_BUFFER_SIZE
211- #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 5)
212203 #endif
204+ #define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
213205 #define MP_INT_BUFFER_SIZE_1 (MP_INT_TYPE_SIZE * 6)
214206 #define MP_DIGIT_BUFFER_MONT_SIZE (sizeof(fp_digit)*(FP_SIZE + 1))
215207 #endif
You can’t perform that action at this time.
0 commit comments