Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Practical-Cryptdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhaozhen
Practical-Cryptdb
Commits
d51103b4
Commit
d51103b4
authored
Apr 18, 2017
by
casualet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
able to use foreign key without constructing the ope_foreign layer~hahahahaahahaha~
parent
0bf9f739
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
BasicCrypto.cc
crypto/BasicCrypto.cc
+3
-0
gdbctest
gdbctest
+1
-0
onions.hh
util/onions.hh
+1
-0
No files found.
crypto/BasicCrypto.cc
View file @
d51103b4
...
@@ -454,6 +454,9 @@ getLayerKey(const AES_KEY * const mKey, string uniqueFieldName,
...
@@ -454,6 +454,9 @@ getLayerKey(const AES_KEY * const mKey, string uniqueFieldName,
if
(
l
==
SECLEVEL
::
DETJOIN
)
{
if
(
l
==
SECLEVEL
::
DETJOIN
)
{
return
getKey
(
mKey
,
"joinjoin"
,
l
);
return
getKey
(
mKey
,
"joinjoin"
,
l
);
}
}
if
(
l
==
SECLEVEL
::
OPE
){
return
getKey
(
mKey
,
"opeforeign"
,
l
);
}
return
getKey
(
mKey
,
uniqueFieldName
,
l
);
return
getKey
(
mKey
,
uniqueFieldName
,
l
);
}
}
...
...
gdbctest
0 → 100755
View file @
d51103b4
sudo gdb ./obj/main/cdb_test `ps aux| grep cdb_test|grep -v grep|awk '{print $2}'`
util/onions.hh
View file @
d51103b4
...
@@ -26,6 +26,7 @@ enum class SECLEVEL {
...
@@ -26,6 +26,7 @@ enum class SECLEVEL {
INVALID
,
INVALID
,
PLAINVAL
,
PLAINVAL
,
OPE
,
OPE
,
OPEFOREIGN
,
DETJOIN
,
DETJOIN
,
DET
,
DET
,
SEARCH
,
SEARCH
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment