Home
last modified time | relevance | path

Searched refs:EVP_PKEY_CTX (Results 1 – 22 of 22) sorted by relevance

/external/boringssl/src/include/openssl/
Devp.h231 OPENSSL_EXPORT int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
270 OPENSSL_EXPORT int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
412 OPENSSL_EXPORT EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e);
418 OPENSSL_EXPORT EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e);
421 OPENSSL_EXPORT void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx);
425 OPENSSL_EXPORT EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx);
428 OPENSSL_EXPORT EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx);
431 OPENSSL_EXPORT void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data);
436 OPENSSL_EXPORT void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);
442 OPENSSL_EXPORT int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
[all …]
Ddigest.h244 EVP_PKEY_CTX *pctx;
Dbase.h218 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; typedef
/external/boringssl/src/crypto/evp/
Dinternal.h147 typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx);
177 OPENSSL_EXPORT int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
234 int (*init)(EVP_PKEY_CTX *ctx);
235 int (*copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src);
236 void (*cleanup)(EVP_PKEY_CTX *ctx);
238 int (*paramgen_init)(EVP_PKEY_CTX *ctx);
239 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
241 int (*keygen_init)(EVP_PKEY_CTX *ctx);
242 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
244 int (*sign_init)(EVP_PKEY_CTX *ctx);
[all …]
Devp_ctx.c86 static EVP_PKEY_CTX *evp_pkey_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) { in evp_pkey_ctx_new()
87 EVP_PKEY_CTX *ret; in evp_pkey_ctx_new()
106 ret = OPENSSL_malloc(sizeof(EVP_PKEY_CTX)); in evp_pkey_ctx_new()
111 memset(ret, 0, sizeof(EVP_PKEY_CTX)); in evp_pkey_ctx_new()
132 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) { in EVP_PKEY_CTX_new()
136 EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e) { in EVP_PKEY_CTX_new_id()
140 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) { in EVP_PKEY_CTX_free()
152 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *pctx) { in EVP_PKEY_CTX_dup()
153 EVP_PKEY_CTX *rctx; in EVP_PKEY_CTX_dup()
159 rctx = OPENSSL_malloc(sizeof(EVP_PKEY_CTX)); in EVP_PKEY_CTX_dup()
[all …]
Dp_rsa.c94 static int pkey_rsa_init(EVP_PKEY_CTX *ctx) { in pkey_rsa_init()
111 static int pkey_rsa_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) { in pkey_rsa_copy()
141 static void pkey_rsa_cleanup(EVP_PKEY_CTX *ctx) { in pkey_rsa_cleanup()
154 static int setup_tbuf(RSA_PKEY_CTX *ctx, EVP_PKEY_CTX *pk) { in setup_tbuf()
165 static int pkey_rsa_sign(EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, in pkey_rsa_sign()
220 static int pkey_rsa_verify(EVP_PKEY_CTX *ctx, const uint8_t *sig, in pkey_rsa_verify()
259 static int pkey_rsa_encrypt(EVP_PKEY_CTX *ctx, uint8_t *out, size_t *outlen, in pkey_rsa_encrypt()
290 static int pkey_rsa_decrypt(EVP_PKEY_CTX *ctx, uint8_t *out, in pkey_rsa_decrypt()
355 static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) { in pkey_rsa_ctrl()
481 static int pkey_rsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { in pkey_rsa_keygen()
[all …]
Dp_ec.c84 static int pkey_ec_init(EVP_PKEY_CTX *ctx) { in pkey_ec_init()
97 static int pkey_ec_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) { in pkey_ec_copy()
116 static void pkey_ec_cleanup(EVP_PKEY_CTX *ctx) { in pkey_ec_cleanup()
126 static int pkey_ec_sign(EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, in pkey_ec_sign()
146 static int pkey_ec_verify(EVP_PKEY_CTX *ctx, const uint8_t *sig, size_t siglen, in pkey_ec_verify()
151 static int pkey_ec_derive(EVP_PKEY_CTX *ctx, uint8_t *key, in pkey_ec_derive()
186 static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) { in pkey_ec_ctrl()
228 static int pkey_ec_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { in pkey_ec_paramgen()
250 static int pkey_ec_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { in pkey_ec_keygen()
Ddigestsign.c69 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init()
106 int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, in EVP_DigestSignInit()
111 int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in EVP_DigestVerifyInit()
Dsign.c83 EVP_PKEY_CTX *pkctx = NULL; in EVP_SignFinal()
129 EVP_PKEY_CTX *pkctx = NULL; in EVP_VerifyFinal()
Devp_test.cc136 int (*key_op_init)(EVP_PKEY_CTX *ctx); in TestEVP()
137 int (*key_op)(EVP_PKEY_CTX *ctx, uint8_t *out, size_t *out_len, in TestEVP()
Devp.c395 int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) { in EVP_PKEY_CTX_set_signature_md()
400 int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **out_md) { in EVP_PKEY_CTX_get_signature_md()
Dp_rsa_asn1.c545 static ASN1_STRING *rsa_ctx_to_pss(EVP_PKEY_CTX *pkctx) { in rsa_ctx_to_pss()
613 EVP_PKEY_CTX *pkctx; in rsa_pss_to_ctx()
688 EVP_PKEY_CTX *pkctx = ctx->pctx; in rsa_digest_sign_algorithm()
Devp_extra_test.cc563 EVP_PKEY_CTX *pkey_ctx; in TestEVP_DigestSignAlgorithm()
/external/boringssl/src/crypto/digest/
Dinternal.h100 void (*free) (EVP_PKEY_CTX *pctx);
104 EVP_PKEY_CTX* (*dup) (EVP_PKEY_CTX *pctx);
/external/libchrome/crypto/
Dsignature_verifier.h17 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; typedef
118 EVP_PKEY_CTX** pkey_ctx);
Dsignature_verifier_openssl.cc89 EVP_PKEY_CTX* pkey_ctx; in VerifyInitRSAPSS()
134 EVP_PKEY_CTX** pkey_ctx) { in CommonInit()
Dscoped_openssl_types.h54 using ScopedEVP_PKEY_CTX = ScopedOpenSSL<EVP_PKEY_CTX, EVP_PKEY_CTX_free>;
/external/boringssl/src/crypto/test/
Dscoped_types.h109 using ScopedEVP_PKEY_CTX = ScopedOpenSSLType<EVP_PKEY_CTX, EVP_PKEY_CTX_free>;
/external/boringssl/src/ssl/
Dssl_rsa.c371 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new(ssl->cert->privatekey, NULL); in ssl_private_key_sign()
Ds3_srvr.c1741 EVP_PKEY_CTX *pctx = NULL; in ssl3_get_cert_verify()
/external/wpa_supplicant_8/hs20/client/
Dest.c375 EVP_PKEY_CTX *pctx = NULL; in generate_csr()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp4278 int (*init_func)(EVP_MD_CTX*, EVP_PKEY_CTX**, const EVP_MD*, ENGINE*, EVP_PKEY*), argument
4300 EVP_PKEY_CTX* pctx = nullptr;
4523 EVP_PKEY_CTX* pkeyCtx = reinterpret_cast<EVP_PKEY_CTX*>(ctx);
4542 EVP_PKEY_CTX* pkeyCtx = reinterpret_cast<EVP_PKEY_CTX*>(ctx);
4560 EVP_PKEY_CTX* pkeyCtx = reinterpret_cast<EVP_PKEY_CTX*>(ctx);