Dear Gilles,
I will have a look and let you know,
but my own experience, particularly with openssl, is that it is easier
to fork than to merge.
And I highly prefer to "try-to-directly" merge WinXX code into openssl
mainstream, by submitting patches through the dev-team mailing list or
rt-process,
even if it is sometimes a very slow process,
so that, at each time and new openssl version,
winXX users can get access to the most recent version of openssl.
My last patch shown that only a very very few code changes are necessary
to get a functionnal openssl lib for WCE/w32:
this is because a very good wce/w32 patch integration job was performed
by Andy Poliakov at the time of the 2350 rt-ticket.
The openssl toolchain is also quite stable now for WCE/w32, and can work
with ms vc express edition or the good old FREE evc4 compiler for
WCE/WM6/wp7(and probably W8) with SDK420.
I know that W8 phones should theorically be targeted as std win32 (vs
SDK) targets but with specific target processor, so that c code should
roughly be the one of win32 (no need of any flag),
and compiled as such with the proper sdk, and specific CPU should be
managed ONLY by compilation/linking scripts.
Another approach is to directly use my wce patch, with some helping
scripts that can be found here :
http://rt.openssl.org/Ticket/Display.html?id=2350, file "twoscripts.zip"...
I will review your git repository,
thank you very much for this integration effort.
Yours sincerely
Pierre
Le 12/11/2014 21:03, Gilles Khouzam a écrit :
Stefan, Pierre,
Have you looked at our openSSL fork for Windows Phone and Windows Store?
http://github.com/microsoft/openSSL
We have make the changes to build for both mobile platforms. Including changes
to the test suite, build environment and scripts. I would love to converge on
one implementation that can be used and merged appropriately. We would love to
get your feedback.
Thanks
-----Original Message-----
From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On
Behalf Of Pierre
Sent: Wednesday, November 12, 2014 07:02
To: openssl-dev@openssl.org
Subject: Re: AW: [openssl.org #3598] Windows Phone & OpenSSL.
Le 12 nov. 2014 à 14:41, "stefan.n...@t-online.de" <stefan.n...@t-online.de> a
écrit :
Hello,
I think that my patched version for WCE should work for windows phone :
https://www.mail-archive.com/openssl-dev@openssl.org/msg35958.html
Mostly (probably) yes, however (see my patch), I don't think the
random number generation used for WCE works for Windows Phone and I
really think you need "FindFirstFileExW" instead of "FindFirstFileW"
on Windows Phone. And I don't believe you still need _all_ the
workarounds used for WCE compared to standard Win32 (leaving aside the
question of whether or not using the Win32 branch instead of the WCE
branch gives you any real benefit in most of these situations).
keeping compatibility with wce and wp7 phones is very easy with my code.
and it will work for w8.
but we have to agree on some algorithmic approach before coding anything.
I think the main question is : where to find some random noise on a phone..(or,
remember, any kind of winXX based lightweight terminal) and then, hopefully,
find some code as generic as possible for wce, wm5, wm6,wp7, w8...and hopefully
very close to desktop w32.
Personnally I would avoid any w8 specific code.
About random numbers generation, see that (still open) discussion and
suggestions...:
https://www.mail-archive.com/openssl-dev@openssl.org/msg36812.html
But that's only relevant for standard windows desktop and neither for
WCE nor for windows phone, isn't it? At least it seems to happen
inside the !defined(OPENSSL_SYS_WINCE) block.
sure...but I suggested various ways to have something better than nothing....
the w32 code could work for wce with limited adaptation, but with very limited
entropy due to the quasi constant state of the screen on phones.
every suggestion is welcome...
Regards,
Stefan
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majord...@openssl.org
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majord...@openssl.org
:��I"Ϯ��r�m����(���Z+�7�zZ)���1���x��h���W^��^��%��
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majord...@openssl.org