Searched refs:taglen (Results 1 – 1 of 1) sorted by relevance
1360 unsigned char taglen = ssl->transform_out->ciphersuite_info->flags & in ssl_encrypt_buf() local1411 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() local1633 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()