[openssl-dev] [openssl.org #3843] OpenSSL 1.0.1* and below: incorrect use of _lrotl()

Lei Zhang via RT rt at openssl.org
Sun May 24 15:04:20 UTC 2015


> On May 24, 2015, at 3:09 PM, Solar Designer <solar at openwall.com> wrote:
> 
>> So you ought to provide custom line. This remark doesn't mean
>> that fix can't be backported, but out of curiosity, what's your config
>> line?
> 
> Currently, Lei put this into JtR -jumbo README-MIC:
> 
> Build LibreSSL (version 2.1.6):
> $ cd libressl-2.1.6
> $ ./configure CC="icc -mmic" --host=k1om-linux --prefix=$MIC
> $ make && make install
> 
> The previous instructions were:
> 
> Build OpenSSL (version 1.0.0q):
> $ cd openssl-1.0.0q
> $ patch Configure < $JOHN/src/unused/openssl.patch
> $ ./Configure linux-mic shared --prefix=$MIC
> $ make && make install
> 
> I'm not sure what was in $JOHN/src/unused/openssl.patch - I guess it had
> to add linux-mic support.  Lei, please reply to all.

Yes, I added a new target "linux-mic" into Configure, which is slightly modified from "linux-generic64".

>From the original patch:

(...)
 "linux-generic64","gcc:-DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"linux-mic","icc:-mmic -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
(...)


Lei






More information about the openssl-dev mailing list