FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/fe_448.c
/* Check whether field element is not 0.
 * Must convert to a normalized form before checking.
 *
 * a  [in]  Field element.
 * returns 0 when zero, and any other value otherwise.
 */
Check whether field element is not 0.
Must convert to a normalized form before checking.

a  [in]  Field element.
returns 0 when zero, and any other value otherwise.
Check whether field element is not 0 . Must convert to a normalized form before checking . a [ in ] Field element . returns 0 when zero and any other value otherwise .
int fe448_isnonzero(const int32_t* a)
{
    uint8_t b[56];
    int i;
    uint8_t c = 0;
    fe448_to_bytes(b, a);
    for (i = 0; i < 56; i++)
        c |= b[i];
    return c;
}
int fe448_isnonzero ( const int32_t * a ) { uint8_t b [ 56 ] ; int i ; uint8_t c = 0 ; fe448_to_bytes ( b , a ) ; for ( i = 0 ; i < 56 ; i ++ ) c |= b [ i ] ; return c ; }
Check whether field element is not 0.
Check whether field element is not 0 .