Lines Matching refs:opt
86 } opt; variable
123 opt.mode = DFL_MODE; in main()
124 opt.filename = DFL_FILENAME; in main()
125 opt.password = DFL_PASSWORD; in main()
126 opt.password_file = DFL_PASSWORD_FILE; in main()
138 opt.mode = MODE_PRIVATE; in main()
140 opt.mode = MODE_PUBLIC; in main()
145 opt.filename = q; in main()
147 opt.password = q; in main()
149 opt.password_file = q; in main()
154 if( opt.mode == MODE_PRIVATE ) in main()
156 if( strlen( opt.password ) && strlen( opt.password_file ) ) in main()
162 if( strlen( opt.password_file ) ) in main()
167 if( ( f = fopen( opt.password_file, "rb" ) ) == NULL ) in main()
183 opt.password = buf; in main()
200 ret = mbedtls_pk_parse_keyfile( &pk, opt.filename, opt.password, in main()
254 else if( opt.mode == MODE_PUBLIC ) in main()
262 ret = mbedtls_pk_parse_public_keyfile( &pk, opt.filename ); in main()