core/src/main/java/org/bouncycastle/pqc/crypto/qtesla/QTESLA.java
/**********************************************************************************
     * Description:	Checks Bounds for Signature Vector Z During Signature Verification
     *
     * @param        Z        Signature Vector
     * @param        n        Polynomial Degree
     * @param        b        Interval the Randomness is Chosen in During Signification
     * @param        u        Bound in Checking Secret Polynomial
     *
     * @return false    Valid / Accepted
     * 				true	Invalid / Rejected
     *********************************************************************************/
Checks Bounds for Signature Vector Z During Signature Verification
@param        Z        Signature Vector
@param        n        Polynomial Degree
@param        b        Interval the Randomness is Chosen in During Signification
@param        u        Bound in Checking Secret Polynomial

@return false    Valid / Accepted
true    Invalid / Rejected
Checks Bounds for Signature Vector Z During Signature Verification @param Z Signature Vector @param n Polynomial Degree @param b Interval the Randomness is Chosen in During Signification @param u Bound in Checking Secret Polynomial @return false Valid / Accepted true Invalid / Rejected
private static boolean testZ(long[] Z, int n, int b, int u)
    {
        for (int i = 0; i < n; i++)
        {
            if (absolute(Z[i]) > (b - u))
            {
                return true;
            }
        }
        return false;
    }
private static boolean testZ ( long [ ] Z , int n , int b , int u ) { for ( int i = 0 ; i < n ; i ++ ) { if ( absolute ( Z [ i ] ) > ( b - u ) ) { return true ; } } return false ; }
Description:     Checks Bounds for Signature Vector Z During Signature Verification
 @param        Z        Signature Vector
 @param        n        Polynomial Degree
 @param        b        Interval the Randomness is Chosen in During Signification
 @param        u        Bound in Checking Secret Polynomial
Description : Checks Bounds for Signature Vector Z During Signature Verification @param Z Signature Vector @param n Polynomial Degree @param b Interval the Randomness is Chosen in During Signification @param u Bound in Checking Secret Polynomial