Examples of GF2Matrix


Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

    public McEliecePublicKeySpec(String oid, int n, int t, GF2Matrix g)
    {
        this.oid = oid;
        this.n = n;
        this.t = t;
        this.g = new GF2Matrix(g);
    }
View Full Code Here

Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

    public McEliecePublicKeySpec(String oid, int t, int n, byte[] encG)
    {
        this.oid = oid;
        this.n = n;
        this.t = t;
        this.g = new GF2Matrix(encG);
    }
View Full Code Here

Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

        this.oid = oid;
        this.n = n;
        this.k = k;
        field = new GF2mField(encField);
        goppaPoly = new PolynomialGF2mSmallM(field, encGoppaPoly);
        sInv = new GF2Matrix(encSInv);
        p1 = new Permutation(encP1);
        p2 = new Permutation(encP2);
        h = new GF2Matrix(encH);
        qInv = new PolynomialGF2mSmallM[encQInv.length];
        for (int i = 0; i < encQInv.length; i++)
        {
            qInv[i] = new PolynomialGF2mSmallM(field, encQInv[i]);
        }
View Full Code Here

Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

        return new PolynomialGF2mSmallM(this.getField(), encGp);
    }

    public GF2Matrix getSInv()
    {
        return new GF2Matrix(encSInv);
    }
View Full Code Here

Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

        return new Permutation(encP2);
    }

    public GF2Matrix getH()
    {
        return new GF2Matrix(encH);
    }
View Full Code Here

Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

    public McElieceCCA2PublicKeySpec(String oid, int n, int t, GF2Matrix matrix)
    {
        this.oid = oid;
        this.n = n;
        this.t = t;
        this.matrixG = new GF2Matrix(matrix);
    }
View Full Code Here

Examples of org.bouncycastle.pqc.math.linearalgebra.GF2Matrix

    public McElieceCCA2PublicKeySpec(String oid, int n, int t, byte[] encMatrix)
    {
        this.oid = oid;
        this.n = n;
        this.t = t;
        this.matrixG = new GF2Matrix(encMatrix);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.