diff options
author | Piotr Krysik <ptrkrysik@gmail.com> | 2016-09-28 11:53:51 +0200 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2016-09-28 11:53:51 +0200 |
commit | 5878225d8a0c24e428c6497f1969637cda726f8f (patch) | |
tree | b652f2a5fe29d945f362edb0873587fa4b263c92 /lib/decryption | |
parent | b516e6dcdb758d0b8ba513dbfe812d6e1ed4a0e5 (diff) |
Correction of comment in the decryption block
Diffstat (limited to 'lib/decryption')
-rw-r--r-- | lib/decryption/decryption_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/decryption/decryption_impl.cc b/lib/decryption/decryption_impl.cc index 9e6112b..7382e91 100644 --- a/lib/decryption/decryption_impl.cc +++ b/lib/decryption/decryption_impl.cc @@ -138,7 +138,7 @@ namespace gr { for (int i = 0; i < 3; i++) { decrypted_data[i] = burst_binary[i]; } - //encrypt first part of the burst + //decrypt first part of the burst for (int i = 0; i < 57; i++) { decrypted_data[i+3] = keystream[i] ^ burst_binary[i+3]; } @@ -146,7 +146,7 @@ namespace gr { for (int i = 60; i < 88; i++) { decrypted_data[i] = burst_binary[i]; } - //encrypt second part of the burst + //decrypt second part of the burst for (int i = 0; i < 57; i++) { decrypted_data[i+88] = keystream[i+57] ^ burst_binary[i+88]; } |