diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-03-29 10:22:06 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-03-29 10:22:24 +0100 |
commit | edc68d40e9689f74f4cdfba010691e9811786086 (patch) | |
tree | 6b59c4f9a78d0146305d7326ba283e35cacc58da /src/prevector.h | |
parent | 9e7dc682e0f64d48222a1d84fccc279d2f4b3d7d (diff) | |
parent | f6ee177f7d8d4a8220e6ba4f0d5f68830fe1c817 (diff) |
Merge #15663: crypto: Remove unused AES-128 code
f6ee177f7 Remove unused AES-128 code (practicalswift)
Pull request description:
Remove unused AES-128 code.
As far as I can tell this AES-128 code has never been in use in the project (outside of testing/benchmarking).
The AES-256 code is used in `CCrypter::Encrypt`/`CCrypter::Decrypt` (`src/wallet/crypter.cpp`).
Trivia: 0.15% of the project's C++ LOC count (excluding dependencies) is trimmed off:
```
$ LOC_BEFORE=$(git grep -I "" HEAD~1 -- "*.cpp" "*.h" ":(exclude)src/leveldb/" ":(exclude)src/secp256k1/" ":(exclude)src/univalue/" | wc -l)
$ LOC_AFTER=$(git grep -I "" -- "*.cpp" "*.h" ":(exclude)src/leveldb/" ":(exclude)src/secp256k1/" ":(exclude)src/univalue/" | wc -l)
$ bc <<< "scale=4; ${LOC_AFTER}/${LOC_BEFORE}"
.9985
```
:-)
Tree-SHA512: 9588a3cd795a89ef658b8ee7323865f57723cb4ed9560c21de793f82d35e2835059e7d6d0705e99e3d16bf6b2a444b4bf19568d50174ff3776caf8a3168f5c85
Diffstat (limited to 'src/prevector.h')
0 files changed, 0 insertions, 0 deletions