Re: Building OpenSSL with Emscripten

2019-05-20 Thread J Decker
https://stackoverflow.com/questions/52327290/linking-openssl-with-webassembly Looks very similar... 'target_link_libraries(mainTest crypto) after that it all worked without warnings.' On Mon, May 20, 2019 at 1:56 AM Richard Levitte wrote: > The issue isn't with any defined or not so defined

Re: Building OpenSSL with Emscripten

2019-05-20 Thread Richard Levitte
The issue isn't with any defined or not so defined macro, but most probably rather with how you're loading the library in the 3rd party code base. Could it be that you're linking with libssl only? Cheers, Richard On Fri, 10 May 2019 22:29:36 +0200, Sunghyun Park wrote: > > Hi, all. Thanks for

Re: Building OpenSSL with Emscripten

2019-05-10 Thread Sunghyun Park
Hi, all. Thanks for your help, I could finish compilation to the end. However, athough I successfully compiled with _no-asm_ options, I found a problem when loading the compiled library in the 3rd party code base. When looking into the source code, the definition of some function seems to require

Re: Building OpenSSL with Emscripten

2019-05-10 Thread Sunghyun Park
I realized I made a mistake when I tried that option before. Now it works great. Thank you! :) On Thu, May 9, 2019 at 10:43 PM Dr Paul Dale wrote: > Configure with the _no-asm_ option. > > It will be a **lot** slower. > > > Pauli > -- > Dr Paul Dale | Cryptographer | Network Security &

Re: Building OpenSSL with Emscripten

2019-05-10 Thread Jakob Bohm via openssl-users
By the way, has anyone worked on a feature or patch to use browser provided crypto functions (WebCrypto etc.) when compiled to pseudo-javascript via EmScripten or WebAssembly? On 10/05/2019 07:43, Dr Paul Dale wrote: Configure with the _no-asm_ option. It will be a **lot** slower. On 10 May

Re: Building OpenSSL with Emscripten

2019-05-09 Thread Dr Paul Dale
Configure with the _no-asm_ option. It will be a **lot** slower. Pauli -- Dr Paul Dale | Cryptographer | Network Security & Encryption Phone +61 7 3031 7217 Oracle Australia > On 10 May 2019, at 3:33 pm, Sunghyun Park wrote: > > Nice to meet you all :) > > I faced a problem while

Building OpenSSL with Emscripten

2019-05-09 Thread Sunghyun Park
Nice to meet you all :) I faced a problem while building assembly code in OpenSSL (e.g., crypto/x86_64cpuid.s) with Emscripten. Since Emscripten does not support compilation for assembly code (As far as I know), I'm wondering if there is any version of OpenSSL that does not require compiling