Home
last modified time | relevance | path

Searched refs:taglen (Results 1 – 1 of 1) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/library/
Dssl_tls.c1360 unsigned char taglen = ssl->transform_out->ciphersuite_info->flags & in ssl_encrypt_buf() local
1411 enc_msg + enc_msglen, taglen ) ) != 0 ) in ssl_encrypt_buf()
1423 ssl->out_msglen += taglen; in ssl_encrypt_buf()
1426 MBEDTLS_SSL_DEBUG_BUF( 4, "after encrypt: tag", enc_msg + enc_msglen, taglen ); in ssl_encrypt_buf()
1628 unsigned char taglen = ssl->transform_in->ciphersuite_info->flags & in ssl_decrypt_buf() local
1633 if( ssl->in_msglen < explicit_iv_len + taglen ) in ssl_decrypt_buf()
1637 explicit_iv_len, taglen ) ); in ssl_decrypt_buf()
1640 dec_msglen = ssl->in_msglen - explicit_iv_len - taglen; in ssl_decrypt_buf()
1662 MBEDTLS_SSL_DEBUG_BUF( 4, "TAG used", dec_msg + dec_msglen, taglen ); in ssl_decrypt_buf()
1673 dec_msg + dec_msglen, taglen ) ) != 0 ) in ssl_decrypt_buf()