Lines Matching refs:opt
82 } opt; variable
105 opt.mode = DFL_MODE; in main()
106 opt.filename = DFL_FILENAME; in main()
107 opt.password = DFL_PASSWORD; in main()
108 opt.password_file = DFL_PASSWORD_FILE; in main()
120 opt.mode = MODE_PRIVATE; in main()
122 opt.mode = MODE_PUBLIC; in main()
127 opt.filename = q; in main()
129 opt.password = q; in main()
131 opt.password_file = q; in main()
136 if( opt.mode == MODE_PRIVATE ) in main()
138 if( strlen( opt.password ) && strlen( opt.password_file ) ) in main()
144 if( strlen( opt.password_file ) ) in main()
149 if( ( f = fopen( opt.password_file, "rb" ) ) == NULL ) in main()
165 opt.password = buf; in main()
174 ret = mbedtls_pk_parse_keyfile( &pk, opt.filename, opt.password ); in main()
219 else if( opt.mode == MODE_PUBLIC ) in main()
227 ret = mbedtls_pk_parse_public_keyfile( &pk, opt.filename ); in main()