Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
>> Are we saying that it absolutely will not support ARM7 thumb mode anymore? > > Nobody is saying that. We're saying that if the address-space is 16bit, > openssl will not work. 16-bit in original request refers to instructions' size, not address space. But it's actually a misnomer, as Thumb, or at least its ARMv7 flavour, is a *mixture* of 16- and 32-bit instructions. Again, 16- and 32-bit *sized* instructions, not address space. OpenSSL fully supports AVMv7 Thumb, a.k.a. Thumb2, all the way down to assembly pack. If compiler doesn't generate Thumb2 code by default, then it might be necessary to pass additional arch-specific flag[s] as additional argument to ./Configure. This is discussed in commentary around linux-armv4 config-line in Configurations/10-main.cf in master/1.1.0 or Configre in 1.0.2. As for cross compilation, it's discussed in INSTALL, look for --cross-compile-prefix. Well, to be completely accurate, everything said above implies that compiler is gcc. ARM's compiler was never tested, but nobody complained so far... -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
Viktor, Thank you so very much for that - I will definitely look into that. -- Sean Graham On Mon, Dec 19, 2016 at 2:16 PM, Viktor Dukhovniwrote: > > > On Dec 19, 2016, at 2:07 PM, Salz, Rich wrote: > > > >> Are we saying that it absolutely will not support ARM7 thumb mode > anymore? > > > > Nobody is saying that. We're saying that if the address-space is 16bit, > openssl will not work. > > > >> Wouldn't the generic C-only version (no ASM) support pretty much any > platform? > > > > Probably. > > For ARM platforms, especially on resource-constrainted variants, the OP is > most likelyh better of with mbedTLS: > > https://tls.mbed.org/ > > -- > Viktor. > > -- > openssl-dev mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev > -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
Hi Guys, My apologies for the blunt reply -- merely trying to be clear -- and thank you for your answers! Would anyone happen to have any reference material that I could look at which would help me along this line? I apologize for the newb questions. Specifically I already have a gcc toolchain with makefile support for this processor and environment. Is it possible to configure to use this toolchain in "C only" mode for initial testing? OpenSSL's custom make environment is a bit confusing. -- Sean Graham On Mon, Dec 19, 2016 at 2:07 PM, Salz, Richwrote: > > Are we saying that it absolutely will not support ARM7 thumb mode > anymore? > > Nobody is saying that. We're saying that if the address-space is 16bit, > openssl will not work. > > > Wouldn't the generic C-only version (no ASM) support pretty much any > platform? > > Probably. > > > -- > openssl-dev mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev > -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
> On Dec 19, 2016, at 2:07 PM, Salz, Richwrote: > >> Are we saying that it absolutely will not support ARM7 thumb mode anymore? > > Nobody is saying that. We're saying that if the address-space is 16bit, > openssl will not work. > >> Wouldn't the generic C-only version (no ASM) support pretty much any >> platform? > > Probably. For ARM platforms, especially on resource-constrainted variants, the OP is most likelyh better of with mbedTLS: https://tls.mbed.org/ -- Viktor. -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
> Are we saying that it absolutely will not support ARM7 thumb mode anymore? Nobody is saying that. We're saying that if the address-space is 16bit, openssl will not work. > Wouldn't the generic C-only version (no ASM) support pretty much any platform? Probably. -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
We are saying that we don't support 16-bit platforms and haven't really done so for a long time. The C-only version is no exception. However, the response was that 32- and 64-bit operations and numbers are supported on that device, so it should still be possible to play with. Cheers, Richard In message
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
Are we saying that it absolutely will not support ARM7 thumb mode anymore? Wouldn't the generic C-only version (no ASM) support pretty much any platform? -- Sean Graham On Mon, Dec 19, 2016 at 1:39 PM, Richard Levittewrote: > In message <72e690f1b12147588b1dc3e7ee93c...@usma1ex-dag1mb1.msg.corp. > akamai.com> on Mon, 19 Dec 2016 18:22:30 +, "Salz, Rich" < > rs...@akamai.com> said: > > rsalz> > rsalz> > I have an embedded device which runs an ARM7T armv4t 16-bit thumb > platform. > rsalz> > rsalz> I don't think openssl ever really ran on 16bit. > > It certainly doesn't any more. It did, though, a long time ago. > > -- > Richard Levitte levi...@openssl.org > OpenSSL Project http://www.openssl.org/~levitte/ > -- > openssl-dev mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev > -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
In message <72e690f1b12147588b1dc3e7ee93c...@usma1ex-dag1mb1.msg.corp.akamai.com> on Mon, 19 Dec 2016 18:22:30 +, "Salz, Rich"said: rsalz> rsalz> > I have an embedded device which runs an ARM7T armv4t 16-bit thumb platform. rsalz> rsalz> I don't think openssl ever really ran on 16bit. It certainly doesn't any more. It did, though, a long time ago. -- Richard Levitte levi...@openssl.org OpenSSL Project http://www.openssl.org/~levitte/ -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
Hi! Thanks for the reply - I didn't think it actually made the mailing list. The thumb platform supports all 32-bit operations and even 64-bit numbers, so I wouldn't expect it to be a problem. The ./Configure does explicitly talk about thumb mode compiling, so I imagine there must be support for it. -- Sean Graham On Mon, Dec 19, 2016 at 1:22 PM, Salz, Richwrote: > > > I have an embedded device which runs an ARM7T armv4t 16-bit thumb > platform. > > I don't think openssl ever really ran on 16bit. > -- > openssl-dev mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev > -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] Cross compiling openssl for an old ARM environment - howto?
> I have an embedded device which runs an ARM7T armv4t 16-bit thumb platform. I don't think openssl ever really ran on 16bit. -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev