core/src/main/java/org/bouncycastle/pqc/crypto/qtesla/QTESLA.java
/*********************************************************************************
     * Description:	Checks Bounds for Signature Vector Z During Signification.
     * 				Leaks the Position of the Coefficient that Fails the Test.
     * 				The Position of the Coefficient is Independent of the Secret Data.
     * 				Does not Leak the Signature of the Coefficients.
     *
     * @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 Signification.
Leaks the Position of the Coefficient that Fails the Test.
The Position of the Coefficient is Independent of the Secret Data.
Does not Leak the Signature of the Coefficients.

@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 Signification . Leaks the Position of the Coefficient that Fails the Test . The Position of the Coefficient is Independent of the Secret Data . Does not Leak the Signature of the Coefficients . @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 testRejection(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 testRejection ( 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 Signification.
Description : Checks Bounds for Signature Vector Z During Signification .