Change package name from tls to trs

This commit is contained in:
Henry Case 2019-05-12 18:42:15 +01:00
父節點 cb643472ee
當前提交 f09eee913a
共有 25 個檔案被更改,包括 25 行新增25 行删除

2
13.go
查看文件

@ -1,4 +1,4 @@
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import "strconv" import "strconv"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"container/list" "container/list"

查看文件

@ -4,7 +4,7 @@
// TLS low level connection and record layer // TLS low level connection and record layer
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls_test package trs_test
import ( import (
"crypto/tls" "crypto/tls"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bufio" "bufio"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
// Mostly derived from golang.org/x/crypto/hkdf, but with an exposed // Mostly derived from golang.org/x/crypto/hkdf, but with an exposed
// Extract API. // Extract API.

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

2
prf.go
查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"encoding/hex" "encoding/hex"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
// Delegated credentials for TLS // Delegated credentials for TLS
// (https://tools.ietf.org/html/draft-ietf-tls-subcerts-02) is an IETF Internet // (https://tools.ietf.org/html/draft-ietf-tls-subcerts-02) is an IETF Internet

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"crypto" "crypto"

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"

2
tls.go
查看文件

@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Package tls partially implements TLS 1.2, as specified in RFC 5246. // Package tls partially implements TLS 1.2, as specified in RFC 5246.
package tls package trs
// BUG(agl): The crypto/tls package only implements some countermeasures // BUG(agl): The crypto/tls package only implements some countermeasures
// against Lucky13 attacks on CBC-mode encryption, and only on SHA1 // against Lucky13 attacks on CBC-mode encryption, and only on SHA1

查看文件

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package tls package trs
import ( import (
"bytes" "bytes"