Lines Matching refs:argv
72 int main( int argc, char *argv[] ) in main() argument
125 mode = atoi( argv[1] ); in main()
137 if( strcmp( argv[2], argv[3] ) == 0 ) in main()
143 if( ( fin = fopen( argv[2], "rb" ) ) == NULL ) in main()
145 mbedtls_fprintf( stderr, "fopen(%s,rb) failed\n", argv[2] ); in main()
149 if( ( fout = fopen( argv[3], "wb+" ) ) == NULL ) in main()
151 mbedtls_fprintf( stderr, "fopen(%s,wb+) failed\n", argv[3] ); in main()
158 if( ( fkey = fopen( argv[4], "rb" ) ) != NULL ) in main()
165 if( memcmp( argv[4], "hex:", 4 ) == 0 ) in main()
167 p = &argv[4][4]; in main()
179 keylen = strlen( argv[4] ); in main()
184 memcpy( key, argv[4], keylen ); in main()
188 memset( argv[4], 0, strlen( argv[4] ) ); in main()
233 p = argv[2]; in main()