Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

Algorithm Identifier.

Selection of algorithm will determine how large the block size of the algorithm is. Context size is the same length unless otherwise specified. Selection of algorithm also affects the allowable key length.

Enumerator:
FSL_KEY_ALG_HMAC  Key will be used to perform an HMAC. Key size is 1 to 64 octets. Block size is 64 octets.
FSL_KEY_ALG_AES  Advanced Encryption Standard (Rijndael). Block size is 16 octets. Key size is 16 octets. (The single choice of key size is a Sahara platform limitation.)
FSL_KEY_ALG_DES  Data Encryption Standard. Block size is 8 octets. Key size is 8 octets.
FSL_KEY_ALG_TDES  2- or 3-key Triple DES. Block size is 8 octets. Key size is 16 octets for 2-key Triple DES, and 24 octets for 3-key.
FSL_KEY_ALG_ARC4  ARC4. No block size. Context size is 259 octets. Allowed key size is 1-16 octets. (The choices for key size are a Sahara platform limitation.)
FSL_KEY_ALG_HMAC  Key will be used to perform an HMAC. Key size is 1 to 64 octets. Block size is 64 octets.
FSL_KEY_ALG_AES  Advanced Encryption Standard (Rijndael). Block size is 16 octets. Key size is 16 octets. (The single choice of key size is a Sahara platform limitation.)
FSL_KEY_ALG_DES  Data Encryption Standard. Block size is 8 octets. Key size is 8 octets.
FSL_KEY_ALG_TDES  2- or 3-key Triple DES. Block size is 8 octets. Key size is 16 octets for 2-key Triple DES, and 24 octets for 3-key.
FSL_KEY_ALG_ARC4  ARC4. No block size. Context size is 259 octets. Allowed key size is 1-16 octets. (The choices for key size are a Sahara platform limitation.)
FSL_KEY_PK_PRIVATE  Private key of a public-private key-pair. Max is 512 bits...

Definition at line 216 of file shw_driver.h.

{
  /*!
     * Key will be used to perform an HMAC.  Key size is 1 to 64 octets.  Block
     * size is 64 octets.
     */
    FSL_KEY_ALG_HMAC,
  /*!
     * Advanced Encryption Standard (Rijndael).  Block size is 16 octets.  Key
     * size is 16 octets.  (The single choice of key size is a Sahara platform
     * limitation.)
     */
    FSL_KEY_ALG_AES,
  /*!
     * Data Encryption Standard.  Block size is 8 octets.  Key size is 8
     * octets.
     */
    FSL_KEY_ALG_DES,
  /*!
     * 2- or 3-key Triple DES.  Block size is 8 octets.  Key size is 16 octets
     * for 2-key Triple DES, and 24 octets for 3-key.
     */
    FSL_KEY_ALG_TDES,
  /*!
     * ARC4.  No block size.  Context size is 259 octets.  Allowed key size is
     * 1-16 octets.  (The choices for key size are a Sahara platform
     * limitation.)
     */
    FSL_KEY_ALG_ARC4,
} fsl_shw_key_alg_t;


Generated by  Doxygen 1.6.0   Back to index