Skip to content

Commit 9186414

Browse files
committed
Renamed BignumClearing.ql to MissingZeroization.ql
1 parent 129147c commit 9186414

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* @name Non-cleared bignum detection
2+
* @name Missing zeroization of random BIGNUMs
33
* @id tob/cpp/bignum-clearing
4-
* @description Determines if random bignums are properly cleared
4+
* @description Determines if random bignums are properly zeroized
55
* @kind problem
66
* @tags correctness crypto
77
* @problem.severity warning
@@ -27,4 +27,4 @@ predicate isRandom(Expr bignum) {
2727

2828
from BIGNUM bignum
2929
where isRandom(bignum) and not isCleared(bignum)
30-
select bignum.getLocation(), "Bignum is initialized with random data but is not properly cleared"
30+
select bignum.getLocation(), "Bignum is initialized with random data but is not zeroized before it goes out of scope"

cpp/test/query-tests/crypto/BignumClearing/BignumClearing.expected

Lines changed: 0 additions & 1 deletion
This file was deleted.

cpp/test/query-tests/crypto/BignumClearing/BignumClearing.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| test.c:4:18:4:23 | test.c:4:18:4:23 | Bignum is initialized with random data but is not zeroized before it goes out of scope |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
crypto/MissingZeroization.ql
File renamed without changes.

0 commit comments

Comments
 (0)