Searched refs:packlen (Results 1 – 7 of 7) sorted by relevance
/openssl/ssl/record/methods/ |
H A D | tls_multib.c | 75 size_t packlen; in tls_write_records_multiblock_int() local 111 packlen = EVP_CIPHER_CTX_ctrl(rl->enc_ctx, in tls_write_records_multiblock_int() 114 packlen *= numtempl; in tls_write_records_multiblock_int() 115 if (!tls_setup_write_buffer(rl, 1, packlen, packlen)) { in tls_write_records_multiblock_int() 135 packlen = (size_t)packleni; in tls_write_records_multiblock_int() 136 if (packleni <= 0 || packlen > wb->len) { /* never happens */ in tls_write_records_multiblock_int() 159 wb->left = packlen; in tls_write_records_multiblock_int()
|
/openssl/crypto/ |
H A D | packet.c | 252 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() local 254 if (packlen == 0 in wpacket_intern_close() 258 if (packlen == 0 in wpacket_intern_close() 282 if (!put_value(&buf[sub->packet_len], packlen, sub->lenbytes)) in wpacket_intern_close() 285 if (!put_quic_value(&buf[sub->packet_len], packlen, sub->lenbytes)) in wpacket_intern_close() 289 if (!put_value(&buf[sub->packet_len], packlen, sub->lenbytes)) in wpacket_intern_close() 294 && (packlen != 0 in wpacket_intern_close() 297 size_t tmplen = packlen; in wpacket_intern_close() 302 if (!WPACKET_put_bytes__(pkt, packlen, numlenbytes)) in wpacket_intern_close() 304 if (packlen > 0x7f) { in wpacket_intern_close()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 137 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local 158 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_multi_block_encrypt() 171 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_multi_block_encrypt() 719 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_tls1_multiblock_aad() local 752 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_tls1_multiblock_aad() 753 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha1_tls1_multiblock_aad() 754 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_tls1_multiblock_aad() 759 ctx->multiblock_aad_packlen = packlen; in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
|
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 141 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local 162 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_multi_block_encrypt() 175 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_multi_block_encrypt() 772 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_tls1_multiblock_aad() local 804 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in aesni_cbc_hmac_sha256_tls1_multiblock_aad() 805 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha256_tls1_multiblock_aad() 806 packlen += 5 + 16 + ((last + 32 + 16) & -16); in aesni_cbc_hmac_sha256_tls1_multiblock_aad() 811 ctx->multiblock_aad_packlen = packlen; in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
|
/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha1.c | 175 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local 196 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt() 209 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_1_multi_block_encrypt() 854 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local 889 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl() 890 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha1_ctrl() 891 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl() 895 return (int)packlen; in aesni_cbc_hmac_sha1_ctrl()
|
H A D | e_aes_cbc_hmac_sha256.c | 169 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local 191 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_1_multi_block_encrypt() 204 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_1_multi_block_encrypt() 828 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_ctrl() local 866 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in aesni_cbc_hmac_sha256_ctrl() 867 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha256_ctrl() 868 packlen += 5 + 16 + ((last + 32 + 16) & -16); in aesni_cbc_hmac_sha256_ctrl() 872 return (int)packlen; in aesni_cbc_hmac_sha256_ctrl()
|
/openssl/apps/ |
H A D | speed.c | 5097 int packlen; in multiblock_speed() local 5110 packlen = EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_TLS1_1_MULTIBLOCK_AAD, in multiblock_speed() 5113 if (packlen > 0) { in multiblock_speed()
|
Completed in 28 milliseconds