aes_cmac_pl.h 936 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * \file aes_cmac_pl.h
  3. *
  4. *
  5. */
  6. /*
  7. * Copyright (C) 2013. Mindtree Ltd.
  8. * All rights reserved.
  9. */
  10. #ifndef _H_AES_CMAC_PL_
  11. #define _H_AES_CMAC_PL_
  12. /* --------------------------------------------- Header File Inclusion */
  13. #include "EM_os.h"
  14. #include "cry.h"
  15. /* --------------------------------------------- Global Definitions */
  16. /* --------------------------------------------- Structures/Data Types */
  17. /* --------------------------------------------- Macros */
  18. /* Hack. TBD */
  19. #define EM_MODULE_ID_AES_CMAC 0
  20. /* --------------------------------------------- Internal Functions */
  21. /* --------------------------------------------- API Declarations */
  22. /* Platform Init */
  23. void aes_cmac_init_pl (void);
  24. /* Platform Encrypt */
  25. EM_RESULT aes_cmac_128B_encrypt_pl (UCHAR * key, UCHAR * data, UCHAR * encout);
  26. void aes_cmac_128B_encrypt_complete_pl(UCHAR status, UCHAR * data, UINT16 length);
  27. #endif /* _H_AES_CMAC_PL_ */