Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HChaCha20 (0.07 sec)

  1. src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go

    	// escape to the heap.
    	out := make([]byte, 32)
    	return hChaCha20(out, key, nonce)
    }
    
    func hChaCha20(out, key, nonce []byte) ([]byte, error) {
    	if len(key) != KeySize {
    		return nil, errors.New("chacha20: wrong HChaCha20 key size")
    	}
    	if len(nonce) != 16 {
    		return nil, errors.New("chacha20: wrong HChaCha20 nonce size")
    	}
    
    	x0, x1, x2, x3 := j0, j1, j2, j3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 13.9K bytes
    - Viewed (0)
Back to top