ec.c (194206) | ec.c (215697) |
---|---|
1/* apps/ec.c */ 2/* 3 * Written by Nils Larsch for the OpenSSL project. 4 */ 5/* ==================================================================== 6 * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 71 unchanged lines hidden (view full) --- 80 * -conv_form arg - specifies the point encoding form 81 * -param_enc arg - specifies the parameter encoding 82 */ 83 84int MAIN(int, char **); 85 86int MAIN(int argc, char **argv) 87{ | 1/* apps/ec.c */ 2/* 3 * Written by Nils Larsch for the OpenSSL project. 4 */ 5/* ==================================================================== 6 * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 71 unchanged lines hidden (view full) --- 80 * -conv_form arg - specifies the point encoding form 81 * -param_enc arg - specifies the parameter encoding 82 */ 83 84int MAIN(int, char **); 85 86int MAIN(int argc, char **argv) 87{ |
88#ifndef OPENSSL_NO_ENGINE 89 ENGINE *e = NULL; 90#endif | |
91 int ret = 1; 92 EC_KEY *eckey = NULL; 93 const EC_GROUP *group; 94 int i, badops = 0; 95 const EVP_CIPHER *enc = NULL; 96 BIO *in = NULL, *out = NULL; 97 int informat, outformat, text=0, noout=0; 98 int pubin = 0, pubout = 0, param_out = 0; --- 150 unchanged lines hidden (view full) --- 249 BIO_printf(bio_err," " 250 "explicit\n"); 251 goto end; 252 } 253 254 ERR_load_crypto_strings(); 255 256#ifndef OPENSSL_NO_ENGINE | 88 int ret = 1; 89 EC_KEY *eckey = NULL; 90 const EC_GROUP *group; 91 int i, badops = 0; 92 const EVP_CIPHER *enc = NULL; 93 BIO *in = NULL, *out = NULL; 94 int informat, outformat, text=0, noout=0; 95 int pubin = 0, pubout = 0, param_out = 0; --- 150 unchanged lines hidden (view full) --- 246 BIO_printf(bio_err," " 247 "explicit\n"); 248 goto end; 249 } 250 251 ERR_load_crypto_strings(); 252 253#ifndef OPENSSL_NO_ENGINE |
257 e = setup_engine(bio_err, engine, 0); | 254 setup_engine(bio_err, engine, 0); |
258#endif 259 260 if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) 261 { 262 BIO_printf(bio_err, "Error getting passwords\n"); 263 goto end; 264 } 265 --- 138 unchanged lines hidden --- | 255#endif 256 257 if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) 258 { 259 BIO_printf(bio_err, "Error getting passwords\n"); 260 goto end; 261 } 262 --- 138 unchanged lines hidden --- |