Edit

kc3-lang/libtommath/bn_mp_iseven.c

Branch :

  • Show log

    Commit

  • Author : Daniel Mendler
    Date : 2019-04-09 11:08:26
    Hash : c4fb2241
    Message : rename macros in tommath_private to use MP_* prefix

  • bn_mp_iseven.c
  • #include "tommath_private.h"
    #ifdef BN_MP_ISEVEN_C
    /* LibTomMath, multiple-precision integer library -- Tom St Denis */
    /* SPDX-License-Identifier: Unlicense */
    
    int mp_iseven(const mp_int *a)
    {
       return MP_IS_EVEN(a) ? MP_YES : MP_NO;
    }
    #endif