Lines Matching refs:as
188 static int test_builtin(int n, int as) in test_builtin() argument
211 if (nid == NID_sm2 && as == EVP_PKEY_EC) { in test_builtin()
215 } else if (nid != NID_sm2 && as == EVP_PKEY_SM2) { in test_builtin()
222 as == EVP_PKEY_EC ? "EC" : "SM2"); in test_builtin()
250 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
256 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey_neg)) in test_builtin()
261 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
266 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
274 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
281 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
316 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
323 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()