Searched refs:hash_id (Results 1 - 21 of 21) sorted by relevance

/freebsd-13-stable/contrib/bearssl/src/ssl/
H A Dssl_ccert_single_rsa.c64 choices->hash_id = x;
102 int hash_id, size_t hv_len, unsigned char *data, size_t len)
111 if (hash_id == 0) {
113 } else if (hash_id >= 2 && hash_id <= 6) {
114 hash_oid = HASH_OID[hash_id - 2];
101 cc_do_sign(const br_ssl_client_certificate_class **pctx, int hash_id, size_t hv_len, unsigned char *data, size_t len) argument
H A Dssl_scert_single_ec.c35 unsigned hash_id; local
39 hash_id = br_ssl_choose_hash(br_ssl_server_get_client_hashes(cc) >> 8);
41 hash_id = br_sha1_ID;
68 && hash_id != 0)
71 choices->algo_id = hash_id + 0xFF00;
H A Dssl_scert_single_rsa.c35 unsigned hash_id; local
41 hash_id = 0;
44 hash_id = br_ssl_choose_hash(
46 fh = (hash_id != 0);
64 choices->algo_id = hash_id + 0xFF00;
H A Dssl_ccert_single_ec.c69 choices->hash_id = -1;
85 choices->hash_id = x;
108 int hash_id, size_t hv_len, unsigned char *data, size_t len)
116 hc = br_multihash_getimpl(zc->mhash, hash_id);
107 cc_do_sign(const br_ssl_client_certificate_class **pctx, int hash_id, size_t hv_len, unsigned char *data, size_t len) argument
H A Dssl_hs_client.c382 if (ctx->hash_id) {
384 ctx->hash_id, ctx->eng.pad);
393 ctx->client_auth_vtable, ctx->hash_id, hv_len,
455 0x00, 0x01, T0_INT2(offsetof(br_ssl_client_context, hash_id)), 0x00,
1378 CTX->hash_id = (unsigned char)ux.hash_id;
1382 CTX->hash_id = 0;
H A Dssl_hs_server.c220 void *dst, int hash_id, const void *src, size_t len)
225 if (hash_id == 0) {
245 hf = br_multihash_getimpl(&ctx->eng.mhash, hash_id);
219 hash_data(br_ssl_server_context *ctx, void *dst, int hash_id, const void *src, size_t len) argument
/freebsd-13-stable/crypto/openssl/crypto/objects/
H A Dobj_xref.c35 ret = (*a)->hash_id - (*b)->hash_id;
61 *pdig_nid = rv->hash_id;
73 tmp.hash_id = dig_nid;
111 ntr->hash_id = dig_id;
H A Dobj_xref.h16 int hash_id; member in struct:__anon7199
H A Dobjxref.pl92 int hash_id;
/freebsd-13-stable/lib/libprocstat/
H A Dudf.c74 ino_t hash_id; member in struct:udf_node
100 vn->vn_fileid = node.hash_id;
/freebsd-13-stable/lib/libc/db/test/hash.tests/
H A Ddriver2.c78 info.hash_id = HASH_ID_PROGRAM_SPECIFIED;
/freebsd-13-stable/contrib/bearssl/tools/
H A Dclient.c292 if ((choices->hash_id = choose_hash(auth_types)) >= 0) {
295 choices->hash_id,
296 hash_function_name(choices->hash_id));
316 choices->hash_id = -1;
322 if ((choices->hash_id = choose_hash(auth_types >> 8)) >= 0) {
325 choices->hash_id,
326 hash_function_name(choices->hash_id));
363 int hash_id, size_t hv_len, unsigned char *data, size_t len)
377 hash_oid = get_hash_oid(hash_id);
378 if (hash_oid == NULL && hash_id !
362 cc_do_sign(const br_ssl_client_certificate_class **pctx, int hash_id, size_t hv_len, unsigned char *data, size_t len) argument
[all...]
H A Dkeys.c216 get_hash_impl(int hash_id) argument
220 if (hash_id == 0) {
229 if (id == hash_id) {
H A Dserver.c313 unsigned hash_id; local
315 for (hash_id = 6; hash_id >= 2; hash_id --) {
316 if (((chashes >> hash_id) & 1) != 0) {
317 return hash_id;
/freebsd-13-stable/sys/fs/udf/
H A Dudf.h36 ino_t hash_id; member in struct:udf_node
H A Dudf_vnops.c302 vap->va_fileid = node->hash_id;
423 printf(" ino %lu, on dev %s", (u_long)node->hash_id,
843 dir.d_fileno = node->hash_id;
1212 } else if (node->hash_id == id) {
1289 ifhp->ifid_ino = node->hash_id;
1459 *sector = node->hash_id + udfmp->part_start;
H A Dudf_vfsops.c627 unode->hash_id = ino;
/freebsd-13-stable/usr.sbin/flowctl/
H A Dflowctl.c234 req.hash_id = req.list_id = 0;
259 if (resp->hash_id != 0)
260 req.hash_id = resp->hash_id;
/freebsd-13-stable/sys/netgraph/netflow/
H A Dnetflow.c914 i = req->hash_id;
953 resp->hash_id = i;
961 resp->hash_id = i;
989 resp->hash_id = i;
992 * we simply skip to next hash_id.
1002 resp->hash_id = resp->list_id = 0;
H A Dng_netflow.h172 uint32_t hash_id; /* current hash index */ member in struct:ngnf_show_header
/freebsd-13-stable/contrib/bearssl/inc/
H A Dbearssl_ssl.h2303 int hash_id; member in struct:__anon242
2419 * The `hash_id`, `chain` and `chain_len` fields must be set. If
2474 * and chooses static ECDH (the `hash_id` field in the choice
2517 * `hash_id`. The signature shall be computed and written
2525 * For RSA signatures, the `hash_id` may be 0, in which case
2536 * \param hash_id hash function identifier.
2543 int hash_id, size_t hv_len, unsigned char *data, size_t len);
2641 unsigned char hash_id; member in struct:br_ssl_client_context_

Completed in 159 milliseconds