This collection of symbols comprise the values which can be passed into various functions to control how the API will work.
typedef enum fsl_shw_acc_mode_t fsl_shw_acc_mode_t |
The type of Authentication-Cipher function which will be performed.
typedef enum fsl_shw_acc_mode_t fsl_shw_acc_mode_t |
The type of Authentication-Cipher function which will be performed.
typedef enum fsl_shw_auth_ctx_flags_t fsl_shw_auth_ctx_flags_t |
Flags which describe the state of the fsl_shw_acco_t.
The FSL_ACCO_CTX_INIT and FSL_ACCO_CTX_FINALIZE flags, when used together, provide for a one-shot operation.
typedef enum fsl_shw_auth_ctx_flags_t fsl_shw_auth_ctx_flags_t |
Flags which describe the state of the fsl_shw_acco_t.
The FSL_ACCO_CTX_INIT and FSL_ACCO_CTX_FINALIZE flags, when used together, provide for a one-shot operation.
typedef enum fsl_shw_ctr_mod_t fsl_shw_ctr_mod_t |
Modulus Selector for CTR modes.
The incrementing of the Counter value may be modified by a modulus. If no modulus is needed or desired for AES, use FSL_CTR_MOD_128.
typedef enum fsl_shw_ctr_mod_t fsl_shw_ctr_mod_t |
Modulus Selector for CTR modes.
The incrementing of the Counter value may be modified by a modulus. If no modulus is needed or desired for AES, use FSL_CTR_MOD_128.
typedef enum fsl_shw_cypher_mode_t fsl_shw_cypher_mode_t |
Select the cypher mode to use for partition cover/uncover operations.
They currently map directly to the values used in the SCC2 driver, but this is not guarinteed behavior.
typedef enum fsl_shw_cypher_mode_t fsl_shw_cypher_mode_t |
Select the cypher mode to use for partition cover/uncover operations.
They currently map directly to the values used in the SCC2 driver, but this is not guarinteed behavior.
typedef enum fsl_shw_hash_alg_t fsl_shw_hash_alg_t |
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.
typedef enum fsl_shw_hash_alg_t fsl_shw_hash_alg_t |
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.
typedef enum fsl_shw_hash_ctx_flags_t fsl_shw_hash_ctx_flags_t |
Flags which control a Hash operation.
These may be combined by ORing them together. See fsl_shw_hco_set_flags() and fsl_shw_hco_clear_flags().
typedef enum fsl_shw_hash_ctx_flags_t fsl_shw_hash_ctx_flags_t |
Flags which control a Hash operation.
These may be combined by ORing them together. See fsl_shw_hco_set_flags() and fsl_shw_hco_clear_flags().
typedef enum fsl_shw_hmac_ctx_flags_t fsl_shw_hmac_ctx_flags_t |
Flags which control an HMAC operation.
These may be combined by ORing them together. See fsl_shw_hmco_set_flags() and fsl_shw_hmco_clear_flags().
typedef enum fsl_shw_hmac_ctx_flags_t fsl_shw_hmac_ctx_flags_t |
Flags which control an HMAC operation.
These may be combined by ORing them together. See fsl_shw_hmco_set_flags() and fsl_shw_hmco_clear_flags().
typedef enum fsl_shw_key_alg_t fsl_shw_key_alg_t |
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.
typedef enum fsl_shw_key_alg_t fsl_shw_key_alg_t |
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.
typedef enum fsl_shw_key_flags_t fsl_shw_key_flags_t |
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()
typedef enum fsl_shw_key_flags_t fsl_shw_key_flags_t |
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()
typedef enum fsl_shw_key_wrap_t fsl_shw_key_wrap_t |
The operation which controls the behavior of fsl_shw_establish_key().
These values are passed to fsl_shw_establish_key().
typedef enum fsl_shw_key_wrap_t fsl_shw_key_wrap_t |
The operation which controls the behavior of fsl_shw_establish_key().
These values are passed to fsl_shw_establish_key().
typedef enum fsl_shw_permission_t fsl_shw_permission_t |
Permissions flags for Secure Partitions
They currently map directly to the SCC2 hardware values, but this is not guarinteed behavior.
typedef enum fsl_shw_permission_t fsl_shw_permission_t |
Permissions flags for Secure Partitions
They currently map directly to the SCC2 hardware values, but this is not guarinteed behavior.
typedef enum fsl_shw_pf_key_t fsl_shw_pf_key_t |
Which platform key should be presented for cryptographic use.
typedef enum fsl_shw_pf_key_t fsl_shw_pf_key_t |
Which platform key should be presented for cryptographic use.
typedef enum fsl_shw_return_t fsl_shw_return_t |
Return code for FSL_SHW library.
These codes may be returned from a function call. In non-blocking mode, they will appear as the status in a Result Object.
typedef enum fsl_shw_return_t fsl_shw_return_t |
Return code for FSL_SHW library.
These codes may be returned from a function call. In non-blocking mode, they will appear as the status in a Result Object.
typedef enum fsl_shw_sym_ctx_flags_t fsl_shw_sym_ctx_flags_t |
Flags to control use of the fsl_shw_scco_t.
These may be ORed together to get the desired effect. See fsl_shw_scco_set_flags() and fsl_shw_scco_clear_flags()
typedef enum fsl_shw_sym_ctx_flags_t fsl_shw_sym_ctx_flags_t |
Flags to control use of the fsl_shw_scco_t.
These may be ORed together to get the desired effect. See fsl_shw_scco_set_flags() and fsl_shw_scco_clear_flags()
typedef enum fsl_shw_sym_mode_t fsl_shw_sym_mode_t |
Mode selector for Symmetric Ciphers.
The selection of mode determines how a cryptographic algorithm will be used to process the plaintext or ciphertext.
For all modes which are run block-by-block (that is, all but FSL_SYM_MODE_STREAM), any partial operations must be performed on a text length which is multiple of the block size. Except for FSL_SYM_MODE_CTR, these block-by-block algorithms must also be passed a total number of octets which is a multiple of the block size.
In modes which require that the total number of octets of data be a multiple of the block size (FSL_SYM_MODE_ECB and FSL_SYM_MODE_CBC), and the user has a total number of octets which are not a multiple of the block size, the user must perform any necessary padding to get to the correct data length.
typedef enum fsl_shw_sym_mode_t fsl_shw_sym_mode_t |
Mode selector for Symmetric Ciphers.
The selection of mode determines how a cryptographic algorithm will be used to process the plaintext or ciphertext.
For all modes which are run block-by-block (that is, all but FSL_SYM_MODE_STREAM), any partial operations must be performed on a text length which is multiple of the block size. Except for FSL_SYM_MODE_CTR, these block-by-block algorithms must also be passed a total number of octets which is a multiple of the block size.
In modes which require that the total number of octets of data be a multiple of the block size (FSL_SYM_MODE_ECB and FSL_SYM_MODE_CBC), and the user has a total number of octets which are not a multiple of the block size, the user must perform any necessary padding to get to the correct data length.
typedef enum fsl_shw_tamper_t fsl_shw_tamper_t |
The various security tamper events
typedef enum fsl_shw_tamper_t fsl_shw_tamper_t |
The various security tamper events
typedef enum fsl_shw_user_ctx_flags_t fsl_shw_user_ctx_flags_t |
Flags for the state of the User Context Object (fsl_shw_uco_t).
These flags describe how the Operational Functions will operate.
typedef enum fsl_shw_user_ctx_flags_t fsl_shw_user_ctx_flags_t |
Flags for the state of the User Context Object (fsl_shw_uco_t).
These flags describe how the Operational Functions will operate.
typedef uint64_t key_userid_t |
Type of value which is associated with an established key.
typedef uint64_t key_userid_t |
Type of value which is associated with an established key.
enum fsl_shw_acc_mode_t |
The type of Authentication-Cipher function which will be performed.
enum fsl_shw_acc_mode_t |
The type of Authentication-Cipher function which will be performed.
Flags which describe the state of the fsl_shw_acco_t.
The FSL_ACCO_CTX_INIT and FSL_ACCO_CTX_FINALIZE flags, when used together, provide for a one-shot operation.
Flags which describe the state of the fsl_shw_acco_t.
The FSL_ACCO_CTX_INIT and FSL_ACCO_CTX_FINALIZE flags, when used together, provide for a one-shot operation.
enum fsl_shw_ctr_mod_t |
Modulus Selector for CTR modes.
The incrementing of the Counter value may be modified by a modulus. If no modulus is needed or desired for AES, use FSL_CTR_MOD_128.
enum fsl_shw_ctr_mod_t |
Modulus Selector for CTR modes.
The incrementing of the Counter value may be modified by a modulus. If no modulus is needed or desired for AES, use FSL_CTR_MOD_128.
Select the cypher mode to use for partition cover/uncover operations.
They currently map directly to the values used in the SCC2 driver, but this is not guarinteed behavior.
Select the cypher mode to use for partition cover/uncover operations.
They currently map directly to the values used in the SCC2 driver, but this is not guarinteed behavior.
enum fsl_shw_hash_alg_t |
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.
enum fsl_shw_hash_alg_t |
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.
Flags which control a Hash operation.
These may be combined by ORing them together. See fsl_shw_hco_set_flags() and fsl_shw_hco_clear_flags().
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
Flags which control a Hash operation.
These may be combined by ORing them together. See fsl_shw_hco_set_flags() and fsl_shw_hco_clear_flags().
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
FSL_HASH_FLAGS_INIT |
Context is empty. Hash is started from scratch, with a message-processed count of zero. |
FSL_HASH_FLAGS_SAVE |
Retrieve context from hardware after hashing. If used with the FSL_HASH_FLAGS_FINALIZE flag, the final digest value will be saved in the object. |
FSL_HASH_FLAGS_LOAD |
Place context into hardware before hashing. |
FSL_HASH_FLAGS_FINALIZE |
PAD message and perform final digest operation. If user message is pre-padded, this flag should not be used. |
Flags which control an HMAC operation.
These may be combined by ORing them together. See fsl_shw_hmco_set_flags() and fsl_shw_hmco_clear_flags().
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
Flags which control an HMAC operation.
These may be combined by ORing them together. See fsl_shw_hmco_set_flags() and fsl_shw_hmco_clear_flags().
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
FSL_HMAC_FLAGS_INIT |
Message context is empty. HMAC is started from scratch (with key) or from precompute of inner hash, depending on whether FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT is set. |
FSL_HMAC_FLAGS_SAVE |
Retrieve ongoing context from hardware after hashing. If used with the FSL_HMAC_FLAGS_FINALIZE flag, the final digest value (HMAC) will be saved in the object. |
FSL_HMAC_FLAGS_LOAD |
Place ongoing context into hardware before hashing. |
FSL_HMAC_FLAGS_FINALIZE |
PAD message and perform final HMAC operations of inner and outer hashes. |
FSL_HMAC_FLAGS_PRECOMPUTES_PRESENT |
This means that the context contains precomputed inner and outer hash values. |
enum fsl_shw_key_alg_t |
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.
enum fsl_shw_key_alg_t |
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.
enum fsl_shw_key_flags_t |
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()
enum fsl_shw_key_flags_t |
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()
enum fsl_shw_key_wrap_t |
The operation which controls the behavior of fsl_shw_establish_key().
These values are passed to fsl_shw_establish_key().
enum fsl_shw_key_wrap_t |
The operation which controls the behavior of fsl_shw_establish_key().
These values are passed to fsl_shw_establish_key().
enum fsl_shw_permission_t |
Permissions flags for Secure Partitions
They currently map directly to the SCC2 hardware values, but this is not guarinteed behavior.
enum fsl_shw_permission_t |
Permissions flags for Secure Partitions
They currently map directly to the SCC2 hardware values, but this is not guarinteed behavior.
enum fsl_shw_pf_key_t |
Which platform key should be presented for cryptographic use.
enum fsl_shw_pf_key_t |
Which platform key should be presented for cryptographic use.
enum fsl_shw_return_t |
Return code for FSL_SHW library.
These codes may be returned from a function call. In non-blocking mode, they will appear as the status in a Result Object.
enum fsl_shw_return_t |
Return code for FSL_SHW library.
These codes may be returned from a function call. In non-blocking mode, they will appear as the status in a Result Object.
Flags to control use of the fsl_shw_scco_t.
These may be ORed together to get the desired effect. See fsl_shw_scco_set_flags() and fsl_shw_scco_clear_flags()
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
Flags to control use of the fsl_shw_scco_t.
These may be ORed together to get the desired effect. See fsl_shw_scco_set_flags() and fsl_shw_scco_clear_flags()
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
FSL_SYM_CTX_INIT |
Context is empty. In ARC4, this means that the S-Box needs to be generated from the key. In FSL_SYM_MODE_CBC mode, this allows an IV of zero to be specified. In FSL_SYM_MODE_CTR mode, it means that an initial CTR value of zero is desired. |
FSL_SYM_CTX_LOAD |
Load context from object into hardware before running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_SAVE |
Save context from hardware into object after running cipher. In FSL_SYM_MODE_CTR mode, this would refer to the Counter Value. |
FSL_SYM_CTX_PROTECT |
Context (SBox) is to be unwrapped and wrapped on each use. This flag is unsupported. |
enum fsl_shw_sym_mode_t |
Mode selector for Symmetric Ciphers.
The selection of mode determines how a cryptographic algorithm will be used to process the plaintext or ciphertext.
For all modes which are run block-by-block (that is, all but FSL_SYM_MODE_STREAM), any partial operations must be performed on a text length which is multiple of the block size. Except for FSL_SYM_MODE_CTR, these block-by-block algorithms must also be passed a total number of octets which is a multiple of the block size.
In modes which require that the total number of octets of data be a multiple of the block size (FSL_SYM_MODE_ECB and FSL_SYM_MODE_CBC), and the user has a total number of octets which are not a multiple of the block size, the user must perform any necessary padding to get to the correct data length.
enum fsl_shw_sym_mode_t |
Mode selector for Symmetric Ciphers.
The selection of mode determines how a cryptographic algorithm will be used to process the plaintext or ciphertext.
For all modes which are run block-by-block (that is, all but FSL_SYM_MODE_STREAM), any partial operations must be performed on a text length which is multiple of the block size. Except for FSL_SYM_MODE_CTR, these block-by-block algorithms must also be passed a total number of octets which is a multiple of the block size.
In modes which require that the total number of octets of data be a multiple of the block size (FSL_SYM_MODE_ECB and FSL_SYM_MODE_CBC), and the user has a total number of octets which are not a multiple of the block size, the user must perform any necessary padding to get to the correct data length.
enum fsl_shw_tamper_t |
The various security tamper events
enum fsl_shw_tamper_t |
The various security tamper events
Flags for the state of the User Context Object (fsl_shw_uco_t).
These flags describe how the Operational Functions will operate.
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
Flags for the state of the User Context Object (fsl_shw_uco_t).
These flags describe how the Operational Functions will operate.
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
FSL_UCO_BLOCKING_MODE |
API will block the caller until operation completes. The result will be available in the return code. If this is not set, user will have to get results using fsl_shw_get_results(). |
FSL_UCO_CALLBACK_MODE |
User wants callback (at the function specified with fsl_shw_uco_set_callback()) when the operation completes. This flag is valid only if FSL_UCO_BLOCKING_MODE is not set. |
FSL_UCO_SAVE_DESC_CHAIN |
Do not free descriptor chain after driver (adaptor) finishes |
FSL_UCO_CALLBACK_SETUP_COMPLETE |
User has made at least one request with callbacks requested, so API is ready to handle others. |
FSL_UCO_CHAIN_PREPHYSICALIZED |
(virtual) pointer to descriptor chain is completely linked with physical (DMA) addresses, ready for the hardware. This flag should not be used by FSL SHW API programs. |
FSL_UCO_CONTEXT_CHANGED |
The user has changed the context but the changes have not been copied to the kernel driver. |
FSL_UCO_USERMODE_USER |
Internal Use. This context belongs to a user-mode API user. |
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |