Loading...
Searching...
No Matches
cryptocell_310_util.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 HAW Hamburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef CRYPTOCELL_310_UTIL_H
20#define CRYPTOCELL_310_UTIL_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#ifdef CPU_NRF52
27#define CHECK_POINTER_DMA_ACCESS(p) ((unsigned int)p >= 0x20000000 ? (unsigned int)p < 0x40000000 : 0)
28#endif
29
37
45
52
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif /* CRYPTOCELL_310_UTIL_H */
void cryptocell_310_enable(void)
Enable CryptoCell module and IRQs.
void cryptocell_310_disable(void)
Disable CryptoCell module and IRQs.
void driver_cryptocell_310_setup(void)
Enables CryptoCell module, IRQs and crypto libraries on nrf52840.
void driver_cryptocell_310_terminate(void)
Finishes the use of the CryptoCell library.