- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for chachaQR (0.29 sec)
-
src/internal/chacha8rand/chacha8_generic.go
// license that can be found in the LICENSE file. // ChaCha8 is ChaCha with 8 rounds. // See https://cr.yp.to/chacha/chacha-20080128.pdf. // // ChaCha8 operates on a 4x4 matrix of uint32 values, initially set to: // // const1 const2 const3 const4 // seed seed seed seed // seed seed seed seed // counter64 0 0 // // We use the same constants as ChaCha20 does, a random seed,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:32:54 UTC 2023 - 6.3K bytes - Viewed (0) -
src/math/rand/v2/chacha8.go
"errors" "internal/byteorder" "internal/chacha8rand" ) // A ChaCha8 is a ChaCha8-based cryptographically strong // random number generator. type ChaCha8 struct { state chacha8rand.State // The last readLen bytes of readBuf are still to be consumed by Read. readBuf [8]byte readLen int // 0 <= readLen <= 8 } // NewChaCha8 returns a new ChaCha8 seeded with the given seed. func NewChaCha8(seed [32]byte) *ChaCha8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 2.8K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8.go
data := make([]byte, 6*8) copy(data, "chacha8:") used := (s.c/ctrInc)*chunk + s.i byteorder.BePutUint64(data[1*8:], uint64(used)) for i, seed := range s.seed { byteorder.LePutUint64(data[(2+i)*8:], seed) } return data } type errUnmarshalChaCha8 struct{} func (*errUnmarshalChaCha8) Error() string { return "invalid ChaCha8 encoding" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:47:29 UTC 2024 - 4.4K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_amd64.s
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // ChaCha8 is ChaCha with 8 rounds. // See https://cr.yp.to/chacha/chacha-20080128.pdf. // See chacha8_generic.go for additional details. // ROL rotates the uint32s in register R left by N bits, using temporary T. #define ROL(N, R, T) \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 4.6K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_arm64.s
VADD A.S4, B.S4, A.S4; VEOR D.B16, A.B16, D.B16; VTBL V31.B16, [D.B16], D.B16; \ VADD C.S4, D.S4, C.S4; VEOR B.B16, C.B16, V30.B16; VSHL $7, V30.S4, B.S4; VSRI $25, V30.S4, B.S4 // block runs 4 ChaCha8 block transformations in the four stripes of the V registers. // func block(seed *[8]uint32, blocks *[4][16]uint32, counter uint32) TEXT ·block<ABIInternal>(SB), NOSPLIT, $16 // seed in R0 // blocks in R1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 3.2K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20poly1305/xchacha20poly1305.go
package chacha20poly1305 import ( "crypto/cipher" "errors" "golang.org/x/crypto/chacha20" ) type xchacha20poly1305 struct { key [KeySize]byte } // NewX returns a XChaCha20-Poly1305 AEAD that uses the given 256-bit key. // // XChaCha20-Poly1305 is a ChaCha20-Poly1305 variant that takes a longer nonce, // suitable to be generated randomly without risk of collisions. It should be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:44 UTC 2021 - 2.5K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build gc && !purego #include "go_asm.h" #include "textflag.h" // This is an implementation of the ChaCha20 encryption algorithm as // specified in RFC 7539. It uses vector instructions to compute // 4 keystream blocks in parallel (256 bytes) which are then XORed // with the bytes in the input slice.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv13-CHACHA20-SHA256
Roland Shoemaker <******@****.***> 1715710936 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 6.8K bytes - Viewed (0) -
src/crypto/tls/testdata/Server-TLSv13-CHACHA20-SHA256
Filippo Valsorda <******@****.***> 1684936196 +0200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:14:50 UTC 2023 - 7.3K bytes - Viewed (0) -
api/go1.22.txt
pkg math/rand/v2, func Uint64N(uint64) uint64 #61716 pkg math/rand/v2, func UintN(uint) uint #61716 pkg math/rand/v2, method (*ChaCha8) MarshalBinary() ([]uint8, error) #61716 pkg math/rand/v2, method (*ChaCha8) Seed([32]uint8) #61716 pkg math/rand/v2, method (*ChaCha8) Uint64() uint64 #61716 pkg math/rand/v2, method (*ChaCha8) UnmarshalBinary([]uint8) error #61716 pkg math/rand/v2, method (*PCG) MarshalBinary() ([]uint8, error) #61716
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0)