Description of changes: This is a starting point for implementing the functionality of EVP_PKEY_CTX_ctrl_str for each of the EVP_PKEY types. Adds OPENSSL_hexstr2buf which will be needed to parse t...
Error setting RSA length 04520000:error:03000093:digital envelope routines:evp_pkey_ctx_ctrl_int:command not supported:crypto\evp\pmeth_lib.c:1321: It seems the libp11 has some compatibility issue with OpenSSL 3.0.x. When I change the version to 1.x.x, the above error disappeared and the ...
intEVP_PKEY_CTX_ctrl(EVP_PKEY_CTX*ctx,intkeytype,intoptype, intcmd,intp1,void*p2); intEVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX*ctx,constchar*type, constchar*value); #include<openssl/rsa.h> intEVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX*ctx,constEVP_MD*md); ...
int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int cmd, int p1, void *p2); int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value); int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid); ...
/* * This one is currently implemented as an EVP_PKEY_CTX_ctrl() wrapper, * simply because that's easier. * TODO(3.0) Should this be deprecated? */ int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode) and int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int...
@@ -2845,7 +2845,7 @@ static int evp_pkey_ctx_setget_params_to_ctrl(EVP_PKEY_CTX *pctx, fixup_args_fn *fixup = default_fixup_args; int ret;tmpl.action_type = action_type; ctx.action_type = tmpl.action_type = action_type; ...