Go to file
Pascal Brand 992506cb49 Add incremental CCM authentication processing
CCM is only meant for packet mode where the length of the input is known in
advance. Since it is a packet mode function, CCM only had one function that
performs the protocol.

However, incremental authentication is usefull in some usecases. It also
ensure some kind of coherencies when processing with a given authentication
mode or another. To achieve this aim, this commit adds the following functions:
    ccm_init()
    ccm_add_aad()
    cm_add_nonce()
    ccm_process()
    ccm_done()
    ccm_reset()
as well as the data structure
    ccm_state

Change-Id: I5225a42bb098708c4af07518b561bb00f85bc243
2014-10-17 09:00:19 +02:00
demos minor changes 2014-09-30 13:26:18 +02:00
doc flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
notes regen rsa-testvectors 2014-08-28 13:30:26 +02:00
src Add incremental CCM authentication processing 2014-10-17 09:00:19 +02:00
testprof der test: also run der_length_utf8_string() 2014-10-10 00:56:23 +02:00
.gitignore update gitignore 2014-07-15 15:45:39 +02:00
.travis.yml travis.yml: add test runs without "timing resistance" 2014-05-08 15:10:09 +02:00
build.sh build.sh: improve diff parameters 2014-08-31 18:47:21 +02:00
changes added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
coverage.sh coverage: exclude some folders 2014-05-07 17:36:50 +02:00
coverity.sh fix coverity script 2014-10-10 00:55:18 +02:00
crypt.tex ccm: clarify pt and ct parameters in doc and API description 2014-04-30 20:19:11 +02:00
Doxyfile added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
filter.pl mark scripts as executable 2012-11-23 00:49:26 +01:00
fixupind.pl mark scripts as executable 2012-11-23 00:49:26 +01:00
genlist.sh flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
libtomcrypt_VS2005.sln Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2005.vcproj add hkdf impl 2013-03-15 11:16:16 +01:00
libtomcrypt_VS2008.sln Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2008.vcproj add hkdf impl 2013-03-15 11:16:16 +01:00
libtomcrypt.dsp add hkdf impl 2013-03-15 11:16:16 +01:00
libtomcrypt.pc.in pkgconfig: set libdir= to $LIBPATH (for multi-arch) 2014-02-25 10:45:20 +01:00
LICENSE after multiple objections of libtom users [1], we decided to change licensing 2011-01-19 10:18:15 +01:00
makefile Add incremental CCM authentication processing 2014-10-17 09:00:19 +02:00
makefile.icc update makefiles 2014-09-29 19:57:21 +02:00
makefile.mingw update makefiles 2014-09-29 19:57:21 +02:00
makefile.msvc update makefiles 2014-09-29 19:57:21 +02:00
makefile.shared update makefiles 2014-09-29 19:57:21 +02:00
makefile.unix update makefiles 2014-09-29 19:57:21 +02:00
mess.sh mark scripts as executable 2012-11-23 00:49:26 +01:00
parsenames.pl flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
printinfo.sh printinfo: display version of correct compiler if CC does not point to gcc 2014-05-07 16:15:50 +02:00
README.md add coverity badge 2014-05-25 00:35:03 +02:00
run.sh flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
testbuild.sh travis: print version information in build scripts 2014-02-25 10:31:13 +01:00
testme.sh testme.sh: add test runs without "timing resistance" 2014-05-08 15:11:38 +02:00
TODO added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
updatemakes.sh trim trailing spaces in mingw makefiles 2014-08-06 15:11:45 +02:00

libtomcrypt

See doc/crypt.pdf for a detailed documentation

Project Status

develop: Build Status Coverage Status Coverity Scan Build Status

Submitting patches

Please branch off from develop if you want to submit a patch.

Branches

Please be aware, that all branches besides master and develop can and will be force-pushed, rebased and/or removed!

If you want to rely on such an unstable branch, create your own fork of this repository to make sure nothing breaks for you.