Re: [openssl-dev] [openssl.org #3928] openssl version 1.0.2c compilation error for 32 bit

2015-07-02 Thread Amit Shil via RT
Hello OpenSSL,

Thank you for your quick response.
I could compile 64 bit with VS2008 but getting error for 32 bit.I think NASM is 
already there with VS2008.

However I will download and try with NASM once.





Sent from Samsung Mobile

 Original message 
Subject: Re: [openssl-dev] [openssl.org #3928] openssl version 1.0.2c 
compilation error for 32 bit 
From: Kurt Cancemi via RT  
To: amits...@rocketmail.com 
CC: openssl-dev@openssl.org 

NASM (http://nasm.us) is the only officially supported assembler for
OpenSSL on Windows. So install NASM and add it to your path and then
retry.
--
Kurt Cancemi
https://www.x64architecture.com


On Thu, Jul 2, 2015 at 11:19 AM, Amit Shil via RT  wrote:
>   Hello OpenSSL,
> I can compile openssl version 1.0.2c for  64 bits successfully but getting 
> following error while compiling for 32 bits.Could you please help me in the 
> issue.
> ml /nologo /Cp /coff /c /Cx /Zi /Fotmp32dll\sha1-586.obj 
>tmp32dll\sha1-586.asm Assembling: 
>tmp32dll\sha1-586.asmtmp32dll\sha1-586.asm(1427) : error A2070:invalid 
>instruction operandstmp32dll\sha1-586.asm(1571) : error A2070:invalid 
>instruction operandsNMAKE : fatal error U1077: '"C:\Program Files 
>(x86)\Microsoft Visual Studio 9.0\VC\BIN\ml.EXE"' : return code '0x1'Stop.
> Please find below my Compiling Environment:
>
> 1. Compiler VS20082.Windows 7 64 Bit SP13. ActivePerl-5.20.2.2001
> Is there any specific steps I need to follow for compiling for 32 bits.
> Thanks in advance!!
> Best RegardsAmit
>
> ___
> openssl-bugs-mod mailing list
> openssl-bugs-...@openssl.org
> https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
> ___
> 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] [openssl.org #3928] openssl version 1.0.2c compilation error for 32 bit

2015-07-02 Thread Kurt Cancemi via RT
NASM (http://nasm.us) is the only officially supported assembler for
OpenSSL on Windows. So install NASM and add it to your path and then
retry.
--
Kurt Cancemi
https://www.x64architecture.com


On Thu, Jul 2, 2015 at 11:19 AM, Amit Shil via RT  wrote:
>   Hello OpenSSL,
> I can compile openssl version 1.0.2c for  64 bits successfully but getting 
> following error while compiling for 32 bits.Could you please help me in the 
> issue.
> ml /nologo /Cp /coff /c /Cx /Zi /Fotmp32dll\sha1-586.obj 
> tmp32dll\sha1-586.asm Assembling: 
> tmp32dll\sha1-586.asmtmp32dll\sha1-586.asm(1427) : error A2070:invalid 
> instruction operandstmp32dll\sha1-586.asm(1571) : error A2070:invalid 
> instruction operandsNMAKE : fatal error U1077: '"C:\Program Files 
> (x86)\Microsoft Visual Studio 9.0\VC\BIN\ml.EXE"' : return code '0x1'Stop.
> Please find below my Compiling Environment:
>
> 1. Compiler VS20082.Windows 7 64 Bit SP13. ActivePerl-5.20.2.2001
> Is there any specific steps I need to follow for compiling for 32 bits.
> Thanks in advance!!
> Best RegardsAmit
>
> ___
> openssl-bugs-mod mailing list
> openssl-bugs-...@openssl.org
> https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
> ___
> 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] [openssl.org #3928] openssl version 1.0.2c compilation error for 32 bit

2015-07-02 Thread Kurt Cancemi
NASM (http://nasm.us) is the only officially supported assembler for
OpenSSL on Windows. So install NASM and add it to your path and then
retry.
--
Kurt Cancemi
https://www.x64architecture.com


On Thu, Jul 2, 2015 at 11:19 AM, Amit Shil via RT  wrote:
>   Hello OpenSSL,
> I can compile openssl version 1.0.2c for  64 bits successfully but getting 
> following error while compiling for 32 bits.Could you please help me in the 
> issue.
> ml /nologo /Cp /coff /c /Cx /Zi /Fotmp32dll\sha1-586.obj 
> tmp32dll\sha1-586.asm Assembling: 
> tmp32dll\sha1-586.asmtmp32dll\sha1-586.asm(1427) : error A2070:invalid 
> instruction operandstmp32dll\sha1-586.asm(1571) : error A2070:invalid 
> instruction operandsNMAKE : fatal error U1077: '"C:\Program Files 
> (x86)\Microsoft Visual Studio 9.0\VC\BIN\ml.EXE"' : return code '0x1'Stop.
> Please find below my Compiling Environment:
>
> 1. Compiler VS20082.Windows 7 64 Bit SP13. ActivePerl-5.20.2.2001
> Is there any specific steps I need to follow for compiling for 32 bits.
> Thanks in advance!!
> Best RegardsAmit
>
> ___
> openssl-bugs-mod mailing list
> openssl-bugs-...@openssl.org
> https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
> ___
> 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


[openssl-dev] [openssl.org #3928] openssl version 1.0.2c compilation error for 32 bit

2015-07-02 Thread Amit Shil via RT
  Hello OpenSSL,
I can compile openssl version 1.0.2c for  64 bits successfully but getting 
following error while compiling for 32 bits.Could you please help me in the 
issue.
        ml /nologo /Cp /coff /c /Cx /Zi /Fotmp32dll\sha1-586.obj 
tmp32dll\sha1-586.asm Assembling: 
tmp32dll\sha1-586.asmtmp32dll\sha1-586.asm(1427) : error A2070:invalid 
instruction operandstmp32dll\sha1-586.asm(1571) : error A2070:invalid 
instruction operandsNMAKE : fatal error U1077: '"C:\Program Files 
(x86)\Microsoft Visual Studio 9.0\VC\BIN\ml.EXE"' : return code '0x1'Stop.
Please find below my Compiling Environment:

1. Compiler VS20082.Windows 7 64 Bit SP13. ActivePerl-5.20.2.2001
Is there any specific steps I need to follow for compiling for 32 bits.
Thanks in advance!!
Best RegardsAmit 
___
openssl-bugs-mod mailing list
openssl-bugs-...@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] opnssl version 1.0.2c compilation error for 32 bit

2015-07-02 Thread Amit Shil
  Hello OpenSSL,
I can compile openssl version 1.0.2c for  64 bits successfully but getting 
following error while compiling for 32 bits.Could you please help me in the 
issue.
        ml /nologo /Cp /coff /c /Cx /Zi /Fotmp32dll\sha1-586.obj 
tmp32dll\sha1-586.asm Assembling: 
tmp32dll\sha1-586.asmtmp32dll\sha1-586.asm(1427) : error A2070:invalid 
instruction operandstmp32dll\sha1-586.asm(1571) : error A2070:invalid 
instruction operandsNMAKE : fatal error U1077: '"C:\Program Files 
(x86)\Microsoft Visual Studio 9.0\VC\BIN\ml.EXE"' : return code '0x1'Stop.
Please find below my Compiling Environment:

1. Compiler VS20082.Windows 7 64 Bit SP13. ActivePerl-5.20.2.2001
Is there any specific steps I need to follow for compiling for 32 bits.
Thanks in advance!!
Best RegardsAmit ___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] Old "RSA_NET" key format

2015-07-02 Thread Salz, Rich
We are thinking about removing the old "RSA_NET" format for private keys.  This 
is used by very old Netscape and IIS.
This would remove the d2i/i2d RSA_NET API's, and the "nss" format flag from the 
openssl program.  It would not remove the SPKI stuff.
If this would cause a problem for you, please respond soon.

--
Senior Architect, Akamai Technologies
IM: richs...@jabber.at Twitter: RichSalz

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #3922] Bug: EVP_get_digestbynid() does not support ECDSA

2015-07-02 Thread David von Oheimb via RT
Thanks a lot Steve for your constructive comments.

> That's expected behaviour. The EVP_get_digestbynid funtion expects a digest 
> NID
> whereas you are passing a signature NID instead. It does accept some signature
> NIDs for historical compatibility reasons.

I now understand that the code I extended for EC support was abusing
EVP_get_digestbynid(), which worked just for compatibility reasons for
RSA (only). Yet why not broaden this function (or better its underlying
mapping) to handle ECDSA (and possibly any other types of) signatures.

> The thread you mention shows you how to convert a signature NID into the 
> digest
> and public key algorithm NID.

The hint you gave in that thread was to use  OBJ_find_sigid_algs()
and this indeed works fine and is cleaner :-)

> However I suspect you shouldn't be trying to do things at that level for
> signatures. If you need to sign or verify ASN.1 data you can use 
> ASN1_item_sign
> or ASN1_item_verify and key and digest handling and lookup is handled 
> automatically.

Good point that they better should have used a more high-level
signature/verification function. Yet the proposed functions, as well as
ASN1_sign and ASN1_verify, still require the (plain) md parameter.
And for instance the more abstract function
  int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si)
uses again
  md = EVP_get_digestbyobj(si->digest_alg->algorithm);
such that the use of OBJ_find_sigid_algs() appears indispensable.

David.


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] AES-GCM for ARM: what is the status of the new work published by

2015-07-02 Thread nikolavan
Hi,
What is the status of the improvements on security and performance for 
AES-GCM on ARM published recently by Conrado P. L. Gouvêa, Julio López ?
Implementing GCM on ARMv8. Conrado P. L. Gouvêa, Julio López. 2015 [1]Which 
details also the ARMv7 case, and was presented at the RSA Conference 2015 in 
the US, 2 months ago.The paper is here [2].The code is available here [3]
My question goes primarily to Andy Polyakov.
Is there any plan for integrating the code into openssl ?
Best regards,
Niko

[1] 
https://www.rsaconference.com/writable/presentations/file_upload/cryp-w01-secure-and-efficient-implementation-of-aes-based-cryptosystems.pdf

[2] http://conradoplg.cryptoland.net/files/2010/12/gcm14.pdf

[3] https://github.com/conradoplg/authenc


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev