Home
last modified time | relevance | path

Searched refs:verify_ctx (Results 1 – 2 of 2) sorted by relevance

/openbsd/regress/lib/libcrypto/sm2/
H A Dsm2evptest.c69 EVP_PKEY_CTX *verify_ctx = NULL; in test_EVP_SM2_verify() local
82 CHECK_GOTO(EVP_DigestVerifyInit(md_ctx_verify, &verify_ctx, EVP_sm3(), NULL, pkey)); in test_EVP_SM2_verify()
84 CHECK_GOTO(EVP_PKEY_CTX_set_sm2_uid(verify_ctx, user_id, strlen(user_id)) > 0); in test_EVP_SM2_verify()
86 CHECK_GOTO(EVP_PKEY_CTX_hash_sm2_uid(verify_ctx) > 0); in test_EVP_SM2_verify()
108 EVP_PKEY_CTX *verify_ctx = NULL; in test_EVP_SM2() local
183 CHECK_GOTO(EVP_DigestVerifyInit(md_ctx_verify, &verify_ctx, EVP_sm3(), NULL, pkey)); in test_EVP_SM2()
186 CHECK_GOTO(EVP_PKEY_CTX_set_sm2_uid(verify_ctx, uid_str, strlen(uid_str)) > 0); in test_EVP_SM2()
188 CHECK_GOTO(EVP_PKEY_CTX_get_sm2_uid_len(verify_ctx, &uid_len) > 0); in test_EVP_SM2()
192 CHECK_GOTO(EVP_PKEY_CTX_get_sm2_uid(verify_ctx, uid_buf) > 0); in test_EVP_SM2()
196 CHECK_GOTO(EVP_PKEY_CTX_hash_sm2_uid(verify_ctx) > 0); in test_EVP_SM2()
/openbsd/usr.bin/openssl/
H A Dts.c1075 TS_VERIFY_CTX *verify_ctx = NULL; in verify_command() local
1089 if ((verify_ctx = create_verify_ctx(data, digest, queryfile, in verify_command()
1095 TS_RESP_verify_token(verify_ctx, token) : in verify_command()
1096 TS_RESP_verify_response(verify_ctx, response); in verify_command()
1112 TS_VERIFY_CTX_free(verify_ctx); in verify_command()