|
static const char * | pgp_hash_to_micalg (short id) |
| Lookup a hash name, given its id.
|
|
static void | pgp_dearmor (FILE *fp_in, FILE *fp_out) |
| Unwrap an armoured PGP block.
|
|
static short | pgp_mic_from_packet (unsigned char *p, size_t len) |
| Get the hash algorithm from a PGP packet.
|
|
static short | pgp_find_hash (const char *fname) |
| Find the hash algorithm of a file.
|
|
const char * | pgp_micalg (const char *fname) |
| Find the hash algorithm of a file.
|
|
Identify the hash algorithm from a PGP signature.
- Authors
- Richard Russon
- Pietro Cerutti
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file pgpmicalg.c.