Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. Jira: ZEP-2051 Change-Id: I8f57a17f78e674aca5400f005db8975c9f9e150e Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
19 lines
305 B
C
19 lines
305 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_ */
|