<!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">There are two reasons: first, the first block in ctx->prev_block never seems to be used anywhere. Thus, maintaining this ctx->prev_block would be meaningless these days. It used to be there to perform the memcmp with the current block to implement the FIPS 140-2 continuous self test. That is not required any more and thus the memcmp was removed. Yet, the copying of the previous block was still present.</p>
<p dir="auto">Second, for the ACVP testing, we need the very first block after initializaing a DRBG instance. In the past, I set the ctx->prev_block_present to 1 immediately after initializing in my test harness. But somehow that did not work. Instead of spending time to debug it, I felt to completely remove the code that seems to serve no purpose any more.</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/820#note_120604357">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/400f0f4b97924e281b136388ac2c6da4/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/820#note_120604357"}}</script>
</p>
</div>
</body>
</html>