Re: [openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Viktor Dukhovni
On Mon, Feb 19, 2018 at 01:45:26PM -0800, Norm Green wrote: > # ASN1_LONG_DATA: > #   success: TRUE > t@1 (l@1) signal BUS (invalid address alignment) in asn1_item_print_ctx at > line 155 in file "tasn_prn.c" >   155  || (it->utype != V_ASN1_BOOLEAN)) && *fld == NULL) { Perhaps aligning

Re: [openssl-users] How to make OpenSSL engine usage application specific?

2018-02-19 Thread Paul Dale
Try RSA_new_method when allocating the RSA_METHOD.  It takes an engine argument which will be used for related operations.   Pauli -- Oracle Dr Paul Dale | Cryptographer | Network Security & Encryption Phone +61 7 3031 7217 Oracle Australia   From: Jayalakshmi bhat

Re: [openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Norm Green
For the failure in secmemtst, it appears that secure memory is not enabled per this code in ./crypto/mem_sec.c  23 /* e_os.h includes unistd.h, which defines _POSIX_VERSION */  24 #if !defined(OPENSSL_NO_SECURE_MEMORY) && defined(OPENSSL_SYS_UNIX) \  25 && defined(_POSIX_VERSION) &&

Re: [openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Norm Green
You are correct, we are getting a SIGBUS.  Solaris SPARC does not allow unaligned data access: (dbx) run Running: asn1_encode_test (process id 11159) Reading libc_psr.so.1 Reading libscf.so.1 Reading libdoor.so.1 Reading libuutil.so.1 Reading libgen.so.1 Reading libmd.so.1 Reading libmp.so.2

Re: [openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Viktor Dukhovni
> On Feb 19, 2018, at 4:20 PM, Norm Green wrote: > > /export/localnew/sparc.Solaris/bin/gmake depend && > /export/localnew/sparc.Solaris/bin/gmake _tests > gmake[1]: Entering directory > '/hamburg4/users/normg/gs64trunk/slow10/openssl_1.1' > gmake[1]: Leaving

Re: [openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Norm Green
The output is not too long. /export/localnew/sparc.Solaris/bin/gmake depend && /export/localnew/sparc.Solaris/bin/gmake _tests gmake[1]: Entering directory '/hamburg4/users/normg/gs64trunk/slow10/openssl_1.1' gmake[1]: Leaving directory '/hamburg4/users/normg/gs64trunk/slow10/openssl_1.1'

Re: [openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Benjamin Kaduk via openssl-users
On 02/19/2018 02:06 PM, Norm Green wrote: > Not sure if this is expected on this platform? > > Test Summary Report > --- > ../test/recipes/04-test_asn1_encode.t    (Wstat: 256 Tests: 1 > Failed: 1) >   Failed test:  1 >   Non-zero exit status: 1 >

[openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

2018-02-19 Thread Norm Green
Not sure if this is expected on this platform? Test Summary Report --- ../test/recipes/04-test_asn1_encode.t    (Wstat: 256 Tests: 1 Failed: 1)   Failed test:  1   Non-zero exit status: 1 ../test/recipes/90-test_secmem.t (Wstat: 256 Tests: 1 Failed: 1)

Re: [openssl-users] DTLS over UDP

2018-02-19 Thread Michael Richardson
Nivedita wrote: >> Nivedita wrote: >>> I am trying to establish DTLS over UDP connection by using >>> DTLSv1_listen method . >>> I have followed the below steps - 1. Created a server socket >>> and using >>>

[openssl-users] How to make OpenSSL engine usage application specific?

2018-02-19 Thread Jayalakshmi bhat
Hello All, We have 2 RSA OpenSSL engines in our product. Both the engines performs same RSA encyrpt/decrypt operations. For easy explaination I am naming engines as 1. RSA smart card engine 2. RSA TPM engine Engine usage is application specific.There are couple of applications dependent on RSA