Searched refs:pgp_hash_t (Results 1 – 14 of 14) sorted by relevance
/minix/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | crypto.h | 66 struct pgp_hash_t { struct 70 int (*init)(pgp_hash_t *); argument 72 unsigned (*finish)(pgp_hash_t *, uint8_t *); argument 104 void pgp_hash_md5(pgp_hash_t *); 105 void pgp_hash_sha1(pgp_hash_t *); 106 void pgp_hash_sha256(pgp_hash_t *); 107 void pgp_hash_sha512(pgp_hash_t *); 108 void pgp_hash_sha384(pgp_hash_t *); 109 void pgp_hash_sha224(pgp_hash_t *); 110 void pgp_hash_any(pgp_hash_t *, pgp_hash_alg_t); [all …]
|
H A D | openssl_crypto.c | 113 md5_init(pgp_hash_t *hash) in md5_init() 141 static const pgp_hash_t md5 = { 157 pgp_hash_md5(pgp_hash_t *hash) in pgp_hash_md5() 163 sha1_init(pgp_hash_t *hash) in sha1_init() 197 static const pgp_hash_t sha1 = { 213 pgp_hash_sha1(pgp_hash_t *hash) in pgp_hash_sha1() 219 sha256_init(pgp_hash_t *hash) in sha256_init() 264 pgp_hash_sha256(pgp_hash_t *hash) in pgp_hash_sha256() 273 sha384_init(pgp_hash_t *hash) in sha384_init() 327 sha512_init(pgp_hash_t *hash) in sha512_init() [all …]
|
H A D | types.h | 75 typedef struct pgp_hash_t pgp_hash_t; typedef
|
H A D | signature.c | 94 pgp_hash_t hash; 156 rsa_sign(pgp_hash_t *hash, in rsa_sign() 226 dsa_sign(pgp_hash_t *hash, in dsa_sign() 453 finalise_sig(pgp_hash_t *hash, in finalise_sig() 481 pgp_hash_t hash; in pgp_check_useridcert_sig() 513 pgp_hash_t hash; in pgp_check_userattrcert_sig() 543 pgp_hash_t hash; in pgp_check_subkey_sig() 569 pgp_hash_t hash; in pgp_check_direct_sig() 888 pgp_hash_t * 951 pgp_hash_t *hash; in pgp_sign_file() [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 | misc.c | 400 hash_uint32(pgp_hash_t *hash, uint32_t n) in hash_uint32() 414 hash_string(pgp_hash_t *hash, const uint8_t *buf, uint32_t len) in hash_string() 426 hash_bignum(pgp_hash_t *hash, BIGNUM *bignum) in hash_bignum() 465 pgp_hash_t hash; in pgp_fingerprint() 584 pgp_hash_add_int(pgp_hash_t *hash, unsigned n, unsigned length) in pgp_hash_add_int() 601 pgp_hash_any(pgp_hash_t *hash, pgp_hash_alg_t alg) in pgp_hash_any() 715 pgp_hash_t hash; in pgp_hash() 743 pgp_hash_t hash; in pgp_calc_mdc_hash()
|
H A D | packet-parse.h | 160 pgp_hash_t *pgp_parse_hash_find(pgp_stream_t *, const uint8_t *);
|
H A D | packet.h | 644 pgp_hash_t *hash; /* the hash filled in for the data so far */ 858 struct pgp_hash_t *cleartext_trailer;
|
H A D | reader.c | 586 pgp_hash_t *hash; in process_dash_escaped() 1600 pgp_hash_t hash; in se_ip_data_reader() 2320 pgp_hash_t *hash = pgp_reader_get_arg(readinfo); in hash_reader() 2336 pgp_reader_push_hash(pgp_stream_t *stream, pgp_hash_t *hash) in pgp_reader_push_hash()
|
H A D | ssh2pgp.c | 348 pgp_hash_t hash; in pgp_ssh2seckey()
|
H A D | writer.c | 1300 pgp_hash_t hash; 1391 pgp_hash_t hash;
|
H A D | packet-parse.c | 893 cleartext_trailer_free(struct pgp_hash_t **trailer) in cleartext_trailer_free() 1400 static pgp_hash_t * 2348 pgp_hash_t checkhash; in parse_seckey() 2425 pgp_hash_t hashes[(PGP_MAX_KEY_SIZE + PGP_MIN_HASH_SIZE - 1) / PGP_MIN_HASH_SIZE]; in parse_seckey()
|
H A D | create.c | 285 pgp_hash_t hash; in write_seckey_body()
|
H A D | validate.c | 185 pgp_hash_t hash; in check_binary_sig()
|