<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div>
<p dir="auto">This is a merge request analogous to the one just merged for CFB8.</p>
<p dir="auto">The only doubt I have here is that in theory CMAC can return an arbitrary digest length between 1 and 16 bytes, however GnuTLS hmac (misnamed) API does not allow for variable length digest as far a sI can see, nor the self tests.</p>
<p dir="auto">In practice this is not a big deal because internally the mac simply truncates the output to return anything shorter than 16 bytes, so users can do the same. The only issue is that I couldn't use SP800-38 CAV vectors because they give outputs for 4 or 15 bytes length, so I had to use a couple of vectors lifted from nettle's own tests.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/786#note_112231352">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/f3d8877cdf2931cfbf55a4cbe8258787/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/786#note_112231352"}}</script>
</p>
</div>
</body>
</html>