podman

Форк
0
14 строк · 538.0 Байт
1
// Copyright 2019 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4

5
//go:build !amd64 || purego || !gc
6

7
package salsa
8

9
// XORKeyStream crypts bytes from in to out using the given key and counters.
10
// In and out must overlap entirely or not at all. Counter
11
// contains the raw salsa20 counter bytes (both nonce and block counter).
12
func XORKeyStream(out, in []byte, counter *[16]byte, key *[32]byte) {
13
	genericXORKeyStream(out, in, counter, key)
14
}
15

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.