Botan

Filter interface for AEAD Modes

License
Botan is released under the Simplified BSD License (see LICENSE.md)

class  AEADFilter: botan.filters.transform_filter.TransformationFilter, botan.filters.filter.Filterable;

Filter interface for AEAD Modes


void  setAssociatedData(const(ubyte)* ad, size_t ad_len);

Set associated data that is not included in the ciphertext but that should be authenticated. Must be called after setKey and before endMsg.

Parameters
const(ubyte)* ad the associated data
size_t ad_len length of add in bytes