<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>#repo-username-link:visited{color:#333333}
#repo-username-link:hover{color:#333333}
#repo-username-link:active{color:#333333}
#branch-name-link:visited{color:#333333}
#branch-name-link:hover{color:#333333}
#branch-name-link:active{color:#333333}
.success:visited{color:#32D282}
.success:hover{color:#32D282}
.success:active{color:#32D282}
.failure:visited{color:#DB4545}
.failure:hover{color:#DB4545}
.failure:active{color:#DB4545}
.error:visited{color:#666766}
.error:hover{color:#666766}
.error:active{color:#666766}
#changeset-link:visited{color:#0068FF}
#changeset-link:hover{color:#0068FF}
#changeset-link:active{color:#0068FF}
#documentation-link:visited{color:#0068FF}
#documentation-link:hover{color:#0068FF}
#documentation-link:active{color:#0068FF}
#configuration-link:visited{color:#9EA3A8}
#configuration-link:hover{color:#9EA3A8}
#configuration-link:active{color:#9EA3A8}
#email-footer-section a:active{color:#9EA3A8}
#email-footer-section a:hover{color:#9EA3A8}
#email-footer-section a:visited{color:#9EA3A8}</style></head>
<body style="min-width: 100%;height: 100%;margin: 0;padding: 0;">
<table id="travis-ci-email-container" align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" style="height:100%;width:100%;padding:10px;font-family:'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;line-height:150%;text-align:center;color:#333333;background-color:#F4F5F9;background-image:url("#{Travis.config.s3.url}/build_background.png");height: 100%;width: 100%;padding: 10px;font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;line-height: 150%;text-align: center;color: #333333;background-color: #F4F5F9;background-image: url(#{Travis.config.s3.url}/build_background.png);">
<tr>
<td align="center" valign="top" style="padding-bottom: 20px;">
<table id="email-content-container" border="0" cellpadding="0" cellspacing="0" style="width:500px;padding:32px;background-color:#FFFFFF;width: 500px; padding: 32px; background-color: #FFFFFF;">
<!-- Repository Username Section -->
<tr>
<td id="repo-username-section" align="center" valign="top" style="padding-bottom:20px;padding-bottom: 20px;">
<a id="repo-username-link" style="color:#333333;text-decoration:none;border-bottom:1px solid #333333;padding-bottom:4px;color: #333333; border-bottom: 1px solid #333333; text-decoration: none; padding-bottom: 4px;" href="https://travis-ci.com/github/openssl/openssl?utm_medium=notification&utm_source=email">
<p class="repo-slug" style="margin:0px;font-size:30px;font-weight:600;line-height:36px;padding-left:5px;display: inline; font-size: 30px; font-weight: 600; line-height: 36px; padding-right: 5px; padding-left: 0px;">openssl</p>
<p id="repo-slug-divider" style="margin:0px;font-size:30px;font-weight:100;color:#9EA3A8;display: inline; font-size: 30px; font-weight: 100; color: #9EA3A8;">/</p>
<p class="repo-slug" style="margin:0px;font-size:30px;font-weight:600;line-height:36px;padding-left:5px;display: inline; font-size: 30px; font-weight: 600; line-height: 36px; padding-left: 5px;">openssl</p>
</a> </td>
</tr>
<!-- Branch Name Section -->
<tr>
<td id="branch-name-section" align="center" valign="top" style="padding-bottom: 35px;">
<p id="branch-name" style="margin:0px;font-size:28px;font-weight:300;margin: 0px; font-size: 28px; font-weight: 300;">
<img alt="branch icon" style="width:16px;height:auto;padding-right:8px;vertical-align:bottom;width: 16px; height: auto; padding-right: 8px; vertical-align: bottom;" src="https://s3.amazonaws.com/travis-email-assets/branch.png"><a id="branch-name-link" style="color:#333333;line-height:36px;text-decoration:none;border-bottom:1px solid #333333;text-decoration: none; border-bottom: 1px solid #333333; padding-bottom: 2px; line-height: 36px;" href="https://github.com/openssl/openssl/tree/master">master</a>
</p>
</td>
</tr>
<!-- Build Status Section -->
<tr>
<td align="center" valign="top" style="padding-bottom: 20px;">
<table cellpadding="0" cellspacing="0" class="build-status-border build-status-border-failure" style="border-radius:3px;border:1px solid #DB4545;width: 100%;">
<tr class="build-status-background-failure" style="background:rgba(219, 69, 69, 0.1)">
<td id="status-icon-section" align="center" valign="top" class="build-status-border-bottom-failure" style="border-bottom:1px solid #DB4545;padding: 15px 15px;">
<div style="float: left;">
<div style="display: inline;"><img alt="build has failed" style="display: inline; vertical-align: sub; width: 17px; height: 17px; padding-right: 8px;" src="https://s3.amazonaws.com/travis-email-assets/status-failed.png"></div><div style="display: inline;"><a id="status-section-message" class="failure" style="color:#DB4545;font-size: 16px; font-weight: 600;" href="https://travis-ci.com/github/openssl/openssl/builds/200292820?utm_medium=notification&utm_source=email">Build #38530 is still failing</a></div>
</div>
<div style="display: inline; float: left;"><img id="arrow" alt="arrow to build time" style="width: 7px; height: auto; vertical-align: text-bottom; padding: 0px 8px;" src="https://s3.amazonaws.com/travis-email-assets/failure-arrow.png"></div>
<div style="float: right;">
<span><img id="build-time-clock-icon" alt="clock icon" style="width: 15px; height: 17px; padding-right: 8px; vertical-align: sub" src="https://s3.amazonaws.com/travis-email-assets/time.png"></span><span style="font-size: 14px;">1 hr, 23 mins, and 55 secs</span>
</div>
</td>
</tr>
<tr>
<td id="user-avatar-changeset-section" align="center" valign="top" style="padding-bottom:32px;padding: 20px 15px 35px 15px;">
<div id="user-avatar-changeset-left" style="float:left;float: left;">
<p style="margin:0px;display: inline; font-size: 14px; font-weight: 700; color: #333333;">
<img alt="XiaokangQian avatar" style="width: 22px; height: auto; border-radius: 10px; vertical-align: middle; margin-right: 8px;" src="https://secure.gravatar.com/avatar/64eb7e1e68179c5be987e84c182ff1e1">XiaokangQian
</p>
</div>
<div id="user-avatar-changeset-right" style="float:right;float: right;">
<a id="changeset-link" style="font-size:14px;font-weight:600;color:#0068FF;font-size: 14px; color: #0068FF; font-weight: 600;" href="https://github.com/openssl/openssl/compare/c87a7f31a3db...9ce8e0d17e60">9ce8e0d CHANGESET →</a>
</div>
</td>
</tr>
<tr>
<td id="commit-message-section" align="center" valign="top" style="min-height:104px;padding:0px 20px 20px 20px;min-height: 104px; padding: 0px 15px 20px 15px;">
<p id="commit-message" style="margin:0px;font-family:cousine, monospace;font-size:14px;line-height:22px;font-family: cousine, monospace; font-size: 14px; text-align: left; line-height: 22px;">Optimize AES-XTS mode in OpenSSL for aarch64<br><br>Aes-xts mode can be optimized by interleaving cipher operation on<br>several blocks and loop unrolling. Interleaving needs one ideal<br>unrolling factor, here we adopt the same factor with aes-cbc,<br>which is described as below:<br> If blocks number > 5, select 5 blocks as one iteration,every<br> loop, decrease the blocks number by 5.<br> If left blocks < 5, treat them as tail blocks.<br>Detailed implementation has a little adjustment for squeezing<br>code space.<br>With this way, for small size such as 16 bytes, the performance is<br>similar as before, but for big size such as 16k bytes, the performance<br>improves a lot, even reaches to 2x uplift, for some arches such as A57,<br>the improvement even reaches more than 2x uplift. We collect many<br>performance datas on different micro-archs such as thunderx2,<br>ampere-emag, a72, a75, a57, a53 and N1, all of which reach 0.5-2x uplift.<br>The following table lists the encryption performance data on aarch64,<br>take a72, a75, a57, a53 and N1 as examples. Performance value takes the<br>unit of cycles per byte, takes the format as comparision of values.<br>List them as below:<br><br>A72:<br> Before optimization After optimization Improve<br>evp-aes-128-xts@16 8.899913518 5.949087263 49.60%<br>evp-aes-128-xts@64 4.525512668 3.389141845 33.53%<br>evp-aes-128-xts@256 3.502906908 1.633573479 114.43%<br>evp-aes-128-xts@1024 3.174210419 1.155952639 174.60%<br>evp-aes-128-xts@8192 3.053019303 1.028134888 196.95%<br>evp-aes-128-xts@16384 3.025292462 1.02021169 196.54%<br>evp-aes-256-xts@16 9.971105023 6.754233758 47.63%<br>evp-aes-256-xts@64 4.931479093 3.786527393 30.24%<br>evp-aes-256-xts@256 3.746788153 1.943975947 92.74%<br>evp-aes-256-xts@1024 3.401743802 1.477394648 130.25%<br>evp-aes-256-xts@8192 3.278769327 1.32950421 146.62%<br>evp-aes-256-xts@16384 3.27093296 1.325276257 146.81%<br><br>A75:<br> Before optimization After optimization Improve<br>evp-aes-128-xts@16 8.397965173 5.126839098 63.80%<br>evp-aes-128-xts@64 4.176860631 2.59817764 60.76%<br>evp-aes-128-xts@256 3.069126585 1.284561028 138.92%<br>evp-aes-128-xts@1024 2.805962699 0.932754655 200.83%<br>evp-aes-128-xts@8192 2.725820131 0.829820397 228.48%<br>evp-aes-128-xts@16384 2.71521905 0.823251591 229.82%<br>evp-aes-256-xts@16 11.24790935 7.383914448 52.33%<br>evp-aes-256-xts@64 5.294128847 3.048641998 73.66%<br>evp-aes-256-xts@256 3.861649617 1.570359905 145.91%<br>evp-aes-256-xts@1024 3.537646797 1.200493533 194.68%<br>evp-aes-256-xts@8192 3.435353012 1.085345319 216.52%<br>evp-aes-256-xts@16384 3.437952563 1.097963822 213.12%<br><br>A57:<br> Before optimization After optimization Improve<br>evp-aes-128-xts@16 10.57455446 7.165438012 47.58%<br>evp-aes-128-xts@64 5.418185447 3.721241202 45.60%<br>evp-aes-128-xts@256 3.855184592 1.747145379 120.66%<br>evp-aes-128-xts@1024 3.477199757 1.253049735 177.50%<br>evp-aes-128-xts@8192 3.36768104 1.091943159 208.41%<br>evp-aes-128-xts@16384 3.360373443 1.088942789 208.59%<br>evp-aes-256-xts@16 12.54559459 8.745489036 43.45%<br>evp-aes-256-xts@64 6.542808937 4.326387568 51.23%<br>evp-aes-256-xts@256 4.62668822 2.119908754 118.25%<br>evp-aes-256-xts@1024 4.161716505 1.557335554 167.23%<br>evp-aes-256-xts@8192 4.032462227 1.377749511 192.68%<br>evp-aes-256-xts@16384 4.023293877 1.371558933 193.34%<br><br>A53:<br> Before optimization After optimization Improve<br>evp-aes-128-xts@16 18.07842135 13.96980808 29.40%<br>evp-aes-128-xts@64 7.933818397 6.07159276 30.70%<br>evp-aes-128-xts@256 5.264604704 2.611155744 101.60%<br>evp-aes-128-xts@1024 4.606660117 1.722713454 167.40%<br>evp-aes-128-xts@8192 4.405160115 1.454379201 202.90%<br>evp-aes-128-xts@16384 4.401592028 1.442279392 205.20%<br>evp-aes-256-xts@16 20.07084054 16.00803726 25.40%<br>evp-aes-256-xts@64 9.192647294 6.883876732 33.50%<br>evp-aes-256-xts@256 6.336143161 3.108140452 103.90%<br>evp-aes-256-xts@1024 5.62502952 2.097960651 168.10%<br>evp-aes-256-xts@8192 5.412085608 1.807294191 199.50%<br>evp-aes-256-xts@16384 5.403062591 1.790135764 201.80%<br><br>N1:<br> Before optimization After optimization Improve<br>evp-aes-128-xts@16 6.48147613 4.209415473 53.98%<br>evp-aes-128-xts@64 2.847744115 1.950757468 45.98%<br>evp-aes-128-xts@256 2.085711968 1.061903238 96.41%<br>evp-aes-128-xts@1024 1.842014669 0.798486302 130.69%<br>evp-aes-128-xts@8192 1.760449052 0.713853939 146.61%<br>evp-aes-128-xts@16384 1.760763546 0.707702009 148.80%<br>evp-aes-256-xts@16 7.264142817 5.265970454 37.94%<br>evp-aes-256-xts@64 3.251356212 2.41176323 34.81%<br>evp-aes-256-xts@256 2.380488469 1.342095742 77.37%<br>evp-aes-256-xts@1024 2.08853022 1.041718215 100.49%<br>evp-aes-256-xts@8192 2.027432668 0.944571334 114.64%<br>evp-aes-256-xts@16384 2.00740782 0.941991415 113.10%<br><br>Add more XTS test cases to cover the cipher stealing mode and cases of different<br>number of blocks.<br><br>CustomizedGitHooks: yes<br>Change-Id: I93ee31b2575e1413764e27b599af62994deb4c96<br><br>Reviewed-by: Paul Dale <paul.dale@oracle.com><br>Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org><br>(Merged from https://github.com/openssl/openssl/pull/11399)</p>
</td>
</tr>
</table>
<!-- Build Cancel Note Section -->
</td>
</tr>
</table>
</td>
</tr>
<!-- Broadcast Section -->
<!-- Build Environment Updates Section -->
<tr>
<td id="update-section" align="center" valign="top" style="padding-bottom:20px;padding-bottom: 20px;">
<table id="update-container" border="0" cellpadding="0" cellspacing="0" style="width:500px;padding:32px 32px 42px 32px;background-color:#FFFFFF;width: 500px; padding: 32px 32px 42px 32px; background-color: #FFFFFF">
<tr>
<td align="center" valign="top">
<p id="update-header" style="margin:0px;font-size:24px;line-height:31px;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #0068FF;border-bottom: 2px solid #0068FF; padding-bottom: 10px; font-size: 24px; line-height: 31px; margin-bottom: 20px;">Want to know about upcoming build environment updates?</p>
<p id="update-message" style="margin:0px;font-size:16px;font-weight:300;line-height:26px;margin-bottom:32px;font-size: 16px; line-height: 26px; font-weight: 300; margin-bottom: 32px;">Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you!</p>
<a id="sign-up-button" style="font-size:14px;font-weight:600;color:#FFFFFF;text-decoration:none;background-color:#0068FF;padding:12px 20px;border-radius:3px;font-size: 14px; font-weight: 600; color: #FFFFFF; background-color: #0068FF; text-decoration: none; padding: 12px 20px; border-radius: 3px;" href="http://eepurl.com/9OCsP">SIGN UP HERE</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Documentation Section -->
<tr>
<td align="center" valign="top" style="padding-bottom: 20px;">
<table id="documentation-container" border="0" cellpadding="0" cellspacing="0" style="width:500px;padding:25px;background-color:rgba(222,239,255,0.3);border:1px solid #66A4FF;border-radius:3px;width: 500px; padding: 25px; background-color: rgba(222,239,255,0.3); border: 1px solid #66A4FF; border-radius: 3px;">
<tr>
<td id="documentation-section" align="center" valign="top">
<div>
<img alt="book icon" id="documentation-icon" style="display:inline;vertical-align:bottom;padding-right:5px;display: inline; vertical-align: bottom; padding-right: 5px;" src="https://s3.amazonaws.com/travis-email-assets/documentation.png">
<p id="documentation-text" style="margin:0px;display:inline;font-size:26px;font-weight:300;color:#0068FF;font-size: 26px; font-weight: 300; color: #0068FF; display: inline;">
<a id="documentation-link" href="https://docs.travis-ci.com/" style="color:#0068FF">Documentation</a> about Travis CI
</p>
</div>
</td>
</tr>
</table>
</td>
</tr>
<!-- Email Footer Section -->
<tr>
<td align="center" valign="top">
<table id="travis-ci-email-footer-container" border="0" cellpadding="20" cellspacing="0" style="width:500px;width: 500px;">
<tr>
<td id="questions-section" align="center" valign="top" style="font-weight:300;color:#0068FF;color:#0068FF; font-weight: 300;">
<span>Have any questions?</span>
<span>
<a href="mailto:support@travis-ci.com" style="color: #0068FF">We're here to help.</a>
</span>
</td>
</tr>
<tr>
<td id="email-footer-section" align="center" valign="top" style="font-size:10px;line-height:200%;text-align:center;color:#9EA3A8;padding-top:0px">
<span>
<a href="https://travis-ci.com/account/preferences/unsubscribe?repository=13885459&utm_medium=notification&utm_source=email" style="color:#9EA3A8">Unsubscribe</a> from build emails from the openssl/openssl repository.
</span>
</td>
</tr>
<tr>
<td id="email-footer-section" align="center" valign="top" style="font-size:10px;line-height:200%;text-align:center;color:#9EA3A8;padding-top:0px">
<span>
To unsubscribe from <strong>all</strong> build emails, please update your <a href="https://travis-ci.com/account/preferences/unsubscribe?utm_medium=notification&utm_source=email" style="color:#9EA3A8">settings</a>.
</span>
</td>
</tr>
<tr>
<td id="travis-ci-footer-logo-section" style="text-align:center;text-align: center;">
<a href="https://travis-ci.com"><img alt="black and white travis ci logo" src="https://s3.amazonaws.com/travis-email-assets/TravisCI-Logo-BW.png"></a>
</td>
</tr>
<tr>
<td id="email-footer-section" style="font-size:10px;line-height:200%;text-align:center;color:#9EA3A8;padding-top:0px;color: #9EA3A8; font-size: 10px; line-height: 200%; text-align: center; color: #9EA3A8; padding-top: 0px;">
<p style="margin:0px;margin: 0px;">Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF/CEO: Randy Jacops |
<span>Contact: <a style="color:#9EA3A8;color: #9EA3A8;" href="mailto:contact@travis-ci.com">contact@travis-ci.com</a> | Amtsgericht Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gemäß §27 a Umsatzsteuergesetz: DE282002648</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"action": {
"@type": "ViewAction",
"url": "https://travis-ci.com/github/openssl/openssl/builds/200292820?utm_medium=notification&utm_source=email",
"name": "View Build"
},
"description": "View Build #38530 on Travis CI"
}
</script>
</body>
</html>