diff options
author | Roman Khassraf <roman@khassraf.at> | 2015-07-17 18:32:22 +0200 |
---|---|---|
committer | Roman Khassraf <roman@khassraf.at> | 2015-07-17 18:32:22 +0200 |
commit | 4dec540b6e997289173b8486e51ef249c9d0fbfc (patch) | |
tree | 8ff555c96561166939b5ef5a4a74601013d2d3df /include/grgsm/decryption | |
parent | c51f12bb4eeb43416da93ea64ed33537c79af671 (diff) |
Added support for A5/2, A5/3, A5/4. Issue #85
Diffstat (limited to 'include/grgsm/decryption')
-rw-r--r-- | include/grgsm/decryption/decryption.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/grgsm/decryption/decryption.h b/include/grgsm/decryption/decryption.h index be0f7cd..51328b1 100644 --- a/include/grgsm/decryption/decryption.h +++ b/include/grgsm/decryption/decryption.h @@ -1,14 +1,14 @@ /* -*- c++ -*- */ -/* +/* * @file * @author Piotr Krysik <ptrkrysik@gmail.com> * @section LICENSE - * + * * Gr-gsm is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. - * + * * Gr-gsm is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -18,7 +18,7 @@ * along with gr-gsm; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. - * + * */ @@ -50,8 +50,9 @@ namespace gr { * class. gsm::decryption::make is the public interface for * creating new instances. */ - static sptr make(const std::vector<uint8_t> & k_c); + static sptr make(const std::vector<uint8_t> & k_c, unsigned int a5_version); virtual void set_k_c(const std::vector<uint8_t> & k_c) = 0; + virtual void set_a5_version(unsigned int a5_version) = 0; }; } // namespace gsm |