SIZE) ;
<br>
           SHAUpdate(&amp;ictx, d, ld) ;
<p>
           SHAFinal(isha, &amp;ictx) ;
<p>
<pre>
           /**** Outter Digest ****/
</pre>
<p>
           SHAInit(&amp;octx) ;
<p>
<pre>
           /* Pad the key for outter digest */
</pre>
<p>
<dt><hr><dd>
<dt><em><a name="page-9">Page 9</a></em><dd><p>
           for (i = 0 ; i &lt; lk ; ++i) buf[i] = k[i] ^ 0x5C ;
           for (i = lk ; i &lt; SHA_BLOCKSIZE ; ++i) buf[i] = 0x5C ;
<p>
           SHAUpdate(&amp;octx, buf, SHA_BLOCKSIZE) ;
<br>
