Skip to content

Commit 65bed83

Browse files
committed
Linking crypto hashes everywhere is needed.
1 parent 5ed0bf2 commit 65bed83

File tree

6 files changed

+4
-7
lines changed

6 files changed

+4
-7
lines changed

blindsign/blindrsa/blindrsa_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"crypto"
66
"crypto/rand"
77
"crypto/rsa"
8-
_ "crypto/sha256"
98
"crypto/sha512"
109
"crypto/x509"
1110
"encoding/hex"

group/short.go

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package group
33
import (
44
"crypto"
55
"crypto/elliptic"
6+
_ "crypto/sha256"
7+
_ "crypto/sha512"
68
"crypto/subtle"
79
"fmt"
810
"io"

hpke/algs.go

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import (
55
"crypto/aes"
66
"crypto/cipher"
77
"crypto/elliptic"
8+
_ "crypto/sha256"
9+
_ "crypto/sha512"
810
"fmt"
911
"hash"
1012
"io"

hpke/kembase.go

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ package hpke
33
import (
44
"crypto"
55
"crypto/rand"
6-
_ "crypto/sha256"
7-
_ "crypto/sha512"
86
"encoding/binary"
97
"io"
108

hpke/shortkem.go

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ package hpke
33
import (
44
"crypto/elliptic"
55
"crypto/rand"
6-
_ "crypto/sha256"
7-
_ "crypto/sha512"
86
"crypto/subtle"
97
"fmt"
108
"math/big"

hpke/xkem.go

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ package hpke
33
import (
44
"bytes"
55
"crypto/rand"
6-
_ "crypto/sha256"
7-
_ "crypto/sha512"
86
"crypto/subtle"
97
"fmt"
108
"io"

0 commit comments

Comments
 (0)