#include <cypher.h>
Inheritance diagram for Cypher:
Public Member Functions | |
Cypher () | |
virtual | ~Cypher () |
void | setKey (Buffer key) |
void | setSalt (Buffer salt) |
void | cypher (Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id) |
Protected Member Functions | |
void | exor (Buffer &buf, const Buffer &bit_stream) |
virtual Buffer | getBitStream (u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)=0 |
Cypher::Cypher | ( | ) | [inline] |
virtual Cypher::~Cypher | ( | ) | [inline, virtual] |
void Cypher::setKey | ( | Buffer | key | ) | [inline] |
Reimplemented in AesIcmCypher.
void Cypher::setSalt | ( | Buffer | salt | ) | [inline] |
Reimplemented in AesIcmCypher.
void Cypher::cypher | ( | Buffer & | buf, | |
seq_nr_t | seq_nr, | |||
sender_id_t | sender_id | |||
) |
virtual Buffer Cypher::getBitStream | ( | u_int32_t | length, | |
seq_nr_t | seq_nr, | |||
sender_id_t | sender_id | |||
) | [protected, pure virtual] |
Implemented in NullCypher, and AesIcmCypher.