/third_party/node/deps/openssl/openssl/crypto/pkcs12/ |
D | p12_p8e.c | 23 X509_ALGOR *pbe; in PKCS8_encrypt_ex() local 30 pbe = PKCS5_pbe2_set_iv_ex(cipher, iter, salt, saltlen, NULL, -1, in PKCS8_encrypt_ex() 40 pbe = PKCS5_pbe2_set_iv_ex(cipher, iter, salt, saltlen, NULL, in PKCS8_encrypt_ex() 44 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, libctx); in PKCS8_encrypt_ex() 47 if (pbe == NULL) { in PKCS8_encrypt_ex() 51 p8 = PKCS8_set0_pbe_ex(pass, passlen, p8inf, pbe, libctx, propq); in PKCS8_encrypt_ex() 53 X509_ALGOR_free(pbe); in PKCS8_encrypt_ex() 70 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe, in PKCS8_set0_pbe_ex() argument 77 PKCS12_item_i2d_encrypt_ex(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_set0_pbe_ex() 91 p8->algor = pbe; in PKCS8_set0_pbe_ex() [all …]
|
D | p12_crpt.c | 28 PBEPARAM *pbe; in PKCS12_PBE_keyivgen_ex() local 39 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS12_PBE_keyivgen_ex() 40 if (pbe == NULL) { in PKCS12_PBE_keyivgen_ex() 45 if (pbe->iter == NULL) in PKCS12_PBE_keyivgen_ex() 48 iter = ASN1_INTEGER_get(pbe->iter); in PKCS12_PBE_keyivgen_ex() 49 salt = pbe->salt->data; in PKCS12_PBE_keyivgen_ex() 50 saltlen = pbe->salt->length; in PKCS12_PBE_keyivgen_ex() 56 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen_ex() 65 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen_ex() 71 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen_ex()
|
D | p12_npas.c | 176 PBEPARAM *pbe; in alg_get() local 178 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), alg->parameter); in alg_get() 179 if (pbe == NULL) in alg_get() 182 *piter = ASN1_INTEGER_get(pbe->iter); in alg_get() 183 *psaltlen = pbe->salt->length; in alg_get() 184 PBEPARAM_free(pbe); in alg_get()
|
D | p12_add.c | 92 X509_ALGOR *pbe; in PKCS12_pack_p7encdata_ex() local 112 pbe = PKCS5_pbe2_set_iv_ex(pbe_ciph, iter, salt, saltlen, NULL, -1, ctx); in PKCS12_pack_p7encdata_ex() 114 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); in PKCS12_pack_p7encdata_ex() 117 if (pbe == NULL) { in PKCS12_pack_p7encdata_ex() 122 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata_ex() 125 PKCS12_item_i2d_encrypt_ex(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, in PKCS12_pack_p7encdata_ex()
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_p8e.c | 23 X509_ALGOR *pbe; in PKCS8_encrypt_ex() local 30 pbe = PKCS5_pbe2_set_iv_ex(cipher, iter, salt, saltlen, NULL, -1, in PKCS8_encrypt_ex() 40 pbe = PKCS5_pbe2_set_iv_ex(cipher, iter, salt, saltlen, NULL, in PKCS8_encrypt_ex() 44 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, libctx); in PKCS8_encrypt_ex() 47 if (pbe == NULL) { in PKCS8_encrypt_ex() 51 p8 = PKCS8_set0_pbe_ex(pass, passlen, p8inf, pbe, libctx, propq); in PKCS8_encrypt_ex() 53 X509_ALGOR_free(pbe); in PKCS8_encrypt_ex() 70 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe, in PKCS8_set0_pbe_ex() argument 77 PKCS12_item_i2d_encrypt_ex(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_set0_pbe_ex() 91 p8->algor = pbe; in PKCS8_set0_pbe_ex() [all …]
|
D | p12_crpt.c | 28 PBEPARAM *pbe; in PKCS12_PBE_keyivgen_ex() local 39 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS12_PBE_keyivgen_ex() 40 if (pbe == NULL) { in PKCS12_PBE_keyivgen_ex() 45 if (pbe->iter == NULL) in PKCS12_PBE_keyivgen_ex() 48 iter = ASN1_INTEGER_get(pbe->iter); in PKCS12_PBE_keyivgen_ex() 49 salt = pbe->salt->data; in PKCS12_PBE_keyivgen_ex() 50 saltlen = pbe->salt->length; in PKCS12_PBE_keyivgen_ex() 56 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen_ex() 65 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen_ex() 71 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen_ex()
|
D | p12_npas.c | 177 PBEPARAM *pbe; in alg_get() local 179 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), alg->parameter); in alg_get() 180 if (pbe == NULL) in alg_get() 183 *piter = ASN1_INTEGER_get(pbe->iter); in alg_get() 184 *psaltlen = pbe->salt->length; in alg_get() 185 PBEPARAM_free(pbe); in alg_get()
|
D | p12_add.c | 98 X509_ALGOR *pbe; in PKCS12_pack_p7encdata_ex() local 118 pbe = PKCS5_pbe2_set_iv_ex(pbe_ciph, iter, salt, saltlen, NULL, -1, ctx); in PKCS12_pack_p7encdata_ex() 120 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); in PKCS12_pack_p7encdata_ex() 123 if (pbe == NULL) { in PKCS12_pack_p7encdata_ex() 128 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata_ex() 131 PKCS12_item_i2d_encrypt_ex(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, in PKCS12_pack_p7encdata_ex()
|
/third_party/openssl/crypto/asn1/ |
D | p5_pbe.c | 31 PBEPARAM *pbe = NULL; variable 35 pbe = PBEPARAM_new(); 36 if (pbe == NULL) { 42 if (!ASN1_INTEGER_set(pbe->iter, iter)) { 61 ASN1_STRING_set0(pbe->salt, sstr, saltlen); 64 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) { 69 PBEPARAM_free(pbe); 70 pbe = NULL; 77 PBEPARAM_free(pbe);
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
D | p5_pbe.c | 31 PBEPARAM *pbe = NULL; variable 35 pbe = PBEPARAM_new(); 36 if (pbe == NULL) { 42 if (!ASN1_INTEGER_set(pbe->iter, iter)) { 61 ASN1_STRING_set0(pbe->salt, sstr, saltlen); 64 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) { 69 PBEPARAM_free(pbe); 70 pbe = NULL; 77 PBEPARAM_free(pbe);
|
/third_party/openssl/crypto/evp/ |
D | p5_crpt.c | 34 PBEPARAM *pbe = NULL; in PKCS5_PBE_keyivgen_ex() local 51 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS5_PBE_keyivgen_ex() 52 if (pbe == NULL) { in PKCS5_PBE_keyivgen_ex() 68 if (pbe->iter == NULL) in PKCS5_PBE_keyivgen_ex() 71 iter = ASN1_INTEGER_get(pbe->iter); in PKCS5_PBE_keyivgen_ex() 72 salt = pbe->salt->data; in PKCS5_PBE_keyivgen_ex() 73 saltlen = pbe->salt->length; in PKCS5_PBE_keyivgen_ex() 109 PBEPARAM_free(pbe); in PKCS5_PBE_keyivgen_ex()
|
D | evp_pbe.c | 278 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) in free_evp_pbe_ctl() argument 280 OPENSSL_free(pbe); in free_evp_pbe_ctl()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | p5_crpt.c | 34 PBEPARAM *pbe = NULL; in PKCS5_PBE_keyivgen_ex() local 51 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS5_PBE_keyivgen_ex() 52 if (pbe == NULL) { in PKCS5_PBE_keyivgen_ex() 68 if (pbe->iter == NULL) in PKCS5_PBE_keyivgen_ex() 71 iter = ASN1_INTEGER_get(pbe->iter); in PKCS5_PBE_keyivgen_ex() 72 salt = pbe->salt->data; in PKCS5_PBE_keyivgen_ex() 73 saltlen = pbe->salt->length; in PKCS5_PBE_keyivgen_ex() 109 PBEPARAM_free(pbe); in PKCS5_PBE_keyivgen_ex()
|
D | evp_pbe.c | 278 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) in free_evp_pbe_ctl() argument 280 OPENSSL_free(pbe); in free_evp_pbe_ctl()
|
/third_party/node/deps/openssl/openssl/apps/ |
D | pkcs8.c | 245 X509_ALGOR *pbe; in pkcs8_main() local 249 pbe = PKCS5_pbe2_set_scrypt(cipher, NULL, 0, NULL, in pkcs8_main() 253 pbe = PKCS5_pbe2_set_iv(cipher, iter, NULL, 0, NULL, in pkcs8_main() 256 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0); in pkcs8_main() 258 if (pbe == NULL) { in pkcs8_main() 271 X509_ALGOR_free(pbe); in pkcs8_main() 279 p8 = PKCS8_set0_pbe(p8pass, strlen(p8pass), p8inf, pbe); in pkcs8_main() 281 X509_ALGOR_free(pbe); in pkcs8_main()
|
D | pkcs12.c | 1031 PBEPARAM *pbe = NULL; in alg_print() local 1100 pbe = ASN1_item_unpack(aparam, ASN1_ITEM_rptr(PBEPARAM)); in alg_print() 1101 if (pbe == NULL) { in alg_print() 1105 BIO_printf(bio_err, ", Iteration %ld", ASN1_INTEGER_get(pbe->iter)); in alg_print() 1106 PBEPARAM_free(pbe); in alg_print()
|
/third_party/openssl/apps/ |
D | pkcs8.c | 245 X509_ALGOR *pbe; in pkcs8_main() local 249 pbe = PKCS5_pbe2_set_scrypt(cipher, NULL, 0, NULL, in pkcs8_main() 253 pbe = PKCS5_pbe2_set_iv(cipher, iter, NULL, 0, NULL, in pkcs8_main() 256 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0); in pkcs8_main() 258 if (pbe == NULL) { in pkcs8_main() 271 X509_ALGOR_free(pbe); in pkcs8_main() 279 p8 = PKCS8_set0_pbe(p8pass, strlen(p8pass), p8inf, pbe); in pkcs8_main() 281 X509_ALGOR_free(pbe); in pkcs8_main()
|
D | pkcs12.c | 1031 PBEPARAM *pbe = NULL; in alg_print() local 1100 pbe = ASN1_item_unpack(aparam, ASN1_ITEM_rptr(PBEPARAM)); in alg_print() 1101 if (pbe == NULL) { in alg_print() 1105 BIO_printf(bio_err, ", Iteration %ld", ASN1_INTEGER_get(pbe->iter)); in alg_print() 1106 PBEPARAM_free(pbe); in alg_print()
|
/third_party/openssl/doc/man3/ |
D | PKCS8_encrypt.pod | 25 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 27 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe, 43 using the password I<pass> of length I<passlen> and parameters I<pbe>.
|
/third_party/node/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/ |
D | pkcs12.h | 181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
|
/third_party/node/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/ |
D | pkcs12.h | 181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
|
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/ |
D | pkcs12.h | 181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ |
D | pkcs12.h | 181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
|
/third_party/node/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ |
D | pkcs12.h | 181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
|
/third_party/node/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/ |
D | pkcs12.h | 181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe); 183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
|