NAME

Crypt::Bear::CCM - CCM implementation for BearSSL

VERSION

version 0.002

SYNOPSIS

my $aead = Crypt::Bear::CCM->new(Crypt::Bear::AES_CTRCBC->new($key));

DESCRIPTION

This is a subclass of Crypt::Bear::AEAD that implements CCM mode. It needs a Crypt::Bear::CTRCBC such as Crypt::Bear::AES_CTRCBC for this.

METHODS

new($ctrcbc)

Creates a new CCM mode object with the given CTRCBC object.

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.