Home
last modified time | relevance | path

Searched defs:vpsm2ctx (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/signature/
H A Dsm2_sig.c133 static int sm2sig_signature_init(void *vpsm2ctx, void *ec, in sm2sig_signature_init()
157 static int sm2sig_sign(void *vpsm2ctx, unsigned char *sig, size_t *siglen, in sm2sig_sign()
185 static int sm2sig_verify(void *vpsm2ctx, const unsigned char *sig, size_t siglen, in sm2sig_verify()
204 static int sm2sig_digest_signverify_init(void *vpsm2ctx, const char *mdname, in sm2sig_digest_signverify_init()
272 int sm2sig_digest_signverify_update(void *vpsm2ctx, const unsigned char *data, in sm2sig_digest_signverify_update()
284 int sm2sig_digest_sign_final(void *vpsm2ctx, unsigned char *sig, size_t *siglen, in sm2sig_digest_sign_final()
308 int sm2sig_digest_verify_final(void *vpsm2ctx, const unsigned char *sig, in sm2sig_digest_verify_final()
327 static void sm2sig_freectx(void *vpsm2ctx) in sm2sig_freectx()
338 static void *sm2sig_dupctx(void *vpsm2ctx) in sm2sig_dupctx()
389 static int sm2sig_get_ctx_params(void *vpsm2ctx, OSSL_PARAM *params) in sm2sig_get_ctx_params()
[all …]
/freebsd/crypto/openssl/providers/implementations/asymciphers/
H A Dsm2_enc.c59 static int sm2_init(void *vpsm2ctx, void *vkey, const OSSL_PARAM params[]) in sm2_init()
81 static int sm2_asym_encrypt(void *vpsm2ctx, unsigned char *out, size_t *outlen, in sm2_asym_encrypt()
102 static int sm2_asym_decrypt(void *vpsm2ctx, unsigned char *out, size_t *outlen, in sm2_asym_decrypt()
121 static void sm2_freectx(void *vpsm2ctx) in sm2_freectx()
131 static void *sm2_dupctx(void *vpsm2ctx) in sm2_dupctx()
156 static int sm2_get_ctx_params(void *vpsm2ctx, OSSL_PARAM *params) in sm2_get_ctx_params()
181 static const OSSL_PARAM *sm2_gettable_ctx_params(ossl_unused void *vpsm2ctx, in sm2_gettable_ctx_params()
187 static int sm2_set_ctx_params(void *vpsm2ctx, const OSSL_PARAM params[]) in sm2_set_ctx_params()
210 static const OSSL_PARAM *sm2_settable_ctx_params(ossl_unused void *vpsm2ctx, in sm2_settable_ctx_params()