Home
last modified time | relevance | path

Searched refs:evp_type (Results 1 - 9 of 9) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
H A Dlws-genhash.c45 ctx->evp_type = EVP_md5(); in lws_genhash_init()
48 ctx->evp_type = EVP_sha1(); in lws_genhash_init()
51 ctx->evp_type = EVP_sha256(); in lws_genhash_init()
54 ctx->evp_type = EVP_sha384(); in lws_genhash_init()
57 ctx->evp_type = EVP_sha512(); in lws_genhash_init()
63 if (EVP_DigestInit_ex(ctx->mdctx, ctx->evp_type, NULL) != 1) { in lws_genhash_init()
111 ctx->evp_type = 0; in lws_genhmac_init()
116 ctx->evp_type = EVP_sha256(); in lws_genhmac_init()
119 ctx->evp_type = EVP_sha384(); in lws_genhmac_init()
122 ctx->evp_type in lws_genhmac_init()
[all...]
/third_party/openssl/test/
H A Dendecoder_legacy_test.c75 int evp_type; member
217 int evp_type; member
298 static int test_protected_PEM(const char *keytype, int evp_type, in test_protected_PEM() argument
343 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_protected_PEM()
366 static int test_unprotected_PEM(const char *keytype, int evp_type, in test_unprotected_PEM() argument
410 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_unprotected_PEM()
433 static int test_DER(const char *keytype, int evp_type, in test_DER() argument
481 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_DER()
522 || !TEST_int_eq(EVP_PKEY_get_id(downgraded_pkey), key->evp_type) in test_key()
537 if (!test_protected_PEM(key->keytype, key->evp_type, legacy_ob in test_key()
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-genhash.h65 const EVP_MD *evp_type; member
76 const EVP_MD *evp_type; member
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c58 int evp_type; member
110 && OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type) in der2key_decode_p8()
415 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
521 return ctx->desc->evp_type == EVP_PKEY_RSA; in rsa_check()
523 return ctx->desc->evp_type == EVP_PKEY_RSA_PSS; in rsa_check()
H A Dencode_key2any.c1233 * evp_type The corresponding EVP_PKEY_xxx type macro for each key.
1246 #define MAKE_ENCODER(impl, type, evp_type, kind, output) \
/third_party/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c58 int evp_type; member
110 && OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type) in der2key_decode_p8()
411 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
517 return ctx->desc->evp_type == EVP_PKEY_RSA; in rsa_check()
519 return ctx->desc->evp_type == EVP_PKEY_RSA_PSS; in rsa_check()
H A Dencode_key2any.c1222 * evp_type The corresponding EVP_PKEY_xxx type macro for each key.
1235 #define MAKE_ENCODER(impl, type, evp_type, kind, output) \
/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpvkfmt.c64 * This takes ownership of |key|, as long as the |evp_type| is acceptable
70 static EVP_PKEY *evp_pkey_new0_key(void *key, int evp_type) in evp_pkey_new0_key() argument
81 if (!ossl_assert(evp_type == EVP_PKEY_RSA || evp_type == EVP_PKEY_DSA)) { in evp_pkey_new0_key()
87 switch (evp_type) { in evp_pkey_new0_key()
105 switch (evp_type) { in evp_pkey_new0_key()
/third_party/openssl/crypto/pem/
H A Dpvkfmt.c64 * This takes ownership of |key|, as long as the |evp_type| is acceptable
70 static EVP_PKEY *evp_pkey_new0_key(void *key, int evp_type) in evp_pkey_new0_key() argument
81 if (!ossl_assert(evp_type == EVP_PKEY_RSA || evp_type == EVP_PKEY_DSA)) { in evp_pkey_new0_key()
87 switch (evp_type) { in evp_pkey_new0_key()
105 switch (evp_type) { in evp_pkey_new0_key()

Completed in 22 milliseconds