mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-24 13:17:28 +02:00
* update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-billy/v5 * update github.com/go-git/go-git/v5 * update github.com/go-redis/redis/v8 * update github.com/go-testfixtures/testfixtures/v3 * update github.com/jaytaylor/html2text * update github.com/json-iterator/go * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mattn/go-isatty * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/prometheus/client_golang * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting Co-authored-by: techknowlogick <techknowlogick@gitea.io>
25 lines
977 B
Go
Vendored
25 lines
977 B
Go
Vendored
package ocb
|
|
|
|
// Second set of test vectors from https://tools.ietf.org/html/rfc7253
|
|
var rfc7253TestVectorTaglen96 = struct {
|
|
key, nonce, header, plaintext, ciphertext string
|
|
}{"0F0E0D0C0B0A09080706050403020100",
|
|
"BBAA9988776655443322110D",
|
|
"000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627",
|
|
"000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627",
|
|
"1792A4E31E0755FB03E31B22116E6C2DDF9EFD6E33D536F1A0124B0A55BAE884ED93481529C76B6AD0C515F4D1CDD4FDAC4F02AA"}
|
|
|
|
var rfc7253AlgorithmTest = []struct {
|
|
KEYLEN, TAGLEN int
|
|
OUTPUT string }{
|
|
{128, 128, "67E944D23256C5E0B6C61FA22FDF1EA2"},
|
|
{192, 128, "F673F2C3E7174AAE7BAE986CA9F29E17"},
|
|
{256, 128, "D90EB8E9C977C88B79DD793D7FFA161C"},
|
|
{128, 96, "77A3D8E73589158D25D01209"},
|
|
{192, 96, "05D56EAD2752C86BE6932C5E"},
|
|
{256, 96, "5458359AC23B0CBA9E6330DD"},
|
|
{128, 64, "192C9B7BD90BA06A"},
|
|
{192, 64, "0066BC6E0EF34E24"},
|
|
{256, 64, "7D4EA5D445501CBE"},
|
|
}
|