/third_party/node/deps/openssl/openssl/crypto/pkcs12/ |
D | p12_decr.c | 19 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, in PKCS12_pbe_crypt_ex() argument 36 if (!EVP_PBE_CipherInit_ex(algor->algorithm, pass, passlen, in PKCS12_pbe_crypt_ex() 37 algor->parameter, ctx, en_de, libctx, propq)) in PKCS12_pbe_crypt_ex() 115 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, in PKCS12_pbe_crypt() argument 120 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen, in PKCS12_pbe_crypt() 129 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i_ex() argument 140 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i_ex() 158 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() argument 162 return PKCS12_item_decrypt_d2i_ex(algor, it, pass, passlen, oct, zbuf, in PKCS12_item_decrypt_d2i() 171 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor, in PKCS12_item_i2d_encrypt_ex() argument [all …]
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_decr.c | 19 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, in PKCS12_pbe_crypt_ex() argument 36 if (!EVP_PBE_CipherInit_ex(algor->algorithm, pass, passlen, in PKCS12_pbe_crypt_ex() 37 algor->parameter, ctx, en_de, libctx, propq)) in PKCS12_pbe_crypt_ex() 115 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, in PKCS12_pbe_crypt() argument 120 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen, in PKCS12_pbe_crypt() 129 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i_ex() argument 140 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i_ex() 158 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() argument 162 return PKCS12_item_decrypt_d2i_ex(algor, it, pass, passlen, oct, zbuf, in PKCS12_item_decrypt_d2i() 171 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor, in PKCS12_item_i2d_encrypt_ex() argument [all …]
|
/third_party/openssl/test/ |
D | evp_fetch_prov_test.c | 126 X509_ALGOR *algor; in make_algor() local 128 if (!TEST_ptr(algor = X509_ALGOR_new()) in make_algor() 129 || !TEST_true(X509_ALGOR_set0(algor, OBJ_nid2obj(nid), in make_algor() 131 X509_ALGOR_free(algor); in make_algor() 134 return algor; in make_algor() 213 X509_ALGOR *algor = make_algor(NID_sha256); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() local 217 if (algor == NULL) in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 220 X509_ALGOR_get0(&obj, NULL, NULL, algor); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 234 X509_ALGOR_free(algor); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 329 X509_ALGOR *algor = make_algor(NID_aes_128_cbc); in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() local [all …]
|
D | pbetest.c | 62 X509_ALGOR *algor = NULL; in test_pkcs5_pbe() local 70 algor = X509_ALGOR_new(); in test_pkcs5_pbe() 71 if (!TEST_ptr(algor)) in test_pkcs5_pbe() 74 if (!TEST_true(PKCS5_pbe_set0_algor(algor, EVP_CIPHER_nid(cipher), pbe_iter, in test_pkcs5_pbe() 77 algor->parameter, cipher, md, 1)) in test_pkcs5_pbe() 93 algor->parameter, cipher, md, 0)) in test_pkcs5_pbe() 107 X509_ALGOR_free(algor); in test_pkcs5_pbe()
|
/third_party/openssl/doc/man3/ |
D | PKCS12_item_decrypt_d2i.pod | 13 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 16 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 21 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 25 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor, 35 string containing an ASN.1 encoded object using the algorithm I<algor> and 40 object I<it> using the algorithm I<algor> and password I<pass> of length
|
/third_party/openssl/providers/implementations/encode_decode/ |
D | decode_spki2typespki.c | 61 X509_ALGOR *algor = NULL; in spki2typespki_decode() local 79 if (!X509_PUBKEY_get0_param(NULL, NULL, NULL, &algor, xpub)) in spki2typespki_decode() 81 X509_ALGOR_get0(&oid, NULL, NULL, algor); in spki2typespki_decode() 86 && ossl_x509_algor_is_sm2(algor)) in spki2typespki_decode()
|
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
D | decode_spki2typespki.c | 61 X509_ALGOR *algor = NULL; in spki2typespki_decode() local 79 if (!X509_PUBKEY_get0_param(NULL, NULL, NULL, &algor, xpub)) in spki2typespki_decode() 81 X509_ALGOR_get0(&oid, NULL, NULL, algor); in spki2typespki_decode() 86 && ossl_x509_algor_is_sm2(algor)) in spki2typespki_decode()
|
/third_party/openssl/crypto/asn1/ |
D | p5_pbe.c | 27 int PKCS5_pbe_set0_algor_ex(X509_ALGOR *algor, int alg, int iter, 72 if (X509_ALGOR_set0(algor, OBJ_nid2obj(alg), V_ASN1_SEQUENCE, pbe_str)) 82 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, in PKCS5_pbe_set0_algor() argument 85 return PKCS5_pbe_set0_algor_ex(algor, alg, iter, salt, saltlen, NULL); in PKCS5_pbe_set0_algor()
|
D | x_algor.c | 57 const void **ppval, const X509_ALGOR *algor) in X509_ALGOR_get0() argument 60 *paobj = algor->algorithm; in X509_ALGOR_get0() 62 if (algor->parameter == NULL) { in X509_ALGOR_get0() 66 *pptype = algor->parameter->type; in X509_ALGOR_get0() 68 *ppval = algor->parameter->value.ptr; in X509_ALGOR_get0()
|
D | x_sig.c | 17 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR), 27 *palg = sig->algor; 36 *palg = sig->algor; in X509_SIG_getm()
|
D | n_pkey.c | 27 X509_ALGOR *algor; member 52 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR),
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
D | p5_pbe.c | 27 int PKCS5_pbe_set0_algor_ex(X509_ALGOR *algor, int alg, int iter, 72 if (X509_ALGOR_set0(algor, OBJ_nid2obj(alg), V_ASN1_SEQUENCE, pbe_str)) 82 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, in PKCS5_pbe_set0_algor() argument 85 return PKCS5_pbe_set0_algor_ex(algor, alg, iter, salt, saltlen, NULL); in PKCS5_pbe_set0_algor()
|
D | x_algor.c | 57 const void **ppval, const X509_ALGOR *algor) in X509_ALGOR_get0() argument 60 *paobj = algor->algorithm; in X509_ALGOR_get0() 62 if (algor->parameter == NULL) { in X509_ALGOR_get0() 66 *pptype = algor->parameter->type; in X509_ALGOR_get0() 68 *ppval = algor->parameter->value.ptr; in X509_ALGOR_get0()
|
D | x_sig.c | 17 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR), 27 *palg = sig->algor; 36 *palg = sig->algor; in X509_SIG_getm()
|
D | n_pkey.c | 27 X509_ALGOR *algor; member 52 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR),
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | x_pubkey.c | 32 X509_ALGOR *algor; member 64 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 90 X509_ALGOR_free(pubkey->algor); in x509_pubkey_ex_free() 103 return (pubkey->algor != NULL in x509_pubkey_ex_populate() 104 || (pubkey->algor = X509_ALGOR_new()) != NULL) in x509_pubkey_ex_populate() 203 pubkey->algor->algorithm, 0) <= 0) { in x509_pubkey_ex_d2i_ex() 289 || (pubkey->algor = X509_ALGOR_dup(a->algor)) == NULL in X509_PUBKEY_dup() 403 nid = OBJ_obj2nid(key->algor->algorithm); in x509_pubkey_decode() 1008 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param() 1026 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param() [all …]
|
/third_party/openssl/crypto/x509/ |
D | x_pubkey.c | 32 X509_ALGOR *algor; member 64 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 90 X509_ALGOR_free(pubkey->algor); in x509_pubkey_ex_free() 103 return (pubkey->algor != NULL in x509_pubkey_ex_populate() 104 || (pubkey->algor = X509_ALGOR_new()) != NULL) in x509_pubkey_ex_populate() 203 pubkey->algor->algorithm, 0) <= 0) { in x509_pubkey_ex_d2i_ex() 289 || (pubkey->algor = X509_ALGOR_dup(a->algor)) == NULL in X509_PUBKEY_dup() 403 nid = OBJ_obj2nid(key->algor->algorithm); in x509_pubkey_decode() 1008 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param() 1026 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param() [all …]
|
/third_party/node/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
/third_party/node/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/ |
D | pkcs12.h | 221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|