Lines Matching refs:upper
1082 … test_name = sig_alg_name + "_" + hashfunc_name + "_" + curve.name.upper() + "_" + str(test_num)
1091 out_vectors += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"\n"
1092 out_vectors += "#ifdef WITH_CURVE_"+curve.name.upper()+"\n"
1093 out_vectors += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"\n"
1121 out_name += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"/* For "+test_name+" */\n"
1122 out_name += "#ifdef WITH_CURVE_"+curve.name.upper()+"/* For "+test_name+" */\n"
1123 out_name += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"/* For "+test_name+" */\n"
1140 out_vectors += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"\n"
1141 out_vectors += "#ifdef WITH_CURVE_"+curve.name.upper()+"\n"
1142 out_vectors += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"\n"
1168 out_name += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"/* For "+test_name+" */\n"
1169 out_name += "#ifdef WITH_CURVE_"+curve.name.upper()+"/* For "+test_name+" */\n"
1170 out_name += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"/* For "+test_name+" */\n"
1479 ec_params_string += "#ifdef WITH_CURVE_"+name.upper()+"\n\n"
1480 ec_params_string += "#ifndef __EC_PARAMS_"+name.upper()+"_H__\n"
1481 ec_params_string += "#define __EC_PARAMS_"+name.upper()+"_H__\n"
1485 ec_params_string += "#define CURVE_"+name.upper()+"_P_BITLEN "+str(pbitlen)+"\n"
1517 …ec_params_string += "#define CURVE_"+name.upper()+"_CURVE_ORDER_BITLEN "+str(curve_order_bitlen)+"…
1527 ec_params_string += "#define CURVE_"+name.upper()+"_Q_BITLEN "+str(qbitlen)+"\n"
1536 ec_params_string += export_curve_string(name, "name", name.upper());
1573 "#if (CURVES_MAX_P_BIT_LEN < CURVE_"+name.upper()+"_P_BITLEN)\n"+\
1575 "#define CURVES_MAX_P_BIT_LEN CURVE_"+name.upper()+"_P_BITLEN\n"+\
1580 "#if (CURVES_MAX_Q_BIT_LEN < CURVE_"+name.upper()+"_Q_BITLEN)\n"+\
1582 "#define CURVES_MAX_Q_BIT_LEN CURVE_"+name.upper()+"_Q_BITLEN\n"+\
1587 "#if (CURVES_MAX_CURVE_ORDER_BIT_LEN < CURVE_"+name.upper()+"_CURVE_ORDER_BITLEN)\n"+\
1589 "#define CURVES_MAX_CURVE_ORDER_BIT_LEN CURVE_"+name.upper()+"_CURVE_ORDER_BITLEN\n"+\
1605 "#if (MAX_CURVE_NAME_LEN < "+str(len(name.upper())+1)+")\n"+\
1607 "#define MAX_CURVE_NAME_LEN "+str(len(name.upper())+1)+"\n"+\
1610 …_params_string += "#endif /* __EC_PARAMS_"+name.upper()+"_H__ */\n\n"+"#endif /* WITH_CURVE_"+name…
1766 file_remove_pattern(curves_list_path + "curves_list.h", ".*"+name.upper()+".*")
1767 file_remove_pattern(lib_ecc_types_path + "lib_ecc_types.h", ".*"+name.upper()+".*")
1768 file_remove_pattern(lib_ecc_config_path + "lib_ecc_config.h", ".*"+name.upper()+".*")
1770 file_remove_pattern(ec_self_tests_path + "ec_self_tests_core.h", ".*"+name.upper()+".*")
1886 ….h", "WITH_CURVE_"+name.upper()+"\n") == True) or (check_in_file(lib_ecc_types_path + "lib_ecc_typ…
1905 …def WITH_CURVE_"+name.upper()+"\n\t{ .type = "+name.upper()+", .params = &"+name+"_str_params },\n…
1912 …re, "#ifdef WITH_CURVE_"+name.upper()+"\n\t"+name.upper()+" = "+str(num_with_curve+1)+",\n#endif /…
1917 …ecc_config_path + "lib_ecc_config.h", magic_re, "#define WITH_CURVE_"+name.upper()+"\n"+magic_back)