mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Internal change
PiperOrigin-RevId: 204028082 Change-Id: I4251cce10aace43f9b9a80c36204ef66f1b329df
This commit is contained in:
@@ -37,11 +37,12 @@ passed hash verification. Hence the client code can safely do any kind of
|
||||
package hashio
|
||||
|
||||
import (
|
||||
"crypto/hmac"
|
||||
"errors"
|
||||
"hash"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
"crypto/hmac"
|
||||
)
|
||||
|
||||
// SegmentSize is the unit we split payload data and insert hash at.
|
||||
|
||||
@@ -46,8 +46,6 @@ package statefile
|
||||
import (
|
||||
"bytes"
|
||||
"compress/flate"
|
||||
"crypto/hmac"
|
||||
"crypto/sha256"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"hash"
|
||||
@@ -55,6 +53,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"crypto/hmac"
|
||||
"crypto/sha256"
|
||||
"gvisor.googlesource.com/gvisor/pkg/binary"
|
||||
"gvisor.googlesource.com/gvisor/pkg/compressio"
|
||||
"gvisor.googlesource.com/gvisor/pkg/hashio"
|
||||
|
||||
Reference in New Issue
Block a user