<p><a href="https://review.coreboot.org/22872">View Change</a></p><p>12 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash.h">File src/security/crypto/hash.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash.h@186">Patch Set #24, Line 186:</a> <code style="font-family:monospace,monospace"> *           if <alg> is invalid.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">please, no space before tabs</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha1.c">File src/security/crypto/hash/sha1.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha1.c@184">Patch Set #24, Line 184:</a> <code style="font-family:monospace,monospace">  while ((ctx->count % sizeof(ctx->buf)) != (sizeof(ctx->buf) - 8)) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha1.c@193">Patch Set #24, Line 193:</a> <code style="font-family:monospace,monospace">     for (i = 0; i < 5; i++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha1.c@277">Patch Set #24, Line 277:</a> <code style="font-family:monospace,monospace">     while ((ctx->count % sizeof(ctx->buf)) != (sizeof(ctx->buf) - 8)) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha256.c">File src/security/crypto/hash/sha256.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha256.c@106">Patch Set #24, Line 106:</a> <code style="font-family:monospace,monospace">       for (i = 0; i < 8; i++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha256.c@142">Patch Set #24, Line 142:</a> <code style="font-family:monospace,monospace">           for (j = 0; j < 16; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha256.c@146">Patch Set #24, Line 146:</a> <code style="font-family:monospace,monospace">          for (j = 16; j < 64; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha256.c@150">Patch Set #24, Line 150:</a> <code style="font-family:monospace,monospace">         for (j = 0; j < 8; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha256.c@168">Patch Set #24, Line 168:</a> <code style="font-family:monospace,monospace">           for (j = 0; j < 8; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha512.c">File src/security/crypto/hash/sha512.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha512.c@293">Patch Set #24, Line 293:</a> <code style="font-family:monospace,monospace">               for (j = 0; j < 16; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha512.c@297">Patch Set #24, Line 297:</a> <code style="font-family:monospace,monospace">          for (j = 16; j < 80; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22872/24/src/security/crypto/hash/sha512.c@301">Patch Set #24, Line 301:</a> <code style="font-family:monospace,monospace">         for (j = 0; j < 8; j++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/22872">change 22872</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22872"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I807084ebfffdc159fe95c45b4e5f0820bbfee5e1 </div>
<div style="display:none"> Gerrit-Change-Number: 22872 </div>
<div style="display:none"> Gerrit-PatchSet: 24 </div>
<div style="display:none"> Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Anonymous Coward #1001824 </div>
<div style="display:none"> Gerrit-Reviewer: Anonymous Coward #1001845 </div>
<div style="display:none"> Gerrit-Reviewer: Martin Roth <martinroth@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net> </div>
<div style="display:none"> Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 04 Jun 2018 21:50:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>