McEliecePublicKeyParameters pubKey = new McEliecePublicKeyParameters(OID, n, t, g, mcElieceParams.getParameters());
McEliecePrivateKeyParameters privKey = new McEliecePrivateKeyParameters(OID, n, k,
field, gp, matrixSandInverse[1], p1, p2, h, sqRootMatrix, mcElieceParams.getParameters());
// return key pair
return new AsymmetricCipherKeyPair(pubKey, privKey);
}