autodoc.git / traditional_manual / chapter_21.html

version» Context lines:

autodoc.git/traditional_manual/chapter_21.html:8419:   <dd class='body--doc'><p>Returns the name of the base cipher with <code class='expr'>".EAX"</code> appended.</p>   </dd></dl>   <dl><dt><h2 class='header'>Class <b class='ms datatype'>Nettle.BlockCipher16.EAX.State</b></h2>   </dt><dd>      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>block_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(16..16)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(16)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the block size of the encapsulated cipher,    which is always <code class='expr'>16</code> for EAX.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>
autodoc.git/traditional_manual/chapter_21.html:8492:   </dt>   <dd><p><code><span class='datatype'>inherit AEAD::State</span> : <span class='inherit'>State</span></code></p></dd>   </dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>iv_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(16..16)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(16)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the recommended size for the initialization vector    (ie <code class='expr'>16</code>).</p>   <p> Other sizes are allowed, but will be compressed or expanded    to this size using the encapsulated cipher.</p>   </dd></dl>         <hr />
autodoc.git/traditional_manual/chapter_21.html:8608:   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>CBC</code></p>   </dd></dl>      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>block_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(16..16)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(16)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the block size of the encapsulated cipher,    which is always <code class='expr'>16</code> for GCM.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>digest_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(16..16)</code> <b><span class='method'>digest_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(16)</code> <b><span class='method'>digest_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the size of the generated digest,    which is always <code class='expr'>16</code> for GCM.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Inherit</span>
autodoc.git/traditional_manual/chapter_21.html:8643:   </dt>   <dd><p><code><span class='datatype'>inherit __builtin.Nettle.AEAD</span> : <span class='inherit'>AEAD</span></code></p></dd>   </dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>iv_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(12..12)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(12)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the recommended size for the initialization vector    (ie <code class='expr'>12</code>).</p>   <p> Other sizes are allowed, but will be compressed or expanded    to this size using the encapsulated cipher.</p>   </dd></dl>         <hr />
autodoc.git/traditional_manual/chapter_21.html:8674:   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>The state for a GCM instance.</p>   </dd></dl>      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>block_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(16..16)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(16)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the block size of the encapsulated cipher,    which is always <code class='expr'>16</code> for GCM.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>
autodoc.git/traditional_manual/chapter_21.html:8739:   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>update()</code>, <code>digest()</code></p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>digest_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(16..16)</code> <b><span class='method'>digest_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(16)</code> <b><span class='method'>digest_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the size of the generated digest,    which is always <code class='expr'>16</code> for GCM.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Inherit</span>
autodoc.git/traditional_manual/chapter_21.html:8761:   </dt>   <dd><p><code><span class='datatype'>inherit AEAD::State</span> : <span class='inherit'>State</span></code></p></dd>   </dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>iv_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(12..12)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(12)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the recommended size for the initialization vector    (ie <code class='expr'>12</code>).</p>   <p> Other sizes are allowed, but will be compressed or expanded    to this size using the encapsulated cipher.</p>   </dd></dl>         <hr />
autodoc.git/traditional_manual/chapter_21.html:8941:   <dd class='body--doc'><p>Returns the name of the base cipher with <code class='expr'>".KW"</code> appended.</p>   </dd></dl>   <dl><dt><h2 class='header'>Class <b class='ms datatype'>Nettle.BlockCipher16.KW.State</b></h2>   </dt><dd>      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>block_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(8..8)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(8)</code> <b><span class='method'>block_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the block size for this AEAD mode.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>create</b></span>
autodoc.git/traditional_manual/chapter_21.html:9015:   </dt>   <dd><p><code><span class='datatype'>inherit Cipher::State</span> : <span class='inherit'>State</span></code></p></dd>   </dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>iv_size</b></span>   </dt> - <dd><p><code><code class='datatype'>int(8..8)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>int(8)</code> <b><span class='method'>iv_size</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the size for the initialization vector</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>key_size</b></span>