Skip to content

Commit

Permalink
kdf: Add chacha20
Browse files Browse the repository at this point in the history
  • Loading branch information
dev committed Jan 20, 2024
1 parent 5059581 commit 3ed0f8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kdf/kdf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func BenchmarkKDF(b *testing.B) {
output512 := make([]byte, 64, 256)

for _, size := range benchmarks {
benchmarkKDF(size, "sha256", sha256KDF{}, key, info, output256, b)
benchmarkKDF(size, "hkdf_sha256", sha256KDF{}, key, info, output256, b)
benchmarkKDF(size, "zeebo_blake3_256", zeeboBlake3KDF{}, key, info, output256, b)
benchmarkKDF(size, "lukechampine_blake3_256", lukechampineBlake3KDF{}, key, info, output256, b)
benchmarkKDF(size, "chacha20", chacha20KDF{}, key, info, output256, b)
Expand All @@ -41,7 +41,7 @@ func BenchmarkKDF(b *testing.B) {
// benchmarkHasher("sha512/256", sha512_256Hasher{}, b)
// benchmarkHasher(size, "sha3", sha3Hasher{}, b)

benchmarkKDF(size, "sha2_512", sha512KDF{}, key, info, output512, b)
benchmarkKDF(size, "hkdf_sha2_512", sha512KDF{}, key, info, output512, b)
benchmarkKDF(size, "zeebo_blake3_512", zeeboBlake3_512KDF{}, key, info, output512, b)
benchmarkKDF(size, "lukechampine_blake3_512", lukechampineBlake3_512KDF{}, key, info, output512, b)
// benchmarkHasher(size, "blake2b_512", blake2b512Hasher{}, b)
Expand Down

0 comments on commit 3ed0f8b

Please sign in to comment.