Re: [openssl-users] M_ASN1_D2I_* replacement in OpenSSL 1.1.0

2016-09-20 Thread Dr. Stephen Henson
On Tue, Sep 20, 2016, Aleksandr Konstantinov wrote: > Hello, > > Thanks a lot. One more question if possible. Is there any way to express > single element of the ASN1 sequence which can be any > of ASN1_OCTET_STRING or ASN1_UTF8STRING and potentially other types? That depends what you mean. If t

Re: [openssl-users] M_ASN1_D2I_* replacement in OpenSSL 1.1.0

2016-09-20 Thread Erwann Abalea
Bonjour, Something like this? /* MyChoice ::= CHOICE { anInteger INTEGER, anOctetString OCTET STRING anASCIIString IA5STRING } MyStruct ::= SEQUENCE { item1 MyChoice } */ __ File mytypes.h __ #include #define ASN1_OBJECT_dup(x) ASN1_dup_of(ASN1_OBJECT,i2d_ASN1_OBJECT,d2i_ASN1_OBJE

Re: [openssl-users] Building OpenSSL Library on ARM Cortex M4 based STM32F4 controller in an RTOS environment

2016-09-20 Thread Steve Marquess
On 09/20/2016 12:22 AM, Jinu Jayachandran wrote: > Hi, > > > > I am looking at the feasibility of developing an embedded Bluetooth > application with OpenSSL-FIPS support on STM32F407 microcontroller(which > is ARM Cortex M4 based). The application doesn't run on generic OS like > Linux, Window

Re: [openssl-users] M_ASN1_D2I_* replacement in OpenSSL 1.1.0

2016-09-20 Thread Aleksandr Konstantinov
Hello, Thanks a lot. One more question if possible. Is there any way to express single element of the ASN1 sequence which can be any of ASN1_OCTET_STRING or ASN1_UTF8STRING and potentially other types? Or maybe there is some tutorial for new interface similar to something like http://www.umich.edu