Lines Matching refs:outfile
122 def _write_header(input_files, outfile, mode, data): argument
123 outfile.write('/*\n * Auto generated by nist2h.py from input files:\n')
125 outfile.write(' * %s\n' % fname)
126 outfile.write(' */\n')
127 outfile.write('#ifndef AES_%s_CAVP_H\n' % mode)
128 outfile.write('#define AES_%s_CAVP_H\n' % mode)
129 outfile.write('''
145 outfile.write('const %s_data NIST_%s_DATA[] = {\n' % (mode.lower(), mode))
169 outfile.write(' {%s},\n' % line)
170 outfile.write('};\n\n')
171 outfile.write('#endif /* ! AES_TESTS_%s_DATA_H */\n' % mode)