/* Check validity of algoritm. 
This function checks the validity of input argument. */
static status_t dcp_hash_check_input_alg(dcp_hash_algo_t algo)
/* Check validity of algoritm. 
This function checks the validity of input argument. */
static status_t dcp_hash_check_input_alg(dcp_hash_algo_t algo)
{
    if ((algo != kDCP_Sha256) && (algo != kDCP_Sha1) && (algo != kDCP_Crc32))
    {
        return kStatus_InvalidArgument;
    }
    return kStatus_Success;
}