mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-05 21:17:35 +03:00
Standard internal logic to detect hardware crypto
We can't simply link to system internal package, as it is prohibited by Golang. Let's copy-paste instead.
This commit is contained in:
parent
193d4b28e8
commit
690d770374
12 changed files with 361 additions and 0 deletions
7
cpu/cpu_mips.go
Normal file
7
cpu/cpu_mips.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
// Copyright 2017 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package cpu
|
||||
|
||||
const CacheLineSize = 32
|
Loading…
Add table
Add a link
Reference in a new issue