34 Commits

Author SHA1 Message Date
Jo Turk 20e8a63ba6 Apply modernize, link upgrades and checks 2026-04-01 20:17:39 +02:00
Pion 76f3a9ffab Update CI configs to v0.11.37
Update lint scripts and CI configs.
2026-01-22 11:08:56 +02:00
Xiaobo Liu 6f87a7dec0 Interface{} can be replaced by any
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
2025-05-29 09:26:00 +08:00
Joe Turki 8867eb8597 Update lint rules, force testify/assert for tests
Use testify's assert package instead of the standard library's testing
package.
2025-04-07 02:59:21 +02:00
Pion Bot f00fc07896 Update CI configs to v0.11.18
Update lint scripts and CI configs.
2025-02-13 23:43:55 -05:00
Joe Turki 0397f2187b Upgrade golangci-lint, more linters
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
2025-01-18 10:57:33 -06:00
Sean DuBois b2812c84a7 Fix linter errors
golangci-lint upgrade to v1.56.2 added more checks

Relates to pion/.goassets#201
2024-03-16 20:19:07 -04:00
Steffen Vogel e56f1f82cd Harmonize log messages 2023-06-24 10:03:12 +02:00
Steffen Vogel ab3e9f2f89 Make package REUSE compliant 2023-04-18 13:19:15 +02:00
Steffen Vogel 7c533756a6 Harmonize nolint directives 2023-04-12 10:22:35 +02:00
Pion c3ca67946e Update CI configs to v0.7.5
Update lint scripts and CI configs.
Excluding codecov.yml.
2022-05-09 10:21:35 -04:00
Pion 3d933930cc Update CI configs to v0.7.2
Update lint scripts and CI configs.
Excluding codecov.yml.
2022-04-27 21:48:56 -04:00
Pion 23c8e0cda2 Update CI configs to v0.4.15
Update lint scripts and CI configs.
Excluding codecov.yml.
2020-11-16 11:47:01 -08:00
Aleksandr Razumov 6a6d4fd444 hmac: update vendored version to go1.15 2020-11-07 19:10:32 -08:00
Pion c15bbe4175 Update CI configs to v0.4.12
Update lint scripts and CI configs.
Excluding codecov.yml.
2020-11-06 21:39:16 -08:00
ZHENK 85839ae560 Update CI configs to v0.4.7
Update lint scripts and CI configs.
Excluding codecov.yml.
2020-09-29 23:53:36 -07:00
Pion c044f70398 Update CI configs to v0.4.5
Update lint scripts and CI configs.
Excluding codecov.yml.
2020-09-09 21:34:39 -07:00
Atsushi Watanabe 05f7805874 Fix lint errors
* Ignore disallowed-functions errors
  TODO:
  - Handle unintended input as error instead of panic.
  - Make executables only for testing as Go test.
* Fix filename lint error
  Replace hyphen by underscore.
* Disable godox linter
2020-05-06 00:26:51 -07:00
Maanas Royy 7b846ce209 Hmac: re-vendor
Merged from the source gortc/stun
Commit: e9462554a97dc695522872882a0d3dc5abc01985 [e946255]
Parents: d56b7d65dd
Author: Aleksandr Razumov <ar@gortc.io>
Date: 11 August 2019 at 5:38:27 PM GMT+8
2020-02-12 12:40:01 +08:00
Aleksandr Razumov 3309b1d3bd hmac: combine int params in assertHMACSize 2018-08-03 14:42:07 +03:00
Aleksandr Razumov bc192a0797 testutil: add ShouldNotAllocate helper 2018-08-02 10:24:03 +03:00
Aleksandr Razumov a3050f90de hmac: assert size and block size during Put* and Acquire* calls 2018-07-24 22:02:19 +03:00
Aleksandr Razumov bc045ceda0 hmac: add {Acquire,Put}SHA256
Will be required while implementing STUN-bis
2018-07-22 08:35:30 +03:00
Aleksandr Razumov 55c4060794 hmac: fix TestHMACPool 2018-07-22 07:49:47 +03:00
Aleksandr Razumov dcd1c89fcb hmac: improve test coverage 2018-07-22 07:47:08 +03:00
Aleksandr Razumov 4c73e0b01b hmac: add vendor script 2018-07-13 03:01:21 +03:00
Aleksandr Razumov b2898e3525 hmac: add comment for setZeroes 2018-07-13 02:51:09 +03:00
Aleksandr Razumov 5728885d77 hmac: rename resetBytes to setZeroes 2018-07-13 02:50:03 +03:00
Aleksandr Razumov b5de207799 hmac: simplify resetBytes 2018-07-13 02:49:15 +03:00
Aleksandr Razumov d8d854ea77 hmac: move pool-specific code to pool.go 2018-07-13 02:45:36 +03:00
Aleksandr Razumov 77977999e6 hmac: add resetTo to TestHMAC 2018-07-13 00:25:17 +03:00
Aleksandr Razumov 2f6473e01d hmac: reset h.{i,o}pad 2018-07-12 23:51:40 +03:00
Aleksandr Razumov ba7c94d006 {attr.integrity,hmac}: optimize 2018-07-12 23:42:33 +03:00
Aleksandr Razumov cd00ed5811 all: vendor crypto/hmac 2018-07-12 23:21:44 +03:00