Steffen Jaeckel
9782c09a3a
use XMEM{CMP, CPY, SET} macros instead of standard versions
2015-01-20 22:36:06 +01:00
Steffen Jaeckel
f2f8342c43
ccm test: add missing AAD
2014-11-02 17:01:56 +01:00
Steffen Jaeckel
943a858d6c
also run testvectors on new CCM API
...
[skip ci]
2014-10-31 19:41:14 +01:00
Steffen Jaeckel
4efa27ead1
add missing pointer checks
2014-10-31 19:39:03 +01:00
Steffen Jaeckel
53917750d8
trim trailing spaces
2014-10-31 19:38:47 +01:00
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
Steffen Jaeckel
155a54ba40
add LTC prefix to most macros
2014-07-17 10:50:36 +02:00
Steffen Jaeckel
3c76dcdd29
fix compiler warning when enabling LTC_GCM_TABLES_SSE2
2014-07-17 10:50:35 +02:00
Steffen Jaeckel
aa72cfe1d9
ccm: clarify pt and ct parameters in doc and API description
...
this fixes #42
[skip ci]
2014-04-30 20:19:11 +02:00
Steffen Jaeckel
77cca4175f
ccm_memory_ex: disable until documented and fixed
2014-02-18 16:07:24 +01:00
Steffen Jaeckel
8e7777b554
trim trailing spaces/clean up
2014-02-16 18:41:28 +01:00
Steffen Jaeckel
6b5b35e6cc
ocb3: don't zero ocb3 context in ocb3_{de,en}crypt_last
2013-03-20 18:10:51 +02:00
Karel Miko
c5c067fd12
ocb_init fix (preventing index overflow)
2013-03-15 13:30:40 +02:00
Karel Miko
9c2193b722
ocb3_init fix (preventing index overflow)
2013-03-15 13:30:39 +02:00
karel-m
abab7089a3
OCBv3 according http://tools.ietf.org/html/draft-krovetz-ocb-03
2013-03-15 13:30:29 +02:00
Steffen Jaeckel
e7ce129e9b
flushed content of CVS/SVN tags
2010-06-16 20:02:51 +02:00
Steffen Jaeckel
2f1fc7c50d
import of libtomcrypt
...
out of
lt_tree.tar.bz2
checksums of lt_tree.tar.bz2
MD5: 3c36e1ca95518f4d00a76dc9b7049952
SHA1: 4f31d1aa8cd1b9d7452b777cd52f8280dc7ebcbc
2010-06-16 19:58:20 +02:00
Tom St Denis
bbc52b9e1b
added libtomcrypt-1.17
2010-06-16 12:39:13 +02:00
Tom St Denis
e24b01d392
added libtomcrypt-1.16
2010-06-16 12:39:09 +02:00
Tom St Denis
2de2976d25
added libtomcrypt-1.15
2010-06-16 12:39:06 +02:00
Tom St Denis
479cc9c261
added libtomcrypt-1.14
2010-06-16 12:39:03 +02:00
Tom St Denis
64d7ebe166
added libtomcrypt-1.11
2010-06-16 12:38:54 +02:00
Tom St Denis
99b6d03203
added libtomcrypt-1.10
2010-06-16 12:38:51 +02:00
Tom St Denis
a3ce807bae
added libtomcrypt-1.09
2010-06-16 12:38:49 +02:00
Tom St Denis
4a1a5796de
added libtomcrypt-1.07
2010-06-16 12:38:44 +02:00
Tom St Denis
3964a6523a
added libtomcrypt-1.03
2010-06-16 12:38:34 +02:00
Tom St Denis
65c1317eee
added libtomcrypt-1.02
2010-06-16 12:38:32 +02:00
Tom St Denis
6ac9952498
added libtomcrypt-1.01
2010-06-16 12:38:29 +02:00
Tom St Denis
bfc2f5b078
added libtomcrypt-1.00
2010-06-16 12:38:26 +02:00