11#ifndef INCLUDED_DIGITAL_ADDITIVE_SCRAMBLER_BB_H
12#define INCLUDED_DIGITAL_ADDITIVE_SCRAMBLER_BB_H
45 typedef std::shared_ptr<additive_scrambler_bb>
sptr;
62 uint8_t bits_per_byte = 1,
63 const std::string& reset_tag_key =
"");
65 virtual uint64_t
mask()
const = 0;
66 virtual uint64_t
seed()
const = 0;
67 virtual uint8_t
len()
const = 0;
68 virtual int64_t
count()
const = 0;
Scramble an input stream using an LFSR.
Definition: additive_scrambler_bb.h:42
virtual uint8_t bits_per_byte()=0
static sptr make(uint64_t mask, uint64_t seed, uint8_t len, int64_t count=0, uint8_t bits_per_byte=1, const std::string &reset_tag_key="")
Create additive scrambler.
virtual uint8_t len() const =0
virtual uint64_t seed() const =0
std::shared_ptr< additive_scrambler_bb > sptr
Definition: additive_scrambler_bb.h:45
virtual int64_t count() const =0
virtual uint64_t mask() const =0
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29