test/main.c
static int
check_err_no_aesni_emu(const uint64_t feature_flags, IMB_MGR *p_mgr)
{
        if (((feature_flags & IMB_FEATURE_AESNI_EMU) == 0) &&
            (imb_get_errno(p_mgr) == IMB_ERR_NO_AESNI_EMU))
                return 1;

        return 0;
}
/* Check if expected error for no AESNI Emulation support is returned */
Check if expected error for no AESNI Emulation support is returned
Check if expected error for no AESNI Emulation support is returned
static int
check_err_no_aesni_emu(const uint64_t feature_flags, IMB_MGR *p_mgr)
{
        if (((feature_flags & IMB_FEATURE_AESNI_EMU) == 0) &&
            (imb_get_errno(p_mgr) == IMB_ERR_NO_AESNI_EMU))
                return 1;
        return 0;
}
static int check_err_no_aesni_emu ( const uint64_t feature_flags , IMB_MGR * p_mgr ) { if ( ( ( feature_flags & IMB_FEATURE_AESNI_EMU ) == 0 ) && ( imb_get_errno ( p_mgr ) == IMB_ERR_NO_AESNI_EMU ) ) return 1 ; return 0 ; }
Check if expected error for no AESNI Emulation support is returned
Check if expected error for no AESNI Emulation support is returned