NHS31xx SW API
mac.h
1 /*
2  * Copyright 2020 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
35 #ifndef __MAC_H__
36 #define __MAC_H__
37 
38 #include <stdint.h>
39 #include "mac_dft.h"
40 
46 void Mac_Init(const uint32_t key[4]);
47 
57 void Mac_Sign(const uint8_t * message, const unsigned int messageLength, uint8_t tag[16]);
58 
59 #endif
void Mac_Init(const uint32_t key[4])
void Mac_Sign(const uint8_t *message, const unsigned int messageLength, uint8_t tag[16])