1
0
mirror of https://github.com/fumiama/unibase2n.git synced 2026-06-10 11:40:25 +08:00

add amd64 asm ver enc16blk1

This commit is contained in:
源文雨
2022-10-02 22:49:06 +08:00
parent 95efd10a6d
commit f6d737d0a6
4 changed files with 97 additions and 17 deletions

8
encode_amd64.go Normal file
View File

@@ -0,0 +1,8 @@
//go:build amd64
// +build amd64
package unibase2n
// enc16blk1 for bit 1 (actual enc128blk1)
// len(in)!=0, len(out)==len(in)*16
func enc16blk1(mask uint16, in, out []byte)