Skip to content

Commit

Permalink
Linking crypto hashes everywhere is needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
armfazh committed Mar 4, 2022
1 parent 5ed0bf2 commit 65bed83
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion blindsign/blindrsa/blindrsa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"crypto"
"crypto/rand"
"crypto/rsa"
_ "crypto/sha256"
"crypto/sha512"
"crypto/x509"
"encoding/hex"
Expand Down
2 changes: 2 additions & 0 deletions group/short.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package group
import (
"crypto"
"crypto/elliptic"
_ "crypto/sha256"
_ "crypto/sha512"
"crypto/subtle"
"fmt"
"io"
Expand Down
2 changes: 2 additions & 0 deletions hpke/algs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import (
"crypto/aes"
"crypto/cipher"
"crypto/elliptic"
_ "crypto/sha256"
_ "crypto/sha512"
"fmt"
"hash"
"io"
Expand Down
2 changes: 0 additions & 2 deletions hpke/kembase.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package hpke
import (
"crypto"
"crypto/rand"
_ "crypto/sha256"
_ "crypto/sha512"
"encoding/binary"
"io"

Expand Down
2 changes: 0 additions & 2 deletions hpke/shortkem.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package hpke
import (
"crypto/elliptic"
"crypto/rand"
_ "crypto/sha256"
_ "crypto/sha512"
"crypto/subtle"
"fmt"
"math/big"
Expand Down
2 changes: 0 additions & 2 deletions hpke/xkem.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package hpke
import (
"bytes"
"crypto/rand"
_ "crypto/sha256"
_ "crypto/sha512"
"crypto/subtle"
"fmt"
"io"
Expand Down

0 comments on commit 65bed83

Please sign in to comment.