<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Look at some of the changes to pull in Poly1305 and SipHash in to EVP:
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/openssl/openssl/commit/52ad5b60e3a1fef12a1a5ea01527a90b8f92a34b" class="">https://github.com/openssl/openssl/commit/52ad5b60e3a1fef12a1a5ea01527a90b8f92a34b</a></div>
<div class=""><a href="https://github.com/openssl/openssl/commit/3f5616d734a92fdf99ab827f21e5b6cab85e7194" class="">https://github.com/openssl/openssl/commit/3f5616d734a92fdf99ab827f21e5b6cab85e7194</a></div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">--</div>
<div class="">-Todd Short</div>
<div class="">// <a href="mailto:tshort@akamai.com" class="">tshort@akamai.com</a></div>
<div class="">// "One if by land, two if by sea, three if by the Internet."</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Feb 22, 2017, at 11:00 PM, Schmicker, Robert <<a href="mailto:rschm2@unh.newhaven.edu" class="">rschm2@unh.newhaven.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="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-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Hello,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I successfully managed to integrate an encryption cipher into the EVP and has been<span class="Apple-converted-space"> </span><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">tested to work and now I'd like to get some speed tests of the cipher using openssl's<span class="Apple-converted-space"> </span><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">integrated speed test via the command line with the "-evp" flag.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">What I've done so far to try and integrate it into openssl's speed test....</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">1) Confirmed EVP_mycipher() works</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">2) Noticed ./apps/speed.c was calling:</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">        <span class="Apple-converted-space"> </span><span class="x_pl-k">case</span><span class="Apple-converted-space"> </span>OPT_EVP:<span class="Apple-converted-space"> </span><br class="">
</div>
                         evp_cipher =<span class="Apple-converted-space"> </span><span class="x_pl-c1">EVP_get_cipherbyname</span>(<span class="x_pl-c1">opt_arg</span>());<br class="">
<br class="">
3) Then modified ./crypto/objects/objects.txt to include the necessary defines<br class="">
<div class="">         # Mycipher<br class="">
                       : MYCIPHER             : mycipher<br class="">
<br class="">
4) Edited crypto/evp/c_allc.c to include my cipher in the loading of all ciphers<br class="">
<br class="">
EVP_add_cipher(EVP_mycipher());<br class="">
EVP_add_cipher_alias(SN_mycipher, "mycipher");<br class="">
<br class="">
5) Ran a make update then make and saw all necessary defines were generated<br class="">
<br class="">
However, the speed test cannot find my cipher because<span class="Apple-converted-space"> </span><span class="x_pl-c1">EVP_get_cipherbyname</span>()<br class="">
returns NULL.<span class="Apple-converted-space"> </span><br class="">
<br class="">
Am I missing a step here or did I mis-configure something?<br class="">
<br class="">
It seems as if there's something to edit to tie the NID/SN/LN_mycipher to the algorithm.<br class="">
<br class="">
Any help is much appreciated!<br class="">
<br class="">
Rob Schmicker<br class="">
</div>
</div>
<br class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</div>
<span style="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-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="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-stroke-width: 0px;" class="">
<span style="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-stroke-width: 0px; float: none; display: inline !important;" class="">openssl-dev
 mailing list</span><br style="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-stroke-width: 0px;" class="">
<span style="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-stroke-width: 0px; float: none; display: inline !important;" class="">To
 unsubscribe:<span class="Apple-converted-space"> </span></span><a href="https://mta.openssl.org/mailman/listinfo/openssl-dev" style="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-stroke-width: 0px;" class="">https://mta.openssl.org/mailman/listinfo/openssl-dev</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>