cmac.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
  2. /* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
  3. /*
  4. ---------------------------------------------------------------------------
  5. Copyright (c) 1998-2008, Brian Gladman, Worcester, UK. All rights reserved.
  6. LICENSE TERMS
  7. The redistribution and use of this software (with or without changes)
  8. is allowed without the payment of fees or royalties provided that:
  9. 1. source code distributions include the above copyright notice, this
  10. list of conditions and the following disclaimer;
  11. 2. binary distributions include the above copyright notice, this list
  12. of conditions and the following disclaimer in their documentation;
  13. 3. the name of the copyright holder is not used to endorse products
  14. built using this software without specific written permission.
  15. DISCLAIMER
  16. This software is provided 'as is' with no explicit or implied warranties
  17. in respect of its properties, including, but not limited to, correctness
  18. and/or fitness for purpose.
  19. ---------------------------------------------------------------------------
  20. Issue Date: 6/10/2008
  21. */
  22. #ifndef CMAC_AES_H
  23. #define CMAC_AES_H
  24. #include "aes.h"
  25. void AES_CMAC (unsigned char *key, unsigned char *input, int length,
  26. unsigned char *mac);
  27. #endif