summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/siv_aead/correctness_test.go2
-rw-r--r--internal/siv_aead/siv_aead.go4
-rw-r--r--internal/speed/speed.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/internal/siv_aead/correctness_test.go b/internal/siv_aead/correctness_test.go
index b52774b..0653e26 100644
--- a/internal/siv_aead/correctness_test.go
+++ b/internal/siv_aead/correctness_test.go
@@ -5,7 +5,7 @@ import (
"encoding/hex"
"testing"
- "github.com/jacobsa/crypto/siv"
+ "github.com/aperturerobotics/jacobsa-crypto/siv"
)
// Test all supported key lengths
diff --git a/internal/siv_aead/siv_aead.go b/internal/siv_aead/siv_aead.go
index 482efd9..dc37c8a 100644
--- a/internal/siv_aead/siv_aead.go
+++ b/internal/siv_aead/siv_aead.go
@@ -6,7 +6,7 @@ import (
"crypto/cipher"
"log"
- "github.com/jacobsa/crypto/siv"
+ "github.com/aperturerobotics/jacobsa-crypto/siv"
)
type sivAead struct {
@@ -63,7 +63,7 @@ func (s *sivAead) Seal(dst, nonce, plaintext, authData []byte) []byte {
if len(s.key) == 0 {
log.Panic("Key has been wiped?")
}
- // https://github.com/jacobsa/crypto/blob/master/siv/encrypt.go#L48:
+ // https://github.com/aperturerobotics/jacobsa-crypto/blob/master/siv/encrypt.go#L48:
// As per RFC 5297 section 3, you may use this function for nonce-based
// authenticated encryption by passing a nonce as the last associated
// data element.
diff --git a/internal/speed/speed.go b/internal/speed/speed.go
index aef3ad6..950bbda 100644
--- a/internal/speed/speed.go
+++ b/internal/speed/speed.go
@@ -140,7 +140,7 @@ func bGoGCM(b *testing.B) {
bEncrypt(b, gGCM)
}
-// bAESSIV benchmarks AES-SIV from github.com/jacobsa/crypto/siv
+// bAESSIV benchmarks AES-SIV from github.com/aperturerobotics/jacobsa-crypto/siv
func bAESSIV(b *testing.B) {
c := siv_aead.New(randBytes(64))
bEncrypt(b, c)