/* This function ends a CRC operation and produces a CRC value.  */
int tls_crypto_crc_final(psCrcContext_t *ctx, u32 *crc_val)
/* This function ends a CRC operation and produces a CRC value.  */
int tls_crypto_crc_final(psCrcContext_t *ctx, u32 *crc_val)
{
    *crc_val = ctx->state;
    return ERR_CRY_OK;
}