<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Adeola,<div><br></div><div>It is great that we have a proposal for HMAC, a few comments about the doc.</div><div><br></div><div>1. I think you should mentioned in the spec that how to handle keys that are longer than the hash output.</div><div>2. we should either disable keys that are shorter than hash output or still state how to generate HMAC when a key is short. Just "discourage" is not enough.</div><div><br></div><div>Yingdi</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>On Sep 19, 2014, at 11:12 AM, Adeola Bannis <<a href="mailto:thecodemaiden@gmail.com">thecodemaiden@gmail.com</a>> wrote:</div></div></span></span></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello all,<div><br></div><div>I am proposing to add an HMAC type, using SHA256 as the hash function, to the signature types defined at <a href="http://named-data.net/doc/NDN-TLV/current/signature.html">http://named-data.net/doc/NDN-TLV/current/signature.html</a>. This will enable communication with symmetric keys, which reduces the signing and verification load on resource-constrained devices.</div><div><br></div><div>The proposal is attached. Please review it and reply with any comments or suggestions.</div><div><br></div><div>Thanks,</div><div>Adeola</div></div>
<span><TLV_spec_HMAC_SHA256.docx></span>_______________________________________________<br>Ndn-interest mailing list<br><a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br></blockquote></div><br></div><div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-align: -webkit-auto; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div></div></span></span><br class="Apple-interchange-newline"></div><br><div></div></div></body></html>