Skip to content

Commit 7e1b71b

Browse files
committed
More optimizations and usability enhancements
- Support different variable sizes, which lets us support other SMT formulas - Move the counter seeding into the GPU for faster startup - Some tweaks so that the jfs C++ code doesn't need as many modifications
1 parent 419db87 commit 7e1b71b

File tree

4 files changed

+478
-77
lines changed

4 files changed

+478
-77
lines changed

SMTLIB/BitVector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class BitVector<
3838
constexpr dataTy mask() const {
3939
return (N >= 64) ? UINT64_MAX : ((UINT64_C(1) << N) - 1);
4040
}
41-
dataTy doMod(dataTy value) const {
41+
__device__ dataTy doMod(dataTy value) const {
4242
if (N >= 64)
4343
return value;
4444
else

TODO.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
- Mostly done
33
- Still need to figure out the nearest int routines
44
* LOL what are unit tests
5+
* Make it easier to run different SMT formulas
6+
- John has this in his branch, just need to integrate
7+
* Figure out how to count executions / second
8+
* Performance measurement & optimization
9+
10+
DONE:
511
* Find a harder SMT formula
12+
- Done
613
* Generalize to more variables
14+
- Done!
715
* Support multiple GPUs
816
- Done!
17+

cuda_aes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
__host__ void expand_key(uint8_t *key, uint8_t *rkey);
55
__device__ void encrypt_k(uint8_t *data, const uint8_t *rkey, uint32_t numblock);
6-
6+
__device__ void encrypt_one_table(uint8_t *block, const uint8_t *rkey, uint32_t offset);

0 commit comments

Comments
 (0)