/* Check validity of algoritm. 
This function checks the validity of input argument. */
static status_t cau3_hash_check_input_alg(cau3_hash_algo_t algo)
/* Check validity of algoritm. 
This function checks the validity of input argument. */
static status_t cau3_hash_check_input_alg(cau3_hash_algo_t algo)
{
    if ((algo != kCAU3_Sha256) && (algo != kCAU3_Sha1))
    {
        return kStatus_InvalidArgument;
    }
    return kStatus_Success;
}