mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-05 21:29:39 -04:00
cryptsetup: Provide implementation without cgo
This commit is contained in:
parent
524718d82c
commit
c1dbbf34c3
3 changed files with 21 additions and 1 deletions
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
// Package cryptsetup contains CGO bindings for cryptsetup.
|
||||
package cryptsetup
|
||||
|
||||
// #include <libcryptsetup.h>
|
||||
import "C"
|
||||
|
||||
const (
|
||||
// ReadWriteQueueBypass is a flag to disable the write and read workqueues for a crypt device.
|
||||
ReadWriteQueueBypass = C.CRYPT_ACTIVATE_NO_WRITE_WORKQUEUE | C.CRYPT_ACTIVATE_NO_READ_WORKQUEUE
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue