/* Check validity of input arguments. 
This function checks the validity of input arguments. */
static status_t cau3_hash_check_input_args(CAU3_Type *base, cau3_hash_ctx_t *ctx, cau3_hash_algo_t algo)
/* Check validity of input arguments. 
This function checks the validity of input arguments. */
static status_t cau3_hash_check_input_args(CAU3_Type *base, cau3_hash_ctx_t *ctx, cau3_hash_algo_t algo)
{
    if (kStatus_Success != cau3_hash_check_input_alg(algo))
    {
        return kStatus_InvalidArgument;
    }
    if ((NULL == ctx) || (NULL == base))
    {
        return kStatus_InvalidArgument;
    }
    return kStatus_Success;
}