Searched refs:pgp_hash_t (Results 1 - 14 of 14) sorted by relevance
/netbsd-current/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | types.h | 74 /** pgp_hash_t */ 75 typedef struct pgp_hash_t pgp_hash_t; typedef in typeref:struct:pgp_hash_t
|
H A D | crypto.h | 67 /** pgp_hash_t */ 68 struct pgp_hash_t { struct 72 int (*init)(pgp_hash_t *); 73 void (*add)(pgp_hash_t *, const uint8_t *, unsigned); 74 unsigned (*finish)(pgp_hash_t *, uint8_t *); 106 void pgp_hash_md5(pgp_hash_t *); 107 void pgp_hash_sha1(pgp_hash_t *); 108 void pgp_hash_sha256(pgp_hash_t *); 109 void pgp_hash_sha512(pgp_hash_t *); 110 void pgp_hash_sha384(pgp_hash_t *); [all...] |
H A D | signature.h | 88 unsigned pgp_check_hash_sig(pgp_hash_t *, 101 pgp_hash_t *pgp_sig_get_hash(pgp_create_sig_t *);
|
H A D | openssl_crypto.c | 337 md5_init(pgp_hash_t *hash) 351 md5_add(pgp_hash_t *hash, const uint8_t *data, unsigned length) 357 md5_finish(pgp_hash_t *hash, uint8_t *out) 365 static const pgp_hash_t md5 = { 381 pgp_hash_md5(pgp_hash_t *hash) 387 sha1_init(pgp_hash_t *hash) 401 sha1_add(pgp_hash_t *hash, const uint8_t *data, unsigned length) 410 sha1_finish(pgp_hash_t *hash, uint8_t *out) 421 static const pgp_hash_t sha1 = { 437 pgp_hash_sha1(pgp_hash_t *has [all...] |
H A D | signature.c | 94 pgp_hash_t hash; 156 rsa_sign(pgp_hash_t *hash, 226 dsa_sign(pgp_hash_t *hash, 269 ecdsa_sign(pgp_hash_t *hash, 405 hash_add_key(pgp_hash_t *hash, const pgp_pubkey_t *key) 420 initialise_hash(pgp_hash_t *hash, const pgp_sig_t *sig) 432 init_key_sig(pgp_hash_t *hash, const pgp_sig_t *sig, 440 hash_add_trailer(pgp_hash_t *hash, const pgp_sig_t *sig, 504 hash_and_check_sig(pgp_hash_t *hash, 516 finalise_sig(pgp_hash_t *has [all...] |
H A D | packet-parse.h | 160 pgp_hash_t *pgp_parse_hash_find(pgp_stream_t *, const uint8_t *);
|
H A D | misc.c | 423 hash_uint32(pgp_hash_t *hash, uint32_t n) 437 hash_string(pgp_hash_t *hash, const uint8_t *buf, uint32_t len) 449 hash_bignum(pgp_hash_t *hash, BIGNUM *bignum) 488 pgp_hash_t hash; 607 pgp_hash_add_int(pgp_hash_t *hash, unsigned n, unsigned length) 624 pgp_hash_any(pgp_hash_t *hash, pgp_hash_alg_t alg) 738 pgp_hash_t hash; 766 pgp_hash_t hash;
|
H A D | packet.h | 668 pgp_hash_t *hash; /* the hash filled in for the data so far */ 889 struct pgp_hash_t *cleartext_trailer;
|
H A D | ssh2pgp.c | 348 pgp_hash_t hash;
|
H A D | reader.c | 590 pgp_hash_t *hash; 1604 pgp_hash_t hash; 2324 pgp_hash_t *hash = pgp_reader_get_arg(readinfo); 2340 pgp_reader_push_hash(pgp_stream_t *stream, pgp_hash_t *hash)
|
H A D | packet-parse.c | 894 cleartext_trailer_free(struct pgp_hash_t **trailer) 1419 static pgp_hash_t * 2406 pgp_hash_t checkhash; 2483 pgp_hash_t hashes[(PGP_MAX_KEY_SIZE + PGP_MIN_HASH_SIZE - 1) / PGP_MIN_HASH_SIZE];
|
H A D | writer.c | 1300 pgp_hash_t hash; 1391 pgp_hash_t hash;
|
H A D | validate.c | 185 pgp_hash_t hash; 471 /* this gives us an pgp_hash_t struct */
|
H A D | create.c | 290 pgp_hash_t hash;
|
Completed in 208 milliseconds