core: v2ray.com/core/common/crypto/internal Index | Files

package internal

import "v2ray.com/core/common/crypto/internal"

Index

Package Files

chacha.go chacha_core.generated.go

func ChaCha20Block Uses

func ChaCha20Block(s *[16]uint32, out []byte, rounds int)

type ChaCha20Stream Uses

type ChaCha20Stream struct {
    // contains filtered or unexported fields
}

func NewChaCha20Stream Uses

func NewChaCha20Stream(key []byte, nonce []byte, rounds int) *ChaCha20Stream

func (*ChaCha20Stream) XORKeyStream Uses

func (s *ChaCha20Stream) XORKeyStream(dst, src []byte)

Package internal imports 1 packages (graph) and is imported by 4 packages. Updated 2018-06-10. Refresh now. Tools for package owners.