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

Flags which describe the state of the fsl_shw_sko_t.

These may be ORed together to get the desired effect. See fsl_shw_sko_set_flags() and fsl_shw_sko_clear_flags()

Enumerator:
FSL_SKO_KEY_IGNORE_PARITY  If algorithm is DES or 3DES, do not validate the key parity bits.
FSL_SKO_KEY_PRESENT  Clear key is present in the object.
FSL_SKO_KEY_ESTABLISHED  Key has been established for use. This feature is not available for all platforms, nor for all algorithms and modes.
FSL_SKO_USE_SECRET_KEY  Use device-unique key. Not always available.
FSL_SKO_KEY_SW_KEY  Clear key can be provided to the user
FSL_SKO_KEY_SELECT_PF_KEY  Internal flag to show that this key references one of the hardware keys, and its value is in pf_key.
FSL_SKO_KEY_IGNORE_PARITY  If algorithm is DES or 3DES, do not validate the key parity bits.
FSL_SKO_KEY_PRESENT  Clear key is present in the object.
FSL_SKO_KEY_ESTABLISHED  Key has been established for use. This feature is not available for all platforms, nor for all algorithms and modes.
FSL_SKO_KEY_SW_KEY  Key intended for user (software) use; can be read cleartext from the keystore.

Definition at line 427 of file shw_driver.h.

{
    FSL_SKO_KEY_IGNORE_PARITY = 1, /*!< If algorithm is DES or 3DES, do not
                                      validate the key parity bits. */
    FSL_SKO_KEY_PRESENT = 2,       /*!< Clear key is present in the object. */
    FSL_SKO_KEY_ESTABLISHED = 4,   /*!< Key has been established for use.  This
                                       feature is not available for all
                                       platforms, nor for all algorithms and
                                       modes.*/
    FSL_SKO_USE_SECRET_KEY = 8,    /*!< Use device-unique key.  Not always
                                       available. */
    FSL_SKO_KEY_SW_KEY = 16,  /*!< Clear key can be provided to the user */
      FSL_SKO_KEY_SELECT_PF_KEY = 32,     /*!< Internal flag to show that this key
                                 references one of the hardware keys, and
                                 its value is in pf_key. */
} fsl_shw_key_flags_t;


Generated by  Doxygen 1.6.0   Back to index