mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-02 06:10:29 +00:00
Fix mips64 bignum implementation
- Use correct mips64 define (__mips64, not __mips64__). - Added mips64 to the list of arches supporting 64-bit ints.
This commit is contained in:
parent
2dc15c8e7d
commit
b82f59162c
|
@ -24,6 +24,7 @@ Bugfix
|
||||||
in 1.2.12).
|
in 1.2.12).
|
||||||
* Fix unchecked return code in x509_crt_parse_path() on Windows (found by
|
* Fix unchecked return code in x509_crt_parse_path() on Windows (found by
|
||||||
Peter Vaskovic).
|
Peter Vaskovic).
|
||||||
|
* Fix assembly selection for MIPS64 (thanks to James Cowgill).
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Blind RSA private operations even when POLARSSL_RSA_NO_CRT is defined.
|
* Blind RSA private operations even when POLARSSL_RSA_NO_CRT is defined.
|
||||||
|
|
|
@ -133,7 +133,7 @@ typedef uint32_t t_udbl;
|
||||||
defined(__ppc64__) || defined(__powerpc64__) || \
|
defined(__ppc64__) || defined(__powerpc64__) || \
|
||||||
defined(__ia64__) || defined(__alpha__) || \
|
defined(__ia64__) || defined(__alpha__) || \
|
||||||
(defined(__sparc__) && defined(__arch64__)) || \
|
(defined(__sparc__) && defined(__arch64__)) || \
|
||||||
defined(__s390x__) ) )
|
defined(__s390x__) || defined(__mips64) ) )
|
||||||
typedef int64_t t_sint;
|
typedef int64_t t_sint;
|
||||||
typedef uint64_t t_uint;
|
typedef uint64_t t_uint;
|
||||||
typedef unsigned int t_udbl __attribute__((mode(TI)));
|
typedef unsigned int t_udbl __attribute__((mode(TI)));
|
||||||
|
|
|
@ -680,7 +680,7 @@
|
||||||
);
|
);
|
||||||
#endif /* Alpha */
|
#endif /* Alpha */
|
||||||
|
|
||||||
#if defined(__mips__) && !defined(__mips64__)
|
#if defined(__mips__) && !defined(__mips64)
|
||||||
|
|
||||||
#define MULADDC_INIT \
|
#define MULADDC_INIT \
|
||||||
asm( \
|
asm( \
|
||||||
|
|
Loading…
Reference in a new issue