Searched refs:hlen (Results 1 – 10 of 10) sorted by relevance
/openssl/providers/implementations/macs/ |
H A D | gmac_prov.c | 150 int hlen = 0; in gmac_final() local 155 if (!EVP_EncryptFinal_ex(macctx->ctx, out, &hlen)) in gmac_final() 158 hlen = gmac_size(); in gmac_final() 160 out, (size_t)hlen); in gmac_final() 164 *outl = hlen; in gmac_final()
|
H A D | siphash_prov.c | 142 size_t hlen = siphash_size(ctx); in siphash_final() local 144 if (!ossl_prov_is_running() || outsize < hlen) in siphash_final() 147 *outl = hlen; in siphash_final() 148 return SipHash_Final(&ctx->siphash, out, hlen); in siphash_final()
|
H A D | hmac_prov.c | 250 unsigned int hlen; in hmac_final() local 263 if (!HMAC_Final(macctx->ctx, out, &hlen)) in hmac_final() 265 *outl = hlen; in hmac_final()
|
/openssl/ssl/statem/ |
H A D | extensions_clnt.c | 952 size_t hlen; in tls_construct_ctos_padding() local 963 if (!WPACKET_get_total_written(pkt, &hlen)) { in tls_construct_ctos_padding() 987 hlen += PSK_PRE_BINDER_OVERHEAD + s->session->ext.ticklen in tls_construct_ctos_padding() 992 if (hlen > F5_WORKAROUND_MIN_MSG_LEN && hlen < F5_WORKAROUND_MAX_MSG_LEN) { in tls_construct_ctos_padding() 994 hlen = F5_WORKAROUND_MAX_MSG_LEN - hlen; in tls_construct_ctos_padding() 1002 if (hlen > 4) in tls_construct_ctos_padding() 1003 hlen -= 4; in tls_construct_ctos_padding() 1005 hlen = 1; in tls_construct_ctos_padding() 1008 || !WPACKET_sub_allocate_bytes_u16(pkt, hlen, &padbytes)) { in tls_construct_ctos_padding() 1012 memset(padbytes, 0, hlen); in tls_construct_ctos_padding()
|
H A D | statem_srvr.c | 3935 size_t hlen; in construct_stateless_ticket() local 4109 || !ssl_hmac_final(hctx, macdata1, &hlen, EVP_MAX_MD_SIZE) in construct_stateless_ticket() 4110 || hlen > EVP_MAX_MD_SIZE in construct_stateless_ticket() 4111 || !WPACKET_allocate_bytes(pkt, hlen, &macdata2) in construct_stateless_ticket()
|
/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 123 int ret = 0, hlen; in SSKDF_hash_kdm() local 135 hlen = EVP_MD_get_size(kdf_md); in SSKDF_hash_kdm() 136 if (hlen <= 0) in SSKDF_hash_kdm() 138 out_len = (size_t)hlen; in SSKDF_hash_kdm()
|
H A D | x942kdf.c | 274 int ret = 0, hlen; in x942kdf_hash_kdm() local 288 hlen = EVP_MD_get_size(kdf_md); in x942kdf_hash_kdm() 289 if (hlen <= 0) in x942kdf_hash_kdm() 291 out_len = (size_t)hlen; in x942kdf_hash_kdm()
|
/openssl/crypto/engine/ |
H A D | eng_openssl.c | 539 unsigned int hlen; in ossl_hmac_signctx() local 549 if (!HMAC_Final(hctx->ctx, sig, &hlen)) in ossl_hmac_signctx() 551 *siglen = (size_t)hlen; in ossl_hmac_signctx()
|
/openssl/ssl/ |
H A D | t1_trce.c | 1600 size_t hlen; in ssl_print_handshake() local 1606 hlen = (msg[1] << 16) | (msg[2] << 8) | msg[3]; in ssl_print_handshake() 1609 ssl_trace_str(htype, ssl_handshake_tbl), (int)hlen); in ssl_print_handshake() 1624 if (msglen < hlen) in ssl_print_handshake()
|
/openssl/ssl/quic/ |
H A D | quic_txp.c | 1943 uint64_t *hlen, uint64_t *len) in determine_len() argument 1971 *hlen = chosen_hdr_len; in determine_len() 1987 uint64_t *hlen, in determine_crypto_len() argument 2006 return determine_len(space_left, orig_len, base_hdr_len, hlen, len); in determine_crypto_len() 2012 uint64_t *hlen, in determine_stream_len() argument 2032 return determine_len(space_left, orig_len, base_hdr_len, hlen, len); in determine_stream_len()
|
Completed in 44 milliseconds