Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hack-pad/go
The Go programming language
https://github.com/hack-pad/go
With this change, we are down to 1.2x the running time of the previous
variable time implementat...
Ignoring custom curves, this makes the whole package constant-time.
There is a slight loss in pe...
This will let us reuse it in crypto/ecdsa for the NIST scalar fields.
The main change in API is...
d7812ab38031ae524a731b4d2f19adcecd22c2f4 authored about 2 years ago by Filippo Valsorda <[email protected]>
This is missing a test for Ed25519ph with context, since the RFC doesn't
provide one.
Fixes #31...
831c6509ccddfc55c7f2121c5158f5f40916e6ad authored about 2 years ago by Filippo Valsorda <[email protected]>
Several operations emulate instructions available on power9. Use
the GOPPC64_power9 macro provid...
This patch reworks the handling of DLL import symbols in the PE host
object loader to ensure tha...
Adapt the testcshared tests to handle the case where the path output
by invoking
gcc -print-p...
771a98d6b19c9ca4bbd3fbeba03d7d512f77c166 authored about 2 years ago by Than McIntosh <[email protected]>
Add a new debugging flag "-capturehostobjs" that instructs the linker
to capture copies of all o...
When ctxt.Debugvlog > 1, produce additional trace output to describe
which object files are bein...
With a small tweak and the help of the inliner, we preallocate enough
nat backing space to do RS...
This is faster than the current code because computing RR involves
one more shiftIn and using it...
This change adds some private fields to PrecomputedValues.
If applications were for some reason...
5aa6313e587d7fa7caba9a76d23dd4d246cb6d1f authored about 2 years ago by Filippo Valsorda <[email protected]>
I have never encountered multi-prime RSA in the wild. A GitHub-wide
search reveals exactly two e...
Infamously, big.Int does not provide constant-time arithmetic, making
its use in cryptographic c...
Fixes #56088
Updates #52221
Change-Id: Id2f806a116100a160be7daafc3e4c0be2acdd6a9
Reviewed-on: h...
Currently, tfork on openbsd/mips64 returns the thread ID on success and
a negative error number ...
This test exercises the case where a net.Conn error occurs while
writing a response body. It inj...
Set a logger in newClientServerTest that directs the server
log output to the testing.T's log, s...
Done with:
go generate -run=bundle std
After CL 452096 updated the x/net version.
Change-Id:...
4f0d3bcd6d2d6bc726044153bf6875d195203b32 authored about 2 years ago by Dmitri Shuralyov <[email protected]>
Adds a method which allows users to set a fallback certificate pool for
usage during verificatio...
To pick up CL 451515.
This CL also updates x/net because x/crypto's dependency was bumped
while...
Before emitting a "wanted Foo but got Bar" message for an interface
type match failure, check th...
We save non-go files in the cached srcfiles file because we want the
non-go files for vet, but w...
In the script engine, if a command does not return a Wait function and
it succeeds, we won't cal...
For #50101
For #51152
For #53482
For #55301
For #56515
Change-Id: I11edeb4be0a7f80fb72fd7680a34...
6fc1f4f906d6d886f324250eebcb44fb4cc39f6c authored about 2 years ago by Damien Neil <[email protected]>
Change-Id: I35fcfb2d8cafadca36cffeebe0858973895946d7
Reviewed-on: https://go-review.googlesource...
Fixes #48152
Change-Id: I503f088edeb5574fd5eb5905bff7c3c23b2bc8fc
GitHub-Last-Rev: 2b0e982f3f6b...
To make the error clearer
Fixes #56697
Change-Id: Idfb5e8704d1bfc64bd0a09d5b553086d9ba5ac33
Re...
Change-Id: I69065f8adf101fdb28682c55997f503013a50e29
Reviewed-on: https://go-review.googlesource...
More stuff to do = more stack needed. Bump up the guard space when
building with the race detect...
Implement a more optimised memmove on riscv64, where up to 64 bytes are moved
per loop after ach...
Inline the only use of checkMarks which also allows to drop the
always-true report argument. Thi...
If a compatible trampoline has been inserted by a previously laid
function in the same section, ...
Change-Id: Ic28612952eb9abf14425f0bb14043b10f6050d94
Reviewed-on: https://go-review.googlesource...
The previous rule may move the phi value into a wrong block.
This CL make it only rewrite the ph...
This CL cleans up the literal pool implementation and inserts an UNDEF
instruction before the li...
This change adds a new GODEBUG flag called pagetrace that writes a
low-overhead trace of how pag...
Currently, we judge whether we need to fix up the branch instruction
based on Optab.type_ field,...
are provided
Improve the accuracy of recorded types and instances for function calls,
by instant...
Change-Id: I9b6759a82b8009b323132c78cb7d78c2c35652bd
Reviewed-on: https://go-review.googlesource...
This makes it easier to use the package string prefix in some cases
(cleanup).
Change-Id: I0ae7...
a8f9d3f0afa793b5496a5881c74fcd218c130dbc authored about 2 years ago by Robert Griesemer <[email protected]>While at it, drop P-224 benchmarks. Nobody cares about P-224.
Change-Id: I31db6fedde6026deff36d...
45711645378b7566b4d423b407f7c5c26028819e authored about 2 years ago by Filippo Valsorda <[email protected]>
lfstack does very unsafe things. In particular, it will not
work with nodes that live on the hea...
When /etc/nsswitch.conf lists: "hosts: files" then LookupHost returns two nils when no entry ins...
3e5c2c155645ebaed62e4481430c455045b0fff5 authored about 2 years ago by Mateusz Poliwczak <[email protected]>
For a while now, we've had intermittent reports about problems with
os/exec on macOS, but no cle...
Currently for every CPU profile sample, we apply its weight to all
call edges of the entire call...
Currently, we use CDF to compute a weight threshold and then use
the weight threshold to determi...
For implementing interface to empty interface conversion, the compiler
generate code like:
var...
81c9b1d65f3e416e134a30484c4bd6563aa825b5 authored about 2 years ago by Cuong Manh Le <[email protected]>Fixes #56495
Change-Id: Ib2f39273da68e3056688306aa0d5e274b5507bf4
Reviewed-on: https://go-revie...
Don't set the server's write deadline until after the client has
read the response headers, avoi...
Temporary registers are sometimes needed for an architecture backend
which needs to use several ...
CL 450136 made the compiler to be able to handle simple inlined calls in
staticinit. However, it...
CreateFile creates a handle to the console input or screen buffer
when opening a file named CONI...
Generating 8192 bit keys times out on builders relatively frequently. We
just need something tha...
Will become available with Go 1.21.
Recognizing the `clear` built-in early is not causing any p...
5c834a2eb051a0227814b5ea31437aac3ade100c authored about 2 years ago by Robert Griesemer <[email protected]>
go/parser can correctly parse interfaces that instantiate and embed
generic interfaces, but not ...
testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...
Change-Id: Icaee8064c5ab61cc2ad28c2d1d06d70f845754fa
Reviewed-on: https://go-review.googlesource...
Cl 426334 removed its only usage, and now we have gcflags_noopt.
Change-Id: I3b33a8c868669deea0...
1daa8e2d5226e0645d9748c32e031d93f485e740 authored about 2 years ago by Cuong Manh Le <[email protected]>
When it reports a parse error, it uses the "value" variable as the
value element of the parse er...
Given code like
func itou(i int) uint { return uint(i) }
var x = itou(-1)
the static inliner...
bed970b3ffa81cd43ce520bdc75113dd069f41ef authored about 2 years ago by Russ Cox <[email protected]>
Change-Id: If4a82893f855d86de3311247424b1a3740c1f212
Reviewed-on: https://go-review.googlesource...
In -race mode, the dist test command only registers the std, race,
osusergo, and amd64ios tests ...
testenv.HasCgo reports whether the test binary may have been built
with cgo enabled, but having ...
Don't test IsLocal("nul.txt"), since whether this name is reserved
or not is version-dependent.
...
Also fix the autocgo test from CL 450739 when DefaultCC is absolute.
Change-Id: Ie282a42a133466...
fdd8f0219d055f16647c8dfcd11e79cce222d200 authored about 2 years ago by Bryan C. Mills <[email protected]>
We were using a RWMutex RLock around a single memory load,
which is not a good use of a RWMutex-...
Return a distinguishable error when reading an archive file
with a path that is:
- absolute
-...
IsLocal reports whether a path lexically refers to a location
contained within the directory in ...
For a BlockIf, we can change the order of the successors if all OpPhi args are an OpNot and this...
fd59c6cf8cb600f2911864948303016581abf016 authored about 2 years ago by Jakub Ciolek <[email protected]>
Add "auto" mode for the -pgo build flag. When -pgo=auto is
specified, if there is a default.pgo ...
The 'cgo' command invoked by 'go fix' was not valid when built with
-trimpath, but the test was ...
The documentation for cgo has always said:
> The cgo tool is enabled by default for native buil...
52d9e41ac303cfed4c4cfe86ec6d663a18c3448d authored about 2 years ago by Russ Cox <[email protected]>
The use of an empty import "C" to trigger cgo in runtime/race
serves two purposes:
1. Cause the...
5bf9aeba1cfec8804425f3838b661fd6c2eb26ff authored about 2 years ago by Russ Cox <[email protected]>
Now that all uses of "go test" have been converted over to the new
abstraction, we can delete th...
This adds support for host tests to goTest and registerTest and
modifies all uses of registerHos...
This converts most of the remaining manual "go test" command line
construction in cmd/dist to us...
Currently, dist test has a single test called "cgo_test" that runs a
large number of different "...
The overall goal is to make registerTest the primary entry point for
adding dist tests and to co...
This CL rewrites everywhere in dist that manually constructs an
exec.Cmd to run "go test" to use...
This introduces an abstraction for constructing and running "go test"
commands. Currently, dist ...
Programs that call Seed and then expect a specific sequence
of results from the global random so...
A few new opcodes are added to support ROP mitigation on
Power10.
Change-Id: I13045aebc0b6fb09c...
e6eaf39cfaf253ebaff7fff3737f0f1d91024345 authored about 2 years ago by Paul E. Murphy <[email protected]>
Currently, cmd/go's testterminal18153 is implemented as a special test
that doesn't run as part ...
We're going to use this for another test, so make it more accessible.
Preparation for #37486.
...
334d8e453b5d45ede5265debc51b4775195d9ce9 authored about 2 years ago by Austin Clements <[email protected]>
The registerTest function has a special case for commands that start
with "time", but we don't u...
This is unused, and eliminating it lets us simplify the whole
registerTest mechanism.
Preparati...
40cb04c95bdf9a8da6aed8cfe8f32075e0ecc4ac authored about 2 years ago by Austin Clements <[email protected]>
I keep having to reconstruct how dist test's command system works.
This CL documents the main fu...
Also tweak the failure message added in CL 352349.
Updates #18741.
Updates #48515.
Change-Id: ...
8c17505da792755ea59711fc8349547a4f24b5c5 authored about 2 years ago by Bryan C. Mills <[email protected]>
The cmd/dist cgo_test enumerates a large number of platforms in
various special cases. Some comb...
Change-Id: I62b9d0dcbec647fdd3279d78b9999dd933ff0bbd
GitHub-Last-Rev: f83db66c935dd7a14128d1e87c...
When detecting invalid types, we may detect cycles through instances.
Ensure that the uninstanti...
Calling t.Run inside t.Cleanup can mess up the execution order of
registered Cleanup callbacks. ...
Ref. https://go-review.googlesource.com/c/go/+/442303/comment/7caca6eb_0ebe4d51/
Change-Id: Id3...
7c8c209b45ebe5c3d7979c44e53216f61e8b5f2a authored about 2 years ago by Tobias Klauser <[email protected]>
This specifically doesn't add support for X25519 certificates.
Refactored parsePublicKey not to ...
Fixes #56052
Change-Id: Icacba0ed0f77519bca2140c8af68407af97f9734
Reviewed-on: https://go-revie...
Fix noopt build break from CL 450136 by not running test.
I can't reproduce the failure locally...
5947a07d72076f96eb6fb8e54b7979748962713b authored about 2 years ago by Russ Cox <[email protected]>Global variable initializers like
var myErr error = &myError{"msg"}
have been converted to st...
b1678e508bf04b32fcd8153d09c39ff25b51d287 authored about 2 years ago by Russ Cox <[email protected]>
We already emit types for any and func(error) string in runtime.a
but unlike the other pre-emitt...
For #51972.
Change-Id: I86dcd8abc3b62e20b524541327af2cc891cb251d
Reviewed-on: https://go-review...