Lines Matching full:gen
29 my $gen = shift; #2, 5 or something else (0 is "something else")?
77 if ($gen == 2 || $gen == 5) {
79 $genline = "G: $gen (0x$gen)";
126 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.pem',
128 checkdhparams("gen-pkcs3-2-512.pem", "PKCS3", 2, "PEM", 512);
132 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-exp2-512.pem', '-2',
134 checkdhparams("gen-pkcs3-exp2-512.pem", "PKCS3", 2, "PEM", 512);
138 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-5-512.pem', '-5',
140 checkdhparams("gen-pkcs3-5-512.pem", "PKCS3", 5, "PEM", 512);
144 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.exp.pem',
146 checkdhparams("gen-pkcs3-2-512.exp.pem", "PKCS3", 2, "PEM", 512);
153 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.pem',
155 checkdhparams("gen-x942-0-512.pem", "X9.42", 0, "PEM", 512);
160 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-exp2-512.pem', '-2',
166 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-5-512.pem',
171 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.der',
173 checkdhparams("gen-x942-0-512.der", "X9.42", 0, "DER", 512);