/* The ui32Mode paramerter is a bit-wise OR of values: */
void SHAMD5ConfigSet(uint32_t ui32Base, uint32_t ui32Mode)
/* The ui32Mode paramerter is a bit-wise OR of values: */
void SHAMD5ConfigSet(uint32_t ui32Base, uint32_t ui32Mode)
{
    ASSERT(ui32Base == SHAMD5_BASE);
    ASSERT((ui32Mode == SHAMD5_ALGO_MD5) ||
           (ui32Mode == SHAMD5_ALGO_SHA1) ||
           (ui32Mode == SHAMD5_ALGO_SHA224) ||
           (ui32Mode == SHAMD5_ALGO_SHA256) ||
           (ui32Mode == SHAMD5_ALGO_HMAC_MD5) ||
           (ui32Mode == SHAMD5_ALGO_HMAC_SHA1) ||
           (ui32Mode == SHAMD5_ALGO_HMAC_SHA224) ||
           (ui32Mode == SHAMD5_ALGO_HMAC_SHA256));
    HWREG(ui32Base + SHAMD5_O_MODE) = ui32Mode;
}