Re: [openssl-users] openssl cms -decrypt failing due to malloc(3) failure

2018-08-02 Thread Christian Böhme
of samples. My original impression was that those tools represented some kind of reference implementation of the libraries. Clearly, I was wrong ;-) Thanks, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbrücker Str. 96 (Hal

Re: [openssl-users] openssl cms -decrypt failing due to malloc(3) failure

2018-08-01 Thread Christian Böhme
able to learn the type and size requirements of the data to come in the stream /before/ processing it, allowing the "processor" to take appropriate measures, and not necessarily in RAM alone. Thanks, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Techno

Re: [openssl-users] openssl cms -decrypt failing due to malloc(3) failure

2018-07-30 Thread Christian Böhme
ess' address space, ignoring possible limits. Thanks, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbrücker Str. 96 (Halle 15) | 01099 Dresden Tel: +49 351 479 3670 - 100 Fax: +49 351 479 3670 - 110 E-Mail: christian.b

[openssl-users] openssl cms -decrypt failing due to malloc(3) failure

2018-07-28 Thread Christian Böhme
into. Is this intentional behaviour? Both commands work when the plaintext file is half the size, i.e. 1 GiB, BTW. Thanks, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbrücker Str. 96 (Halle 15) | 01099 Dresden Tel: +49 351 479 3670 - 100 Fax: +49

Re: [openssl-users] openssl asn1parse -length

2018-07-24 Thread Christian Böhme
he case with PKCS#7 > files. Thanks heaps for your input. Much appreciated! Cheers, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbrücker Str. 96 (Halle 15) | 01099 Dresden Tel: +49 351 479 3670 - 100 Fax: +49

[openssl-users] openssl asn1parse -length

2018-07-23 Thread Christian Böhme
512 Error in encoding 140042967262872:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:147: etcpp. The files to test are expected to be at least 512 bytes in size. What's the expected behaviour of the -length option, BTW? Thanks, Christian -- *Christian Böhme

Re: [openssl-users] Authenticated encryption in CMS with OpenSSL

2018-07-20 Thread Christian Böhme
in crypto/evp/evp_lib.c:EVP_CIPHER_param_to_asn1() . I understand that AEAD cipher support for CMS would have to be written from scratch, then. Thanks, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbrücker Str. 96 (Halle 15) | 01099 Dresden Tel: +49

Re: [openssl-users] Authenticated encryption in CMS with OpenSSL

2018-07-20 Thread Christian Böhme
t made its way into the repo, and if so, which branch/tree could it be in? Thanks, Christian -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbrücker Str. 96 (Halle 15) | 01099 Dresden Tel: +49 351 479 3670 - 100 Fax: +49 351 479 3670 -

[openssl-users] Authenticated encryption in CMS with OpenSSL

2018-07-20 Thread Christian Böhme
newer CMS versions? Or is there even a connection between the two, preventing the latter? Thanks, Christian [1] https://tools.ietf.org/html/rfc5083 [2] https://tools.ietf.org/html/rfc3369 -- *Christian Böhme* Developer System Integration CLOUD *CLOUD & HEAT Technologies GmbH* Königsbr