1 Star 0 Fork 0

tdcq/go-sqlcipher-gm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
flags.go 601 Bytes
一键复制 编辑 原始数据 按行查看 历史
yangjinpeng 提交于 2023-05-10 15:49 +08:00 . go-sqlcipher 增加国密算法
package sqlite3
/*
// enable encryption codec in sqlite
#cgo CFLAGS: -DSQLITE_HAS_CODEC
// use memory for temporay storage in sqlite
#cgo CFLAGS: -DSQLITE_TEMP_STORE=2
// use libtomcrypt implementation in sqlcipher
#cgo CFLAGS: -DSQLCIPHER_CRYPTO_LIBTOMCRYPT
// disable loadable extensions in sqlite
#cgo CFLAGS: -DSQLITE_OMIT_LOAD_EXTENSION=1
// disable anything "not portable" in libtomcrypt
#cgo CFLAGS: -DLTC_NO_ASM
// disable assertions
#cgo CFLAGS: -DNDEBUG
// set operating specific sqlite flags
#cgo linux CFLAGS: -DSQLITE_OS_UNIX=1
#cgo windows CFLAGS: -DSQLITE_OS_WIN=1
*/
import "C"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/revftg/go-sqlcipher-gm.git
git@gitee.com:revftg/go-sqlcipher-gm.git
revftg
go-sqlcipher-gm
go-sqlcipher-gm
v0.0.3

搜索帮助