blob: a39cf4fbe2bbc8302aa33d659dccd0ab74889d0b [file] [log] [blame]
ptrkrysik18b631e2014-12-15 09:09:18 +01001/* -*- c++ -*- */
2/*
3 * Copyright 2014 <+YOU OR YOUR COMPANY+>.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef INCLUDED_GSM_DECRYPTION_IMPL_H
22#define INCLUDED_GSM_DECRYPTION_IMPL_H
23
24#include <grgsm/decryption/decryption.h>
25
26namespace gr {
27 namespace gsm {
28
29 class decryption_impl : public decryption
30 {
31 private:
32 std::vector<uint8_t> d_k_c;
33 void decrypt(pmt::pmt_t msg);
34 public:
35 decryption_impl(const std::vector<uint8_t> & k_c);
36 ~decryption_impl();
37 virtual void set_k_c(const std::vector<uint8_t> & k_c);
38 };
39 } // namespace gsm
40} // namespace gr
41
42#endif /* INCLUDED_GSM_DECRYPTION_IMPL_H */
43