1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Key Sizes</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Kernel Crypto API"><link rel="up" href="Architecture.html" title="Chapter&#160;2.&#160;Kernel Crypto API Architecture"><link rel="prev" href="ch02s04.html" title="Crypto API Cipher References And Priority"><link rel="next" href="ch02s06.html" title="Cipher Allocation Type And Masks"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Key Sizes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;Kernel Crypto API Architecture</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch02s06.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1094410484"></a>Key Sizes</h2></div></div></div><p>
2     When allocating a cipher handle, the caller only specifies the
3     cipher type. Symmetric ciphers, however, typically support
4     multiple key sizes (e.g. AES-128 vs. AES-192 vs. AES-256).
5     These key sizes are determined with the length of the provided
6     key. Thus, the kernel crypto API does not provide a separate
7     way to select the particular symmetric cipher key size.
8    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="Architecture.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch02s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Crypto API Cipher References And Priority&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Cipher Allocation Type And Masks</td></tr></table></div></body></html>
9