core/src/main/java/org/bouncycastle/pqc/crypto/qtesla/QTESLA.java
/*******************************************************************************************************
     * Description:	Extracts the Original Message and Checks Whether the Generated Signature is Valid for
     * 				A Given Signature Package for Heuristic qTESLA Security Category-1
     *
     * @param        signature                            Given Signature Package
     * @param        signatureOffset                        Starting Point of the Given Signature Package
     * @param        signatureLength                        Length of the Given Signature Package
     * @param        message                                Original (Signed) Message
     * @param        publicKey                            Public Key
     *
     * @return 0                                    Valid Signature
     * 				< 0									Invalid Signature
     *******************************************************************************************************/
Extracts the Original Message and Checks Whether the Generated Signature is Valid for
A Given Signature Package for Heuristic qTESLA Security Category-1



@return 0                                    Valid Signature
< 0                                                                     Invalid Signature
Extracts the Original Message and Checks Whether the Generated Signature is Valid for A Given Signature Package for Heuristic qTESLA Security Category - 1 @return 0 Valid Signature < 0 Invalid Signature
static int verifyingI(
        byte[] message,
        final byte[] signature, int signatureOffset, int signatureLength,
        final byte[] publicKey
    )
    {
        return verifying(
            message,
            signature, signatureOffset, signatureLength,
            publicKey,
            Parameter.N_I, Parameter.W_I, Parameter.Q_I, Parameter.Q_INVERSE_I, Parameter.Q_LOGARITHM_I,
            Parameter.B_I, Parameter.D_I, Parameter.U_I, Polynomial.SIGNATURE_I,
            Parameter.GENERATOR_A_I, Parameter.INVERSE_NUMBER_THEORETIC_TRANSFORM_I,
            Parameter.BARRETT_MULTIPLICATION_I, Parameter.BARRETT_DIVISION_I,
            PolynomialHeuristic.ZETA_I
        );
    }
static int verifyingI ( byte [ ] message , final byte [ ] signature , int signatureOffset , int signatureLength , final byte [ ] publicKey ) { return verifying ( message , signature , signatureOffset , signatureLength , publicKey , Parameter . N_I , Parameter . W_I , Parameter . Q_I , Parameter . Q_INVERSE_I , Parameter . Q_LOGARITHM_I , Parameter . B_I , Parameter . D_I , Parameter . U_I , Polynomial . SIGNATURE_I , Parameter . GENERATOR_A_I , Parameter . INVERSE_NUMBER_THEORETIC_TRANSFORM_I , Parameter . BARRETT_MULTIPLICATION_I , Parameter . BARRETT_DIVISION_I , PolynomialHeuristic . ZETA_I ) ; }
Description:     Extracts the Original Message and Checks Whether the Generated Signature is Valid for
                          A Given Signature Package for Heuristic qTESLA Security Category-1
Description : Extracts the Original Message and Checks Whether the Generated Signature is Valid for A Given Signature Package for Heuristic qTESLA Security Category - 1