/openbsd-current/lib/libcrypto/ct/ |
H A D | ct_sct_ctx.c | 251 ct_public_key_hash(X509_PUBKEY *pkey, unsigned char **hash, size_t *hash_len) argument 259 if (*hash != NULL && *hash_len >= SHA256_DIGEST_LENGTH) { 278 *hash_len = SHA256_DIGEST_LENGTH;
|
/openbsd-current/sbin/isakmpd/ |
H A D | isakmp_cfg.c | 639 size_t hash_len; local 648 hash_len = GET_ISAKMP_GEN_LENGTH(hash); 649 comp_hash = malloc(hash_len - ISAKMP_GEN_SZ); 652 (unsigned long)hash_len - ISAKMP_GEN_SZ); 665 prf->Update(prf->prfctx, hash + hash_len, 666 msg->iov[0].iov_len - ISAKMP_HDR_SZ - hash_len); 670 if (memcmp(hash + ISAKMP_GEN_SZ, comp_hash, hash_len - ISAKMP_GEN_SZ)
|
H A D | ike_quick_mode.c | 1497 size_t hash_len; local 1515 hash_len = GET_ISAKMP_GEN_LENGTH(hash); 1516 my_hash = malloc(hash_len - ISAKMP_GEN_SZ); 1519 (unsigned long)hash_len - ISAKMP_GEN_SZ); 1540 hash + hash_len, 1541 msg->iov[0].iov_len - ISAKMP_HDR_SZ - hash_len)); 1542 prf->Update(prf->prfctx, hash + hash_len, 1543 msg->iov[0].iov_len - ISAKMP_HDR_SZ - hash_len); 1548 hash_len - ISAKMP_GEN_SZ)); 1549 if (memcmp(hash + ISAKMP_GEN_SZ, my_hash, hash_len 1963 size_t hash_len; local [all...] |
/openbsd-current/sbin/unwind/libunbound/validator/ |
H A D | val_nsec3.c | 563 size_t i, hash_len; local 570 hash_len = nsec3_hash_algo_size_supported(algo); 571 if(hash_len == 0) { 575 if(hash_len > max) 582 sldns_buffer_write(buf, res, hash_len); 590 return hash_len; 610 c->hash_len = nsec3_hash_algo_size_supported(algo); 611 if(c->hash_len == 0) { 615 c->hash = (uint8_t*)regional_alloc(region, c->hash_len); 622 sldns_buffer_write(buf, c->hash, c->hash_len); [all...] |
H A D | val_nsec3.h | 271 size_t hash_len; member in struct:nsec3_cached_hash
|
H A D | val_neg.c | 1316 c.hash_len = nclen;
|
/openbsd-current/usr.sbin/unbound/validator/ |
H A D | val_nsec3.c | 563 size_t i, hash_len; local 570 hash_len = nsec3_hash_algo_size_supported(algo); 571 if(hash_len == 0) { 575 if(hash_len > max) 582 sldns_buffer_write(buf, res, hash_len); 590 return hash_len; 610 c->hash_len = nsec3_hash_algo_size_supported(algo); 611 if(c->hash_len == 0) { 615 c->hash = (uint8_t*)regional_alloc(region, c->hash_len); 622 sldns_buffer_write(buf, c->hash, c->hash_len); [all...] |
H A D | val_nsec3.h | 271 size_t hash_len; member in struct:nsec3_cached_hash
|
H A D | val_neg.c | 1316 c.hash_len = nclen;
|
/openbsd-current/lib/libssl/ |
H A D | tls13_lib.c | 623 size_t hash_len; local 635 if (!tls1_transcript_hash_value(s, buf, sizeof(buf), &hash_len)) 642 if (!CBB_add_bytes(&cbb, buf, hash_len))
|
H A D | tls13_server.c | 378 size_t hash_len; local 401 if (!tls1_transcript_hash_value(s, buf, sizeof(buf), &hash_len)) 404 context.len = hash_len;
|
H A D | tls13_client.c | 340 size_t hash_len; local 366 if (!tls1_transcript_hash_value(s, buf, sizeof(buf), &hash_len)) 369 context.len = hash_len;
|
/openbsd-current/lib/libfido2/src/ |
H A D | cred.c | 773 size_t hash_len) 776 fido_blob_set(&cred->cdh, hash, hash_len) < 0) 772 fido_cred_set_clientdata_hash(fido_cred_t *cred, const unsigned char *hash, size_t hash_len) argument
|
H A D | assert.c | 525 const unsigned char *hash, size_t hash_len) 528 fido_blob_set(&assert->cdh, hash, hash_len) < 0) 524 fido_assert_set_clientdata_hash(fido_assert_t *assert, const unsigned char *hash, size_t hash_len) argument
|
/openbsd-current/usr.sbin/unbound/testcode/ |
H A D | unitverify.c | 450 unit_assert(hash->dname && hash->hash && hash->hash_len &&
|
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | mips-tfile.c | 1787 hash_string (text, hash_len, hash_tbl, ret_hash_index) 1789 Ptrdiff_t hash_len; /* length of the text */ 1798 hi = hash_len; 1799 for (i = 0; i < hash_len; i++) 1809 if ((symint_t) hash_len == ptr->len 1811 && memcmp (text, ptr->string, hash_len) == 0)
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | mips-tfile.c | 1679 hash_string (const char *text, Ptrdiff_t hash_len, shash_t **hash_tbl, 1687 hi = hash_len; 1688 for (i = 0; i < hash_len; i++) 1698 if ((symint_t) hash_len == ptr->len 1700 && memcmp (text, ptr->string, hash_len) == 0) 1666 hash_string(const char *text, Ptrdiff_t hash_len, shash_t **hash_tbl, symint_t *ret_hash_index) argument
|