<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The controls are easier to understand and use currently.<div class="">The advantage of params is that you can batch them, so that the order no longer matters during setup (e.g- I need to set EVP_MD first).</div><div class=""><br class=""><div class="">The params are not being used in anger yet.</div><div class="">My main problem with the params is that no data is set into them - only pointers to the data blob.</div><div class="">I find this to be a confusing interface which hurts my (tiny) brain (especially with types like strings)</div><div class="">I would prefer base types (like int to just be embedded in the set data - even if that meant allocs are needed).</div><div class="">My concern is that is the end user is supposed to use what we have currently, there are going to be many issues.</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Shane<br class=""></div></div><div class=""><br class="webkit-block-placeholder"></div><div><blockquote type="cite" class=""><div class="">On 4 Jun 2019, at 4:12 pm, Dr Paul Dale <<a href="mailto:paul.dale@oracle.com" class="">paul.dale@oracle.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">A question for the committers and beyond.<div class=""><br class=""></div><div class="">Should the OSSL_PARAM concept be used for more than just the libcrypto ⇿ provider interface?</div><div class=""><br class=""></div><div class="">The one that springs to mind is a more general form of the various ctrl calls, there are some string ctrl calls that attempt to do the same thing in a less structured manner.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thoughts?</div><div class=""><br class=""></div><div class="">Pauli<br class=""><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">-- <br class="">Dr Paul Dale | Cryptographer | Network Security & Encryption <br class="">Phone +61 7 3031 7217<br class="">Oracle Australia</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>

<br class=""></div></div></div></blockquote></div><br class=""></div></div></body></html>