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

Reply via email to