core/src/main/java/org/bouncycastle/pqc/crypto/qtesla/QTESLA.java
/****************************************************************************************************************************************************************
     * Description:	Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for
     * 				Heuristic qTESLA Security Category-1
     *
     * @param        publicKey                            Contains Public Key
     * @param        privateKey                            Contains Private Key
     * @param        secureRandom                        Source of Randomness
     *
     * @return 0                                    Successful Execution
     *
     ****************************************************************************************************************************************************************/
Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for
Heuristic qTESLA Security Category-1

@param        publicKey                            Contains Public Key
@param        privateKey                            Contains Private Key
@param        secureRandom                        Source of Randomness

@return 0                                    Successful Execution
Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for Heuristic qTESLA Security Category - 1 @param publicKey Contains Public Key @param privateKey Contains Private Key @param secureRandom Source of Randomness @return 0 Successful Execution
static int generateKeyPairI(byte[] publicKey, byte[] privateKey, SecureRandom secureRandom)
    {
        return generateKeyPair(
            publicKey, privateKey, secureRandom,
            Parameter.N_I, Parameter.W_I, Parameter.Q_I, Parameter.Q_INVERSE_I, Parameter.Q_LOGARITHM_I,
            Parameter.GENERATOR_A_I, Parameter.INVERSE_NUMBER_THEORETIC_TRANSFORM_I,
            Parameter.XI_I,
            PolynomialHeuristic.ZETA_I,
            Parameter.KEY_GENERATOR_BOUND_E_I, Parameter.KEY_GENERATOR_BOUND_S_I
        );
    }
static int generateKeyPairI ( byte [ ] publicKey , byte [ ] privateKey , SecureRandom secureRandom ) { return generateKeyPair ( publicKey , privateKey , secureRandom , Parameter . N_I , Parameter . W_I , Parameter . Q_I , Parameter . Q_INVERSE_I , Parameter . Q_LOGARITHM_I , Parameter . GENERATOR_A_I , Parameter . INVERSE_NUMBER_THEORETIC_TRANSFORM_I , Parameter . XI_I , PolynomialHeuristic . ZETA_I , Parameter . KEY_GENERATOR_BOUND_E_I , Parameter . KEY_GENERATOR_BOUND_S_I ) ; }
Description:     Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for
                          Heuristic qTESLA Security Category-1
Description : Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for Heuristic qTESLA Security Category - 1