HomeSort by: relevance | last modified time | path
    Searched refs:pgp (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
main.c 50 pentry(pgpv_t *pgp, int n, const char *modifiers)
55 cc = pgpv_get_entry(pgp, (unsigned)n, &s, modifiers);
90 verify_data(pgpv_t *pgp, const char *cmd, const char *inname, char *in, ssize_t cc)
103 if ((cookie = pgpv_verify(cursor, pgp, in, cc)) != 0) {
110 if ((cookie = pgpv_verify(cursor, pgp, in, cc)) != 0) {
111 size = pgpv_dump(pgp, &data);
117 if (pgpv_verify(cursor, pgp, in, cc)) {
121 pentry(pgp, el, modifiers);
141 pgpv_t *pgp; local
147 pgp = pgpv_new()
    [all...]
libverify.c 206 /* a general PGP packet */
288 pgpv_t *pgp; /* pointer to pgp tree */ member in struct:pgpv_cursor_t
413 static int read_all_packets(pgpv_t */*pgp*/, pgpv_mem_t */*mem*/, const char */*op*/);
414 static int read_binary_file(pgpv_t */*pgp*/, const char */*op*/, const char */*fmt*/, ...) __printflike(3, 4);
415 static int read_binary_memory(pgpv_t */*pgp*/, const char */*op*/, const void */*memory*/, size_t /*size*/);
461 read_file(pgpv_t *pgp, const char *f)
466 ARRAY_EXPAND(pgp->areas);
467 ARRAY_COUNT(pgp->areas) += 1;
468 mem = &ARRAY_LAST(pgp->areas)
512 pgpv_t *pgp = (pgpv_t *)ref->vp; local
    [all...]
chk.sh 102 echo "-----BEGIN PGP SIGNED MESSAGE-----" > ${dir}/${name}.sig
109 gpg --recv --keyserver pgp.mit.edu 0x6F3AF5E2
  /src/crypto/external/bsd/netpgp/dist/src/libverify/
libverify.c 151 static int read_all_packets(pgpv_t */*pgp*/, pgpv_mem_t */*mem*/, const char */*op*/);
152 static int read_binary_file(pgpv_t */*pgp*/, const char */*op*/, const char */*fmt*/, ...)
154 static int read_binary_memory(pgpv_t */*pgp*/, const char */*op*/, const void */*memory*/, size_t /*size*/);
155 static int pgpv_find_keyid(pgpv_t */*pgp*/, const char */*strkeyid*/, uint8_t */*keyid*/);
159 read_file(pgpv_t *pgp, const char *f)
164 ARRAY_EXPAND(pgp->areas);
165 ARRAY_COUNT(pgp->areas) += 1;
166 mem = &ARRAY_LAST(pgp->areas);
198 make_ref(pgpv_t *pgp, uint8_t mement, pgpv_ref_t *ref)
201 ref->offset = ARRAY_ELEMENT(pgp->areas, ref->mem).cc
210 pgpv_t *pgp = (pgpv_t *)ref->vp; local
    [all...]
  /src/external/bsd/pkg_install/dist/lib/
gpgsig.c 61 pgpv_t *pgp; local
63 static const char hdr1[] = "-----BEGIN PGP SIGNED MESSAGE-----\n";
82 pgp = pgpv_new();
85 if (!pgpv_read_pubring(pgp, keyring, -1))
88 if (!pgpv_verify(cursor, pgp, buf, buflen))
92 pgpv_close(pgp);
  /src/crypto/external/bsd/netpgp/dist/bindings/lua/
netpgp.lua 57 pgp = netpgp.new()
73 netpgp.homedir(pgp, options.homedir)
76 netpgp.setvar(pgp, "need seckey", 1)
80 netpgp.init(pgp)
85 netpgp.encrypt_file(pgp, args[1], output, armour)
90 netpgp.decrypt_file(pgp, args[1], output, armour)
94 netpgp.sign_file(pgp, args[1], args[1] .. ".sig", armour, detached)
99 netpgp.verify_file(pgp, args[1], armour)
  /src/external/cddl/osnet/dist/lib/libdtrace/common/
dt_program.c 45 dtrace_prog_t *pgp = dt_zalloc(dtp, sizeof (dtrace_prog_t)); local
47 if (pgp != NULL) {
48 dt_list_append(&dtp->dt_programs, pgp);
59 pgp->dp_dofversion = DOF_VERSION_1;
61 return (pgp);
65 dt_program_destroy(dtrace_hdl_t *dtp, dtrace_prog_t *pgp)
70 for (stp = dt_list_next(&pgp->dp_stmts); stp != NULL; stp = next) {
76 for (i = 0; i < pgp->dp_xrefslen; i++)
77 dt_free(dtp, pgp->dp_xrefs[i]);
79 dt_free(dtp, pgp->dp_xrefs)
    [all...]
dt_dof.c 97 dt_dof_reset(dtrace_hdl_t *dtp, dtrace_prog_t *pgp)
103 ddo->ddo_pgp = pgp;
623 dtrace_dof_create(dtrace_hdl_t *dtp, dtrace_prog_t *pgp, uint_t flags)
653 if (dof_hdr(dtp, pgp->dp_dofversion, &h) != 0)
656 if (dt_dof_reset(dtp, pgp) != 0)
663 for (last = NULL, stp = dt_list_next(&pgp->dp_stmts);
694 if (pgp->dp_xrefslen != 0) {
697 if (dxp->dx_id < pgp->dp_xrefslen &&
698 pgp->dp_xrefs[dxp->dx_id] != NULL)
707 for (last = NULL, stp = dt_list_next(&pgp->dp_stmts)
    [all...]
dt_handle.c 54 dtrace_prog_t *pgp = NULL; local
72 if ((pgp = dtrace_program_strcompile(dtp, _dt_errprog,
76 stp = dt_list_next(&pgp->dp_stmts);
86 dtp->dt_errprog = pgp;
dt_pid.c 790 dtrace_prog_t *pgp; local
800 for (pgp = dt_list_next(&dtp->dt_programs); pgp != NULL;
801 pgp = dt_list_next(pgp)) {
803 for (stp = dt_list_next(&pgp->dp_stmts); stp != NULL;
  /src/external/gpl3/binutils.old/dist/bfd/
elf32-mips.c 1668 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
1675 *pgp = _bfd_get_gp_value (output_bfd);
1676 if (*pgp)
1695 *pgp = bfd_asymbol_value (*sym);
1696 _bfd_set_gp_value (output_bfd, *pgp);
1705 *pgp = 4;
1706 _bfd_set_gp_value (output_bfd, *pgp);
1721 char **error_message, bfd_vma *pgp)
1725 *pgp = 0;
1729 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elf32-lm32.c 534 lm32_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
541 *pgp = _bfd_get_gp_value (output_bfd);
542 if (*pgp)
561 *pgp = bfd_asymbol_value (*sym);
562 _bfd_set_gp_value (output_bfd, *pgp);
571 *pgp = 4;
572 _bfd_set_gp_value (output_bfd, *pgp);
587 char **error_message, bfd_vma *pgp)
591 *pgp = 0;
595 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elfn32-mips.c 3207 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3214 *pgp = _bfd_get_gp_value (output_bfd);
3215 if (*pgp)
3234 *pgp = bfd_asymbol_value (*sym);
3235 _bfd_set_gp_value (output_bfd, *pgp);
3244 *pgp = 4;
3245 _bfd_set_gp_value (output_bfd, *pgp);
3260 char **error_message, bfd_vma *pgp)
3264 *pgp = 0;
3268 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elf64-mips.c 3382 mips_elf64_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3389 *pgp = _bfd_get_gp_value (output_bfd);
3390 if (*pgp)
3409 *pgp = bfd_asymbol_value (*sym);
3410 _bfd_set_gp_value (output_bfd, *pgp);
3419 *pgp = 4;
3420 _bfd_set_gp_value (output_bfd, *pgp);
3435 char **error_message, bfd_vma *pgp)
3439 *pgp = 0;
3443 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
  /src/external/gpl3/gdb.old/dist/bfd/
elf32-mips.c 1668 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
1675 *pgp = _bfd_get_gp_value (output_bfd);
1676 if (*pgp)
1695 *pgp = bfd_asymbol_value (*sym);
1696 _bfd_set_gp_value (output_bfd, *pgp);
1705 *pgp = 4;
1706 _bfd_set_gp_value (output_bfd, *pgp);
1721 char **error_message, bfd_vma *pgp)
1725 *pgp = 0;
1729 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elfn32-mips.c 3205 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3212 *pgp = _bfd_get_gp_value (output_bfd);
3213 if (*pgp)
3232 *pgp = bfd_asymbol_value (*sym);
3233 _bfd_set_gp_value (output_bfd, *pgp);
3242 *pgp = 4;
3243 _bfd_set_gp_value (output_bfd, *pgp);
3258 char **error_message, bfd_vma *pgp)
3262 *pgp = 0;
3266 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elf32-lm32.c 534 lm32_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
541 *pgp = _bfd_get_gp_value (output_bfd);
542 if (*pgp)
561 *pgp = bfd_asymbol_value (*sym);
562 _bfd_set_gp_value (output_bfd, *pgp);
571 *pgp = 4;
572 _bfd_set_gp_value (output_bfd, *pgp);
587 char **error_message, bfd_vma *pgp)
591 *pgp = 0;
595 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
  /src/external/gpl3/gdb/dist/bfd/
elf32-mips.c 1668 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
1675 *pgp = _bfd_get_gp_value (output_bfd);
1676 if (*pgp)
1695 *pgp = bfd_asymbol_value (*sym);
1696 _bfd_set_gp_value (output_bfd, *pgp);
1705 *pgp = 4;
1706 _bfd_set_gp_value (output_bfd, *pgp);
1721 char **error_message, bfd_vma *pgp)
1725 *pgp = 0;
1729 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elf32-lm32.c 534 lm32_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
541 *pgp = _bfd_get_gp_value (output_bfd);
542 if (*pgp)
561 *pgp = bfd_asymbol_value (*sym);
562 _bfd_set_gp_value (output_bfd, *pgp);
571 *pgp = 4;
572 _bfd_set_gp_value (output_bfd, *pgp);
587 char **error_message, bfd_vma *pgp)
591 *pgp = 0;
595 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elfn32-mips.c 3205 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3212 *pgp = _bfd_get_gp_value (output_bfd);
3213 if (*pgp)
3232 *pgp = bfd_asymbol_value (*sym);
3233 _bfd_set_gp_value (output_bfd, *pgp);
3242 *pgp = 4;
3243 _bfd_set_gp_value (output_bfd, *pgp);
3258 char **error_message, bfd_vma *pgp)
3262 *pgp = 0;
3266 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
  /src/external/gpl3/binutils/dist/bfd/
elf32-lm32.c 534 lm32_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
541 *pgp = _bfd_get_gp_value (output_bfd);
542 if (*pgp)
561 *pgp = bfd_asymbol_value (*sym);
562 _bfd_set_gp_value (output_bfd, *pgp);
571 *pgp = 4;
572 _bfd_set_gp_value (output_bfd, *pgp);
587 char **error_message, bfd_vma *pgp)
591 *pgp = 0;
595 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elf32-mips.c 3110 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3117 *pgp = _bfd_get_gp_value (output_bfd);
3118 if (*pgp)
3137 *pgp = bfd_asymbol_value (*sym);
3138 _bfd_set_gp_value (output_bfd, *pgp);
3147 *pgp = 4;
3148 _bfd_set_gp_value (output_bfd, *pgp);
3163 char **error_message, bfd_vma *pgp)
3167 *pgp = 0;
3171 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elfn32-mips.c 3207 mips_elf_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3214 *pgp = _bfd_get_gp_value (output_bfd);
3215 if (*pgp)
3234 *pgp = bfd_asymbol_value (*sym);
3235 _bfd_set_gp_value (output_bfd, *pgp);
3244 *pgp = 4;
3245 _bfd_set_gp_value (output_bfd, *pgp);
3260 char **error_message, bfd_vma *pgp)
3264 *pgp = 0;
3268 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
elf64-mips.c 3382 mips_elf64_assign_gp (bfd *output_bfd, bfd_vma *pgp)
3389 *pgp = _bfd_get_gp_value (output_bfd);
3390 if (*pgp)
3409 *pgp = bfd_asymbol_value (*sym);
3410 _bfd_set_gp_value (output_bfd, *pgp);
3419 *pgp = 4;
3420 _bfd_set_gp_value (output_bfd, *pgp);
3435 char **error_message, bfd_vma *pgp)
3439 *pgp = 0;
3443 *pgp = _bfd_get_gp_value (output_bfd)
    [all...]
  /src/sys/uvm/
uvm_vnode.c 282 * if a suitable page was found, put it in *pgp and return 1.
287 uvn_findpage(struct uvm_object *uobj, voff_t offset, struct vm_page **pgp,
306 if (*pgp != NULL) {
399 *pgp = pg;

Completed in 134 milliseconds

1 2