Home
last modified time | relevance | path

Searched refs:packlen (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
H A DuSynergy.c481 int packlen = 0; in sUpdateContext() local
518 packlen = sNetToNative32(context->m_receiveBuffer); in sUpdateContext()
519 if (packlen+4 > context->m_receiveOfs) in sUpdateContext()
526 memmove(context->m_receiveBuffer, context->m_receiveBuffer+packlen+4, context->m_receiveOfs-packlen-4); in sUpdateContext()
527 context->m_receiveOfs -= packlen+4; in sUpdateContext()
531 if (packlen > USYNERGY_RECEIVE_BUFFER_SIZE) in sUpdateContext()
535 sprintf(buffer, "Oversized packet: '%c%c%c%c' (length %d)", context->m_receiveBuffer[4], context->m_receiveBuffer[5], context->m_receiveBuffer[6], context->m_receiveBuffer[7], packlen); in sUpdateContext()
538 while (num_received != packlen) in sUpdateContext()
540 int buffer_left = packlen in sUpdateContext()
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dpacket.c237 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() local
239 if (packlen == 0 in wpacket_intern_close()
243 if (packlen == 0 in wpacket_intern_close()
265 && !put_value(&buf[sub->packet_len], packlen, in wpacket_intern_close()
269 && (packlen != 0 in wpacket_intern_close()
272 size_t tmplen = packlen; in wpacket_intern_close()
277 if (!WPACKET_put_bytes__(pkt, packlen, numlenbytes)) in wpacket_intern_close()
279 if (packlen > 0x7f) { in wpacket_intern_close()
/third_party/openssl/crypto/
H A Dpacket.c237 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() local
239 if (packlen == 0 in wpacket_intern_close()
243 if (packlen == 0 in wpacket_intern_close()
265 && !put_value(&buf[sub->packet_len], packlen, in wpacket_intern_close()
269 && (packlen != 0 in wpacket_intern_close()
272 size_t tmplen = packlen; in wpacket_intern_close()
277 if (!WPACKET_put_bytes__(pkt, packlen, numlenbytes)) in wpacket_intern_close()
279 if (packlen > 0x7f) { in wpacket_intern_close()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c137 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()
[all...]
H A Dcipher_aes_cbc_hmac_sha256_hw.c141 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()
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c137 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()
[all...]
H A Dcipher_aes_cbc_hmac_sha256_hw.c141 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()
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c169 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()
[all...]
H A De_aes_cbc_hmac_sha1.c174 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local
195 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt()
208 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_1_multi_block_encrypt()
847 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local
882 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()
883 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha1_ctrl()
884 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()
888 return (int)packlen; in aesni_cbc_hmac_sha1_ctrl()
[all...]
/third_party/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c169 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()
[all...]
H A De_aes_cbc_hmac_sha1.c174 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local
195 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt()
208 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_1_multi_block_encrypt()
847 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local
882 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()
883 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha1_ctrl()
884 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()
888 return (int)packlen; in aesni_cbc_hmac_sha1_ctrl()
[all...]
/third_party/node/deps/openssl/openssl/ssl/record/
H A Drec_layer_s3.c444 size_t packlen; in ssl3_write_bytes() local
454 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
459 packlen *= 8; in ssl3_write_bytes()
461 packlen *= 4; in ssl3_write_bytes()
463 if (!ssl3_setup_write_buffer(s, 1, packlen)) { in ssl3_write_bytes()
509 packlen = (size_t)packleni; in ssl3_write_bytes()
510 if (packleni <= 0 || packlen > wb->len) { /* never happens */ in ssl3_write_bytes()
532 wb->left = packlen; in ssl3_write_bytes()
/third_party/openssl/ssl/record/
H A Drec_layer_s3.c455 size_t packlen; in ssl3_write_bytes() local
465 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
470 packlen *= 8; in ssl3_write_bytes()
472 packlen *= 4; in ssl3_write_bytes()
474 if (!ssl3_setup_write_buffer(s, 1, packlen)) { in ssl3_write_bytes()
520 packlen = (size_t)packleni; in ssl3_write_bytes()
521 if (packleni <= 0 || packlen > wb->len) { /* never happens */ in ssl3_write_bytes()
543 wb->left = packlen; in ssl3_write_bytes()
/third_party/node/deps/openssl/openssl/apps/
H A Dspeed.c3677 int packlen; in multiblock_speed() local
3690 packlen = EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_TLS1_1_MULTIBLOCK_AAD, in multiblock_speed()
3693 if (packlen > 0) { in multiblock_speed()
/third_party/openssl/apps/
H A Dspeed.c3653 int packlen; in multiblock_speed() local
3666 packlen = EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_TLS1_1_MULTIBLOCK_AAD, in multiblock_speed()
3669 if (packlen > 0) { in multiblock_speed()

Completed in 27 milliseconds