example/ipsec_crypto/odp_ipsec_misc.h
static inline
odp_bool_t is_crypto_op_status_ok(odp_crypto_op_status_t *status)
{
	if (status->alg_err != ODP_CRYPTO_ALG_ERR_NONE)
		return FALSE;
	if (status->hw_err != ODP_CRYPTO_HW_ERR_NONE)
		return FALSE;
	return TRUE;
}
/**
 * Verify crypto operation completed successfully
 *
 * @param status  Pointer to cryto completion structure
 *
 * @return TRUE if all OK else FALSE
 */
Verify crypto operation completed successfully
@param status  Pointer to cryto completion structure

@return TRUE if all OK else FALSE
Verify crypto operation completed successfully @param status Pointer to cryto completion structure @return TRUE if all OK else FALSE
static inline
odp_bool_t is_crypto_op_status_ok(odp_crypto_op_status_t *status)
{
	if (status->alg_err != ODP_CRYPTO_ALG_ERR_NONE)
		return FALSE;
	if (status->hw_err != ODP_CRYPTO_HW_ERR_NONE)
		return FALSE;
	return TRUE;
}
static inline odp_bool_t is_crypto_op_status_ok ( odp_crypto_op_status_t * status ) { if ( status -> alg_err != ODP_CRYPTO_ALG_ERR_NONE ) return FALSE ; if ( status -> hw_err != ODP_CRYPTO_HW_ERR_NONE ) return FALSE ; return TRUE ; }
Verify crypto operation completed successfully
 @param status  Pointer to cryto completion structure
Verify crypto operation completed successfully @param status Pointer to cryto completion structure