Yesterday, Nick Mathewson wrote:
One thing that you should try is seeing whether the latest 0.2.4.x release does any better for you. In particular, I'd recommend trying the just-released 0.2.4.16-rc, with openssl 1.0.1e, and make sure that openssl 1.0.1e was built with the -enable-ec_nistp_64_gcc_128 option if possible. (I see you're already using 1.0.1e, but it doesn't appear to have been built with that option.)
When I try to build openssl with this option on my Raspian system, I get
*ecp_nistp224.c:43:3: error: unknown type name ‘__uint128_t’
* It would be helpful for me to get some guidance from someone who has done this on Raspbian.
Regards, Harold
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Harold,
I'm not sure ARMv6 has the possibility to typedef a __uint128_t, which would make compiling your openssl with --enable-ec_nistp_64_gcc_128 impossible.
I have nothing to back up those claims however, it is just a hunch. Someone else should confirm, if he/she has better knowledge.
Regards,
Martin
On 06.09.2013 13:36, Harold Naparst wrote:
Yesterday, Nick Mathewson wrote:
One thing that you should try is seeing whether the latest 0.2.4.x release does any better for you. In particular, I'd recommend trying the just-released 0.2.4.16-rc, with openssl 1.0.1e, and make sure that openssl 1.0.1e was built with the -enable-ec_nistp_64_gcc_128 option if possible. (I see you're already using 1.0.1e, but it doesn't appear to have been built with that option.)
When I try to build openssl with this option on my Raspian system, I get
/ecp_nistp224.c:43:3: error: unknown type name ?__uint128_t?
/ It would be helpful for me to get some guidance from someone who has done this on Raspbian.
Regards, Harold
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
On Fri, Sep 6, 2013 at 9:12 AM, Martin Weinelt tor@linuxlounge.net wrote:
On 06.09.2013 13:36, Harold Naparst wrote:
/ecp_nistp224.c:43:3: error: unknown type name ?__uint128_t?
I'm not sure ARMv6 has the possibility to typedef a __uint128_t, which would make compiling your openssl with --enable-ec_nistp_64_gcc_128 impossible.
There are three equally plausible scenarios: Your compiler doesn't support 128-bit unsigned integers; your compiler does support them, but OpenSSL is being compiled with the wrong command-line options, so they're disabled; or the actual source code is making assumptions about _how to get at the 128-bit unsigned integer type_ which are incorrect.
I don't know which scenario you're in, but I can help you find out. Look through the compilation logs for openssl and find out the exact set of command-line options given to gcc to compile ecp_nistp224.c. Then, using the same set of options, except replacing -c with -S and removing '-o whatever.o' if present, compile this test program:
typedef unsigned int __attribute__((mode(TI))) uint128_t; const __SIZE_TYPE__ n = sizeof(uint128_t);
If this fails to compile, post the command line and the *unedited* error messages. If it compiles successfully, post the command line and the *unedited* .s file.
zw
tor-relays@lists.torproject.org