20 lines
309 B
C
20 lines
309 B
C
/*
|
|
* Copyright (c) 2016 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _CCM_H_
|
|
#define _CCM_H_
|
|
|
|
struct ccm {
|
|
u8_t key[16];
|
|
u64_t counter;
|
|
u8_t direction:1;
|
|
u8_t resv1:7;
|
|
u8_t iv[8];
|
|
} __packed;
|
|
|
|
#endif /* _CCM_H_ */
|