/freebsd-12-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_crpt.c | 24 PBEPARAM *pbe; local 41 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); 42 if (pbe == NULL) { 47 if (!pbe->iter) 50 iter = ASN1_INTEGER_get(pbe->iter); 51 salt = pbe->salt->data; 52 saltlen = pbe->salt->length; 56 PBEPARAM_free(pbe); 62 PBEPARAM_free(pbe); 65 PBEPARAM_free(pbe); [all...] |
H A D | p12_p8e.c | 21 X509_ALGOR *pbe; local 24 pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen); 26 pbe = PKCS5_pbe2_set_iv(cipher, iter, salt, saltlen, NULL, pbe_nid); 29 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); 31 if (!pbe) { 35 p8 = PKCS8_set0_pbe(pass, passlen, p8inf, pbe); 37 X509_ALGOR_free(pbe); 45 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe) 51 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), 65 p8->algor = pbe; 44 PKCS8_set0_pbe(const char *pass, int passlen, PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe) argument [all...] |
H A D | p12_add.c | 89 X509_ALGOR *pbe; local 105 pbe = PKCS5_pbe2_set(pbe_ciph, iter, salt, saltlen); 107 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); 109 if (!pbe) { 114 p7->d.encrypted->enc_data->algorithm = pbe; 117 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass,
|
H A D | p12_npas.c | 175 PBEPARAM *pbe; local 176 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), alg->parameter); 177 if (!pbe) 180 *piter = ASN1_INTEGER_get(pbe->iter); 181 *psaltlen = pbe->salt->length; 182 PBEPARAM_free(pbe);
|
/freebsd-12-stable/crypto/openssl/crypto/asn1/ |
H A D | p5_pbe.c | 30 PBEPARAM *pbe = NULL; 34 pbe = PBEPARAM_new(); 35 if (pbe == NULL) { 41 if (!ASN1_INTEGER_set(pbe->iter, iter)) { 58 ASN1_STRING_set0(pbe->salt, sstr, saltlen); 61 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) { 66 PBEPARAM_free(pbe); 67 pbe = NULL; 74 PBEPARAM_free(pbe);
|
/freebsd-12-stable/crypto/openssl/crypto/evp/ |
H A D | p5_crpt.c | 32 PBEPARAM *pbe; local 45 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); 46 if (pbe == NULL) { 54 PBEPARAM_free(pbe); 60 PBEPARAM_free(pbe); 64 if (!pbe->iter) 67 iter = ASN1_INTEGER_get(pbe->iter); 68 salt = pbe->salt->data; 69 saltlen = pbe->salt->length; 88 PBEPARAM_free(pbe); [all...] |
H A D | evp_pbe.c | 238 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) argument 240 OPENSSL_free(pbe);
|
/freebsd-12-stable/usr.sbin/usbconfig/ |
H A D | dump.h | 37 void dump_be_quirk_names(struct libusb20_backend *pbe); 38 void dump_be_dev_quirks(struct libusb20_backend *pbe);
|
H A D | usbconfig.c | 173 be_dev_remove_quirk(struct libusb20_backend *pbe, argument 188 error = libusb20_be_remove_dev_quirk(pbe, &q); 196 be_dev_add_quirk(struct libusb20_backend *pbe, argument 211 error = libusb20_be_add_dev_quirk(pbe, &q); 326 flush_command(struct libusb20_backend *pbe, struct options *opt) argument 348 dump_be_quirk_names(pbe); 352 dump_be_dev_quirks(pbe); 356 be_dev_remove_quirk(pbe, 361 be_dev_add_quirk(pbe, 366 if (libusb20_be_set_template(pbe, op 559 struct libusb20_backend *pbe; local [all...] |
H A D | dump.c | 332 dump_be_quirk_names(struct libusb20_backend *pbe) argument 344 error = libusb20_be_get_quirk_name(pbe, x, &q); 360 dump_be_dev_quirks(struct libusb20_backend *pbe) argument 372 error = libusb20_be_get_dev_quirk(pbe, x, &q);
|
/freebsd-12-stable/lib/libusb/ |
H A D | libusb20.c | 1197 libusb20_be_get_dev_quirk(struct libusb20_backend *pbe, argument 1200 return (pbe->methods->root_get_dev_quirk(pbe, quirk_index, pq)); 1204 libusb20_be_get_quirk_name(struct libusb20_backend *pbe, argument 1207 return (pbe->methods->root_get_quirk_name(pbe, quirk_index, pq)); 1211 libusb20_be_add_dev_quirk(struct libusb20_backend *pbe, argument 1214 return (pbe->methods->root_add_dev_quirk(pbe, pq)); 1218 libusb20_be_remove_dev_quirk(struct libusb20_backend *pbe, argument 1225 libusb20_be_set_template(struct libusb20_backend *pbe, int temp) argument 1231 libusb20_be_get_template(struct libusb20_backend *pbe, int *ptemp) argument 1242 libusb20_be_device_foreach(struct libusb20_backend *pbe, struct libusb20_device *pdev) argument 1257 struct libusb20_backend *pbe; local 1291 struct libusb20_backend *pbe; local 1307 libusb20_be_free(struct libusb20_backend *pbe) argument 1327 libusb20_be_enqueue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev) argument 1334 libusb20_be_dequeue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev) argument [all...] |
H A D | libusb20.h | 285 int libusb20_be_get_dev_quirk(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 286 int libusb20_be_get_quirk_name(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 287 int libusb20_be_add_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 288 int libusb20_be_remove_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 289 int libusb20_be_get_template(struct libusb20_backend *pbe, int *ptemp); 290 int libusb20_be_set_template(struct libusb20_backend *pbe, int temp); 299 struct libusb20_device *libusb20_be_device_foreach(struct libusb20_backend *pbe, struct libusb20_device *pdev); 300 void libusb20_be_dequeue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev); 301 void libusb20_be_enqueue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev); 302 void libusb20_be_free(struct libusb20_backend *pbe); [all...] |
H A D | libusb20_int.h | 55 typedef int (libusb20_root_get_dev_quirk_t)(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 56 typedef int (libusb20_root_get_quirk_name_t)(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 57 typedef int (libusb20_root_add_dev_quirk_t)(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 58 typedef int (libusb20_root_remove_dev_quirk_t)(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 62 typedef int (libusb20_init_backend_t)(struct libusb20_backend *pbe); 64 typedef void (libusb20_exit_backend_t)(struct libusb20_backend *pbe); 65 typedef int (libusb20_root_set_template_t)(struct libusb20_backend *pbe, int temp); 66 typedef int (libusb20_root_get_template_t)(struct libusb20_backend *pbe, int *ptemp);
|
H A D | libusb20_ugen20.c | 285 ugen20_init_backend(struct libusb20_backend *pbe) argument 313 libusb20_be_enqueue_device(pbe, pdev); 462 ugen20_exit_backend(struct libusb20_backend *pbe) argument 980 ugen20_root_get_dev_quirk(struct libusb20_backend *pbe, argument 1007 ugen20_root_get_quirk_name(struct libusb20_backend *pbe, uint16_t quirk_index, argument 1030 ugen20_root_add_dev_quirk(struct libusb20_backend *pbe, argument 1054 ugen20_root_remove_dev_quirk(struct libusb20_backend *pbe, argument 1078 ugen20_root_set_template(struct libusb20_backend *pbe, int temp) argument 1084 ugen20_root_get_template(struct libusb20_backend *pbe, int *ptemp) argument
|
/freebsd-12-stable/crypto/openssl/apps/ |
H A D | pkcs8.c | 224 X509_ALGOR *pbe; local 228 pbe = PKCS5_pbe2_set_scrypt(cipher, NULL, 0, NULL, 232 pbe = PKCS5_pbe2_set_iv(cipher, iter, NULL, 0, NULL, 235 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0); 237 if (pbe == NULL) { 250 X509_ALGOR_free(pbe); 258 p8 = PKCS8_set0_pbe(p8pass, strlen(p8pass), p8inf, pbe); 260 X509_ALGOR_free(pbe);
|
H A D | pkcs12.c | 780 PBEPARAM *pbe = NULL; local 849 pbe = ASN1_item_unpack(aparam, ASN1_ITEM_rptr(PBEPARAM)); 850 if (pbe == NULL) { 854 BIO_printf(bio_err, ", Iteration %ld", ASN1_INTEGER_get(pbe->iter)); 855 PBEPARAM_free(pbe);
|
/freebsd-12-stable/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 862 struct libusb20_backend *pbe; local 875 pbe = libusb20_be_alloc_default(); 881 while ((pdev = libusb20_be_device_foreach(pbe, pdev))) { 902 libusb20_be_free(pbe); 921 struct libusb20_backend *pbe = libusb20_be_alloc_default(); local 925 while ((pdev = libusb20_be_device_foreach(pbe, pdev))) { 934 libusb20_be_dequeue_device(pbe, pdev); 940 libusb20_be_free(pbe);
|
/freebsd-12-stable/usr.sbin/bhyve/ |
H A D | net_backends.c | 739 * @pbe is a pointer to the backend to be initialized 752 struct net_backend **pbe, *nbe, *tbe = NULL; local 759 SET_FOREACH(pbe, net_backend_set) { 760 if (strncmp(devname, (*pbe)->prefix, 761 strlen((*pbe)->prefix)) == 0) { 762 tbe = *pbe;
|
/freebsd-12-stable/sys/contrib/zstd/lib/common/ |
H A D | cpu.h | 179 D(pbe, 31)
|
/freebsd-12-stable/crypto/openssl/include/openssl/ |
H A D | pkcs12.h | 119 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe);
|
/freebsd-12-stable/contrib/binutils/bfd/ |
H A D | elf64-alpha.c | 2259 struct alpha_elf_got_entry *ae, *be, **pbe, **start; 2267 pbe = start = &h->got_entries; 2268 while ((be = *pbe) != NULL) 2272 *pbe = be->next; 2286 *pbe = be->next; 2294 pbe = &be->next; 2251 struct alpha_elf_got_entry *ae, *be, **pbe, **start; local
|
/freebsd-12-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-pci-defs.h | 1460 uint32_t pbe : 12; /**< Programmable Boundary Enable to disconnect/prefetch member in struct:cvmx_pci_cfg16::cvmx_pci_cfg16_s 1484 uint32_t pbe : 12;
|