forked from golang/go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'golang:master' into master
- Loading branch information
Showing
1,834 changed files
with
132,529 additions
and
28,697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pkg crypto/hkdf, func Expand[$0 hash.Hash](func() $0, []uint8, string, int) ([]uint8, error) #61477 | ||
pkg crypto/hkdf, func Extract[$0 hash.Hash](func() $0, []uint8, []uint8) ([]uint8, error) #61477 | ||
pkg crypto/hkdf, func Key[$0 hash.Hash](func() $0, []uint8, []uint8, string, int) ([]uint8, error) #61477 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg log/slog, var DiscardHandler Handler #62005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
pkg debug/elf, const VER_FLG_BASE = 1 #63952 | ||
pkg debug/elf, const VER_FLG_BASE DynamicVersionFlag #63952 | ||
pkg debug/elf, const VER_FLG_INFO = 4 #63952 | ||
pkg debug/elf, const VER_FLG_INFO DynamicVersionFlag #63952 | ||
pkg debug/elf, const VER_FLG_WEAK = 2 #63952 | ||
pkg debug/elf, const VER_FLG_WEAK DynamicVersionFlag #63952 | ||
pkg debug/elf, const VerFlagGlobal = 2 #63952 | ||
pkg debug/elf, const VerFlagGlobal SymbolVersionFlag #63952 | ||
pkg debug/elf, const VerFlagHidden = 4 #63952 | ||
pkg debug/elf, const VerFlagHidden SymbolVersionFlag #63952 | ||
pkg debug/elf, const VerFlagLocal = 1 #63952 | ||
pkg debug/elf, const VerFlagLocal SymbolVersionFlag #63952 | ||
pkg debug/elf, const VerFlagNone = 0 #63952 | ||
pkg debug/elf, const VerFlagNone SymbolVersionFlag #63952 | ||
pkg debug/elf, method (*File) DynamicVersionNeeds() ([]DynamicVersionNeed, error) #63952 | ||
pkg debug/elf, method (*File) DynamicVersions() ([]DynamicVersion, error) #63952 | ||
pkg debug/elf, type DynamicVersion struct #63952 | ||
pkg debug/elf, type DynamicVersion struct, Deps []string #63952 | ||
pkg debug/elf, type DynamicVersion struct, Flags DynamicVersionFlag #63952 | ||
pkg debug/elf, type DynamicVersion struct, Index uint16 #63952 | ||
pkg debug/elf, type DynamicVersion struct, Version uint16 #63952 | ||
pkg debug/elf, type DynamicVersionDep struct #63952 | ||
pkg debug/elf, type DynamicVersionDep struct, Dep string #63952 | ||
pkg debug/elf, type DynamicVersionDep struct, Flags DynamicVersionFlag #63952 | ||
pkg debug/elf, type DynamicVersionDep struct, Other uint16 #63952 | ||
pkg debug/elf, type DynamicVersionFlag uint16 #63952 | ||
pkg debug/elf, type DynamicVersionNeed struct #63952 | ||
pkg debug/elf, type DynamicVersionNeed struct, Name string #63952 | ||
pkg debug/elf, type DynamicVersionNeed struct, Needs []DynamicVersionDep #63952 | ||
pkg debug/elf, type DynamicVersionNeed struct, Version uint16 #63952 | ||
pkg debug/elf, type Symbol struct, VersionFlags SymbolVersionFlag #63952 | ||
pkg debug/elf, type Symbol struct, VersionIndex int16 #63952 | ||
pkg debug/elf, type SymbolVersionFlag uint8 #63952 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg crypto/subtle, func WithDataIndependentTiming(func()) #66450 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pkg os, func OpenInRoot(string, string) (*File, error) #67002 | ||
pkg os, func OpenRoot(string) (*Root, error) #67002 | ||
pkg os, method (*Root) Close() error #67002 | ||
pkg os, method (*Root) Create(string) (*File, error) #67002 | ||
pkg os, method (*Root) FS() fs.FS #67002 | ||
pkg os, method (*Root) Lstat(string) (fs.FileInfo, error) #67002 | ||
pkg os, method (*Root) Mkdir(string, fs.FileMode) error #67002 | ||
pkg os, method (*Root) Name() string #67002 | ||
pkg os, method (*Root) Open(string) (*File, error) #67002 | ||
pkg os, method (*Root) OpenFile(string, int, fs.FileMode) (*File, error) #67002 | ||
pkg os, method (*Root) OpenRoot(string) (*Root, error) #67002 | ||
pkg os, method (*Root) Remove(string) error #67002 | ||
pkg os, method (*Root) Stat(string) (fs.FileInfo, error) #67002 | ||
pkg os, type Root struct #67002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg crypto/rand, func Text() string #67057 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pkg runtime, func AddCleanup[$0 interface{}, $1 interface{}](*$0, func($1), $1) Cleanup #67535 | ||
pkg runtime, method (Cleanup) Stop() #67535 | ||
pkg runtime, type Cleanup struct #67535 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pkg weak, func Make[$0 interface{}](*$0) Pointer[$0] #67552 | ||
pkg weak, method (Pointer[$0]) Value() *$0 #67552 | ||
pkg weak, type Pointer[$0 interface{}] struct #67552 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pkg net/http, method (*Protocols) SetHTTP1(bool) #67814 | ||
pkg net/http, method (*Protocols) SetHTTP2(bool) #67814 | ||
pkg net/http, method (Protocols) String() string #67814 | ||
pkg net/http, method (Protocols) HTTP1() bool #67814 | ||
pkg net/http, method (Protocols) HTTP2() bool #67814 | ||
pkg net/http, type Protocols struct #67814 | ||
pkg net/http, type Server struct, Protocols *Protocols #67814 | ||
pkg net/http, type Transport struct, Protocols *Protocols #67814 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pkg net/http, method (*Protocols) SetUnencryptedHTTP2(bool) #67816 | ||
pkg net/http, method (Protocols) UnencryptedHTTP2() bool #67816 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pkg crypto/x509, type Certificate struct, InhibitAnyPolicy int #68484 | ||
pkg crypto/x509, type Certificate struct, InhibitAnyPolicyZero bool #68484 | ||
pkg crypto/x509, type Certificate struct, InhibitPolicyMapping int #68484 | ||
pkg crypto/x509, type Certificate struct, InhibitPolicyMappingZero bool #68484 | ||
pkg crypto/x509, type Certificate struct, PolicyMappings []PolicyMapping #68484 | ||
pkg crypto/x509, type Certificate struct, RequireExplicitPolicy int #68484 | ||
pkg crypto/x509, type Certificate struct, RequireExplicitPolicyZero bool #68484 | ||
pkg crypto/x509, type PolicyMapping struct #68484 | ||
pkg crypto/x509, type PolicyMapping struct, IssuerDomainPolicy OID #68484 | ||
pkg crypto/x509, type PolicyMapping struct, SubjectDomainPolicy OID #68484 | ||
pkg crypto/x509, type VerifyOptions struct, CertificatePolicies []OID #68484 | ||
pkg crypto/x509, const NoValidChains = 10 #68484 | ||
pkg crypto/x509, const NoValidChains InvalidReason #68484 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pkg crypto/tls, type Config struct, EncryptedClientHelloKeys []EncryptedClientHelloKey #68500 | ||
pkg crypto/tls, type EncryptedClientHelloKey struct #68500 | ||
pkg crypto/tls, type EncryptedClientHelloKey struct, Config []uint8 #68500 | ||
pkg crypto/tls, type EncryptedClientHelloKey struct, PrivateKey []uint8 #68500 | ||
pkg crypto/tls, type EncryptedClientHelloKey struct, SendAsRetry bool #68500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pkg crypto/cipher, func NewCFBDecrypter //deprecated #69445 | ||
pkg crypto/cipher, func NewCFBEncrypter //deprecated #69445 | ||
pkg crypto/cipher, func NewOFB //deprecated #69445 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg crypto/pbkdf2, func Key[$0 hash.Hash](func() $0, string, []uint8, int, int) ([]uint8, error) #69488 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg crypto/cipher, func NewGCMWithRandomNonce(Block) (AEAD, error) #69981 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
pkg crypto/sha3, func New224() *SHA3 #69982 | ||
pkg crypto/sha3, func New256() *SHA3 #69982 | ||
pkg crypto/sha3, func New384() *SHA3 #69982 | ||
pkg crypto/sha3, func New512() *SHA3 #69982 | ||
pkg crypto/sha3, func NewCSHAKE128([]uint8, []uint8) *SHAKE #69982 | ||
pkg crypto/sha3, func NewCSHAKE256([]uint8, []uint8) *SHAKE #69982 | ||
pkg crypto/sha3, func NewSHAKE128() *SHAKE #69982 | ||
pkg crypto/sha3, func NewSHAKE256() *SHAKE #69982 | ||
pkg crypto/sha3, func Sum224([]uint8) [28]uint8 #69982 | ||
pkg crypto/sha3, func Sum256([]uint8) [32]uint8 #69982 | ||
pkg crypto/sha3, func Sum384([]uint8) [48]uint8 #69982 | ||
pkg crypto/sha3, func Sum512([]uint8) [64]uint8 #69982 | ||
pkg crypto/sha3, func SumSHAKE128([]uint8, int) []uint8 #69982 | ||
pkg crypto/sha3, func SumSHAKE256([]uint8, int) []uint8 #69982 | ||
pkg crypto/sha3, method (*SHA3) AppendBinary([]uint8) ([]uint8, error) #69982 | ||
pkg crypto/sha3, method (*SHA3) BlockSize() int #69982 | ||
pkg crypto/sha3, method (*SHA3) MarshalBinary() ([]uint8, error) #69982 | ||
pkg crypto/sha3, method (*SHA3) Reset() #69982 | ||
pkg crypto/sha3, method (*SHA3) Size() int #69982 | ||
pkg crypto/sha3, method (*SHA3) Sum([]uint8) []uint8 #69982 | ||
pkg crypto/sha3, method (*SHA3) UnmarshalBinary([]uint8) error #69982 | ||
pkg crypto/sha3, method (*SHA3) Write([]uint8) (int, error) #69982 | ||
pkg crypto/sha3, method (*SHAKE) AppendBinary([]uint8) ([]uint8, error) #69982 | ||
pkg crypto/sha3, method (*SHAKE) BlockSize() int #69982 | ||
pkg crypto/sha3, method (*SHAKE) MarshalBinary() ([]uint8, error) #69982 | ||
pkg crypto/sha3, method (*SHAKE) Read([]uint8) (int, error) #69982 | ||
pkg crypto/sha3, method (*SHAKE) Reset() #69982 | ||
pkg crypto/sha3, method (*SHAKE) UnmarshalBinary([]uint8) error #69982 | ||
pkg crypto/sha3, method (*SHAKE) Write([]uint8) (int, error) #69982 | ||
pkg crypto/sha3, type SHA3 struct #69982 | ||
pkg crypto/sha3, type SHAKE struct #69982 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pkg crypto/tls, const X25519MLKEM768 = 4588 #69985 | ||
pkg crypto/tls, const X25519MLKEM768 CurveID #69985 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
pkg crypto/mlkem, const CiphertextSize1024 = 1568 #70122 | ||
pkg crypto/mlkem, const CiphertextSize1024 ideal-int #70122 | ||
pkg crypto/mlkem, const CiphertextSize768 = 1088 #70122 | ||
pkg crypto/mlkem, const CiphertextSize768 ideal-int #70122 | ||
pkg crypto/mlkem, const EncapsulationKeySize1024 = 1568 #70122 | ||
pkg crypto/mlkem, const EncapsulationKeySize1024 ideal-int #70122 | ||
pkg crypto/mlkem, const EncapsulationKeySize768 = 1184 #70122 | ||
pkg crypto/mlkem, const EncapsulationKeySize768 ideal-int #70122 | ||
pkg crypto/mlkem, const SeedSize = 64 #70122 | ||
pkg crypto/mlkem, const SeedSize ideal-int #70122 | ||
pkg crypto/mlkem, const SharedKeySize = 32 #70122 | ||
pkg crypto/mlkem, const SharedKeySize ideal-int #70122 | ||
pkg crypto/mlkem, func GenerateKey1024() (*DecapsulationKey1024, error) #70122 | ||
pkg crypto/mlkem, func GenerateKey768() (*DecapsulationKey768, error) #70122 | ||
pkg crypto/mlkem, func NewDecapsulationKey1024([]uint8) (*DecapsulationKey1024, error) #70122 | ||
pkg crypto/mlkem, func NewDecapsulationKey768([]uint8) (*DecapsulationKey768, error) #70122 | ||
pkg crypto/mlkem, func NewEncapsulationKey1024([]uint8) (*EncapsulationKey1024, error) #70122 | ||
pkg crypto/mlkem, func NewEncapsulationKey768([]uint8) (*EncapsulationKey768, error) #70122 | ||
pkg crypto/mlkem, method (*DecapsulationKey1024) Bytes() []uint8 #70122 | ||
pkg crypto/mlkem, method (*DecapsulationKey1024) Decapsulate([]uint8) ([]uint8, error) #70122 | ||
pkg crypto/mlkem, method (*DecapsulationKey1024) EncapsulationKey() *EncapsulationKey1024 #70122 | ||
pkg crypto/mlkem, method (*DecapsulationKey768) Bytes() []uint8 #70122 | ||
pkg crypto/mlkem, method (*DecapsulationKey768) Decapsulate([]uint8) ([]uint8, error) #70122 | ||
pkg crypto/mlkem, method (*DecapsulationKey768) EncapsulationKey() *EncapsulationKey768 #70122 | ||
pkg crypto/mlkem, method (*EncapsulationKey1024) Bytes() []uint8 #70122 | ||
pkg crypto/mlkem, method (*EncapsulationKey1024) Encapsulate() ([]uint8, []uint8) #70122 | ||
pkg crypto/mlkem, method (*EncapsulationKey768) Bytes() []uint8 #70122 | ||
pkg crypto/mlkem, method (*EncapsulationKey768) Encapsulate() ([]uint8, []uint8) #70122 | ||
pkg crypto/mlkem, type DecapsulationKey1024 struct #70122 | ||
pkg crypto/mlkem, type DecapsulationKey768 struct #70122 | ||
pkg crypto/mlkem, type EncapsulationKey1024 struct #70122 | ||
pkg crypto/mlkem, type EncapsulationKey768 struct #70122 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg crypto/fips140, func Enabled() bool #70123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Directory-limited filesystem access | ||
|
||
<!-- go.dev/issue/67002 --> | ||
The new [os.Root] type provides the ability to perform filesystem | ||
operations within a specific directory. | ||
|
||
The [os.OpenRoot] function opens a directory and returns an [os.Root]. | ||
Methods on [os.Root] operate within the directory and do not permit | ||
paths that refer to locations outside the directory, including | ||
ones that follow symbolic links out of the directory. | ||
|
||
- [os.Root.Open] opens a file for reading. | ||
- [os.Root.Create] creates a file. | ||
- [os.Root.OpenFile] is the generalized open call. | ||
- [os.Root.Mkdir] creates a directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### New weak package | ||
|
||
The new [weak](/pkg/weak) package provides weak pointers. | ||
|
||
Weak pointers are a low-level primitive provided to enable the | ||
creation of memory-efficient structures, such as weak maps for | ||
associating values, canonicalization maps for anything not | ||
covered by package [unique](/pkg/unique), and various kinds | ||
of caches. | ||
For supporting these use-cases, this release also provides | ||
[runtime.AddCleanup](/pkg/runtime#AddCleanup) and | ||
[maphash.Comparable](/pkg/maphash#Comparable). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
A new pbkdf2 [Key] derivation function was added, based on the pre-existing | ||
`golang.org/x/crypto/pbkdf2` package. <!-- go.dev/issue/69488 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
A new `crypto/hkdf` package was added based on the pre-existing | ||
`golang.org/x/crypto/hkdf` package. <!-- go.dev/issue/61477 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
A new `crypto/mlkem` package was added, implementing ML-KEM (formerly known as | ||
Kyber), as specified in [NIST FIPS 203](https://doi.org/10.6028/NIST.FIPS.203). | ||
<!-- go.dev/issue/70122 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### New sha3 package | ||
|
||
The new [crypto/sha3] package implements the SHA-3 hash function, and SHAKE and | ||
cSHAKE extendable-output functions. | ||
|
||
It was imported from `golang.org/x/crypto/sha3`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[NewOFB], [NewCFBEncrypter], and [NewCFBDecrypter] are now deprecated. OFB and | ||
CFB mode are not authenticated, which generally enables active attacks to | ||
manipulate and recover the plaintext. It is recommended that applications use | ||
[AEAD] modes instead. If an unauthenticated [Stream] mode is required, use | ||
[NewCTR] instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The new [NewGCMWithRandomNonce] function returns an [AEAD] that implements | ||
AES-GCM by generating a random nonce during Seal and prepending it to the | ||
ciphertext. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- FIPS 140 will be covered in its own section. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- This is a new package; covered in 6-stdlib/3-hkdf.md. --> |
Oops, something went wrong.