Lines Matching refs:SM2_NUM
496 enum { R_EC_CURVESM2, SM2_NUM }; enumerator
497 static const OPT_PAIR sm2_choices[SM2_NUM] = {
502 static double sm2_results[SM2_NUM][2]; /* 2 ops: sign then verify */
554 EVP_MD_CTX *sm2_ctx[SM2_NUM];
555 EVP_MD_CTX *sm2_vfy_ctx[SM2_NUM];
556 EVP_PKEY *sm2_pkey[SM2_NUM];
2007 static const EC_CURVE sm2_curves[SM2_NUM] = { in speed_main()
2011 uint8_t sm2_doit[SM2_NUM] = { 0 }; in speed_main()
2038 OPENSSL_assert(sm2_curves[SM2_NUM - 1].nid == NID_sm2); in speed_main()
2039 OPENSSL_assert(strcmp(sm2_choices[SM2_NUM - 1].name, "curveSM2") == 0); in speed_main()
3735 for (testnum = 0; testnum < SM2_NUM; testnum++) { in speed_main()
3860 for (testnum++; testnum < SM2_NUM; testnum++) in speed_main()
4693 for (k = 0; k < SM2_NUM; k++) { in speed_main()