[RFC 0/2] Add support for AES-CMAC-128

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds support for AES-CMAC-128 as defined in NIST Special
Publication 800-38B (http://csrc.nist.gov/publications/PubsSPs.html)

It also adds unit tests.

To consider: If it should be included into crypto.c instead of new file.

I put it into new file as there is need to keep some special data for the
aes-cmac session i.e. sub keys and sign_counter.

Lukasz Rymanowski (2):
  shared/aes-cmac: Add support for AES-CMAC-128
  unit: Add test case for AES-CMAC-128

 Makefile.am           |   8 +-
 src/shared/aes-cmac.c | 346 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/shared/aes-cmac.h |  38 ++++++
 unit/test-aes-cmac.c  | 169 ++++++++++++++++++++++++
 4 files changed, 560 insertions(+), 1 deletion(-)
 create mode 100644 src/shared/aes-cmac.c
 create mode 100644 src/shared/aes-cmac.h
 create mode 100644 unit/test-aes-cmac.c

-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux