Home
last modified time | relevance | path

Searched defs:Cipher (Results 1 – 3 of 3) sorted by relevance

/prebuilts/go/linux-x86/src/vendor/golang.org/x/crypto/chacha20/
Dchacha_generic.go36 type Cipher struct { struct
39 key [8]uint32
40 counter uint32
41 nonce [3]uint32
46 buf [bufSize]byte
47 len int
51 overflow bool
55 precompDone bool
56 p1, p5, p9, p13 uint32
57 p2, p6, p10, p14 uint32
[all …]
/prebuilts/go/linux-x86/src/crypto/rc4/
Drc4.go18 type Cipher struct { struct
19 s [256]uint32
20 i, j uint8
52 func (c *Cipher) Reset() {
61 func (c *Cipher) XORKeyStream(dst, src []byte) {
Drc4_test.go77 func testEncrypt(t *testing.T, desc string, c *Cipher, src, expect []byte) {