/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 19 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, in PKCS12_pbe_crypt_ex() argument 37 if (!EVP_PBE_CipherInit_ex(algor->algorithm, pass, passlen, in PKCS12_pbe_crypt_ex() 38 algor->parameter, ctx, en_de, libctx, propq)) in PKCS12_pbe_crypt_ex() 121 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, in PKCS12_pbe_crypt() argument 126 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen, in PKCS12_pbe_crypt() 146 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i_ex() 164 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() argument 168 return PKCS12_item_decrypt_d2i_ex(algor, it, pass, passlen, oct, zbuf, in PKCS12_item_decrypt_d2i() 177 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor, in PKCS12_item_i2d_encrypt_ex() argument 197 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt_ex() [all …]
|
H A D | p12_p8e.c | 90 p8->algor = pbe; in PKCS8_set0_pbe_ex()
|
/openssl/test/ |
H A D | pbetest.c | 64 X509_ALGOR *algor = NULL; in test_pkcs5_pbe() local 72 algor = X509_ALGOR_new(); in test_pkcs5_pbe() 73 if (!TEST_ptr(algor)) in test_pkcs5_pbe() 76 if (!TEST_true(PKCS5_pbe_set0_algor(algor, EVP_CIPHER_nid(cipher), pbe_iter, in test_pkcs5_pbe() 79 algor->parameter, cipher, md, 1)) in test_pkcs5_pbe() 95 algor->parameter, cipher, md, 0)) in test_pkcs5_pbe() 109 X509_ALGOR_free(algor); in test_pkcs5_pbe()
|
H A D | evp_fetch_prov_test.c | 147 X509_ALGOR *algor; in make_algor() local 149 if (!TEST_ptr(algor = X509_ALGOR_new()) in make_algor() 152 X509_ALGOR_free(algor); in make_algor() 155 return algor; in make_algor() 234 X509_ALGOR *algor = make_algor(NID_sha256); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() local 238 if (algor == NULL) in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 241 X509_ALGOR_get0(&obj, NULL, NULL, algor); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 255 X509_ALGOR_free(algor); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 354 if (algor == NULL) in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() 357 X509_ALGOR_get0(&obj, NULL, NULL, algor); in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() [all …]
|
H A D | tls-provider.c | 2165 X509_ALGOR *algor; member 2176 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 2612 X509_ALGOR *algor = X509_ALGOR_new(); in xor_get_aid() local 2615 X509_ALGOR_set0(algor, OBJ_txt2obj(tls_name, 0), V_ASN1_UNDEF, NULL); in xor_get_aid() 2617 aidlen = i2d_X509_ALGOR(algor, oidbuf); in xor_get_aid() 2618 X509_ALGOR_free(algor); in xor_get_aid()
|
/openssl/doc/man3/ |
H A 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
|
H A D | PKCS12_PBE_keyivgen.pod | 19 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 24 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 44 based on the algorithm in I<algor> and password I<pass> of length I<passlen>.
|
H A D | PKCS5_PBE_keyivgen.pod | 50 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, 52 int PKCS5_pbe_set0_algor_ex(X509_ALGOR *algor, int alg, int iter,
|
/openssl/crypto/asn1/ |
H A D | x_sig.c | 17 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR), 27 *palg = sig->algor; 36 *palg = sig->algor; in X509_SIG_getm()
|
H A D | p5_pbe.c | 28 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()
|
H A D | x_algor.c | 73 const void **ppval, const X509_ALGOR *algor) in X509_ALGOR_get0() argument 76 *paobj = algor->algorithm; in X509_ALGOR_get0() 78 if (algor->parameter == NULL) { in X509_ALGOR_get0() 82 *pptype = algor->parameter->type; in X509_ALGOR_get0() 84 *ppval = algor->parameter->value.ptr; in X509_ALGOR_get0()
|
H A D | n_pkey.c | 27 X509_ALGOR *algor; member 52 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR),
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_spki2typespki.c | 86 X509_ALGOR *algor = NULL; in spki2typespki_decode() local 104 if (!X509_PUBKEY_get0_param(NULL, NULL, NULL, &algor, xpub)) in spki2typespki_decode() 106 X509_ALGOR_get0(&oid, NULL, NULL, algor); in spki2typespki_decode() 111 && ossl_x509_algor_is_sm2(algor)) in spki2typespki_decode()
|
/openssl/crypto/x509/ |
H A D | x_pubkey.c | 32 X509_ALGOR *algor; member 64 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 91 X509_ALGOR_free(pubkey->algor); in x509_pubkey_ex_free() 104 return (pubkey->algor != NULL in x509_pubkey_ex_populate() 105 || (pubkey->algor = X509_ALGOR_new()) != NULL) in x509_pubkey_ex_populate() 203 pubkey->algor->algorithm, 0) <= 0) { in x509_pubkey_ex_d2i_ex() 295 if ((pubkey->algor = X509_ALGOR_dup(a->algor)) == NULL in X509_PUBKEY_dup() 409 nid = OBJ_obj2nid(key->algor->algorithm); in x509_pubkey_decode() 1021 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param() 1033 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param() [all …]
|
/openssl/include/openssl/ |
H A D | pkcs12.h.in | 205 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, 210 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, 216 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 219 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 224 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, 228 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
|
H A D | x509.h.in | 493 const void **ppval, const X509_ALGOR *algor); 1035 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, 1037 int PKCS5_pbe_set0_algor_ex(X509_ALGOR *algor, int alg, int iter,
|
/openssl/include/crypto/ |
H A D | x509.h | 298 X509_ALGOR *algor; member
|
/openssl/crypto/err/ |
H A D | openssl.txt | 466 CRMF_R_SETTING_MAC_ALGOR_FAILURE:110:setting mac algor failure 467 CRMF_R_SETTING_OWF_ALGOR_FAILURE:111:setting owf algor failure
|