This is a multi-part message in MIME format.

------_=_NextPart_001_01C6E7F6.6390C7C8
Content-Type: multipart/alternative;
boundary="----_=_NextPart_002_01C6E7F6.6390C7C8"


------_=_NextPart_002_01C6E7F6.6390C7C8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm working on an experiment to see if I can build applications that
treat openssl data structures as opaque, so that they will be more
binary compatible between openssl releases that may or may not change
structure sizes. EVP_MD_CTX has a create/destroy interface so I can
just have a pointer to a EVP_MD_CTX rather than actually embed one in my
stack, EVP_CIPHER_CTX seems to be lacking these interfaces. So attached
in a patch that adds them.

=20

Thanks,

=20

Tracy Camp


------_=_NextPart_002_01C6E7F6.6390C7C8
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

=3D"urn:schemas-microsoft-comfficeffice" =
xmlns:w=3D"urn:schemas-microsoft-comffice:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:10.0pt;
font-family:Arial'>I’m working on an experiment to see if I can =
build
applications that treat openssl data structures as opaque, so that they =
will be
more binary compatible between openssl releases that may or may not =
change
structure sizes.  EVP_MD_CTX has a create/destroy interface so I =
can just have
a pointer to a EVP_MD_CTX rather than actually embed one in my stack,
EVP_CIPHER_CTX seems to be lacking these interfaces.  So attached =
in a patch
that adds them.>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>Tracy Camp>>









------_=_NextPart_002_01C6E7F6.6390C7C8--

------_=_NextPart_001_01C6E7F6.6390C7C8
Content-Type: application/octet-stream;
name="evp_cipher_ctx.patch"
Content-Transfer-Encoding: base64
Content-Description: evp_cipher_ctx.patch
Content-Disposition: attachment;
filename="evp_cipher_ctx.patch"

ZGlmZiAtdSAtciAuL29wZW5zc2wtMC45LjgvY3J5cHRvL2V2cC 9ldnBfZW5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1bnNpZ25lZCBjaGFyICpr
ZXksIHVuc2lnbmVkIGNoYXIgKml2KTsKQEAgLTk4LDYgKzEwMS wxMCBAQAogCiBFVlBfQ0lQSEVS
X0NUWF9pbml0KCkgaW5pdGlhbGl6ZXMgY2lwaGVyIGNvbnRleC BCPGN0eD4uCiAKK0VWUF9DSVBI
RVJfQ1RYX2NyZWF0ZSgpIGFsbG9jYXRlcyBhbmQgaW5pdGlhbG l6ZXMgYSBjaXBoZXIgY29udGV4
dC4KKworRVZQX0NJUEhFUl9DVFhfZGVzdHJveSgpIGNsZWFucy B1cCBhbmQgZGVhbGxvY2F0ZXMg
Y2lwaGVyIGNvbnRleHQgQjxjdHg+LgorCiBFVlBfRW5jcnlwdE luaXRfZXgoKSBzZXRzIHVwIGNp
cGhlciBjb250ZXh0IEI8Y3R4PiBmb3IgZW5jcnlwdGlvbgogd2 l0aCBjaXBoZXIgQjx0eXBlPiBm
cm9tIEVOR0lORSBCPGltcGw+LiBCPGN0eD4gbXVzdCBiZSBpbm l0aWFsaXplZAogYmVmb3JlIGNh
bGxpbmcgdGhpcyBmdW5jdGlvbi4gQjx0eXBlPiBpcyBub3JtYW xseSBzdXBwbGllZAo=

------_=_NextPart_001_01C6E7F6.6390C7C8--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org