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

Algorithm selector for Cryptographic Hash functions.

Selection of algorithm determines how large the context and digest will be. Context is the same size as the digest (resulting hash), unless otherwise specified.

Enumerator:
FSL_HASH_ALG_MD5  MD5 algorithm. Digest is 16 octets.
FSL_HASH_ALG_SHA1  SHA-1 (aka SHA or SHA-160) algorithm. Digest is 20 octets.
FSL_HASH_ALG_SHA224  SHA-224 algorithm. Digest is 28 octets, though context is 32 octets.
FSL_HASH_ALG_SHA256  SHA-256 algorithm. Digest is 32 octets.
FSL_HASH_ALG_MD5  MD5 algorithm. Digest is 16 octets.
FSL_HASH_ALG_SHA1  SHA-1 (aka SHA or SHA-160) algorithm. Digest is 20 octets.
FSL_HASH_ALG_SHA224  SHA-224 algorithm. Digest is 28 octets, though context is 32 octets.
FSL_HASH_ALG_SHA256  SHA-256 algorithm. Digest is 32 octets.

Definition at line 305 of file shw_driver.h.

{
    FSL_HASH_ALG_MD5,           /*!< MD5 algorithm.  Digest is 16 octets. */
    FSL_HASH_ALG_SHA1,          /*!< SHA-1 (aka SHA or SHA-160) algorithm.
                                   Digest is 20 octets. */
    FSL_HASH_ALG_SHA224,        /*!< SHA-224 algorithm.  Digest is 28 octets,
                                   though context is 32 octets. */
    FSL_HASH_ALG_SHA256         /*!< SHA-256 algorithm.  Digest is 32
                                   octets. */
} fsl_shw_hash_alg_t;


Generated by  Doxygen 1.6.0   Back to index