Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
crypto/cipher: move xorBytes function to internal #28465
Some packages need an efficient xor function bytes, for example:
And about 18 code pieces in golang.org/x/crypto https://github.com/golang/crypto/search?l=Go&q=xor
If this CL( https://go-review.googlesource.com/c/go/+/125316 ) get merged in master we will get a SIMD xorBytes which will be a benefit for all other package that use xor function and reduce redundancy.
Oops Intially I want to use it at crypto/rand and math/big Maybe an SSA optimization like encoding/binary? Agniva De Sarker <email@example.com>：…
Please see this #28113 <#28113>, which was already rejected. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28465 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA2DnuKmgQR1tP_iHEORAwIlfxReuO9Lks5upzBGgaJpZM4X_UcS> .
What did you want to use it for, exactly?
If you want to use