Move crypto header files from include/crypto to include/nuttx/crypto
This commit is contained in:
parent
71f6838129
commit
1657e6296b
@ -47,9 +47,9 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <crypto/crypto.h>
|
#include <nuttx/crypto/crypto.h>
|
||||||
#include <arch/board/board.h>
|
|
||||||
#include <nuttx/arch.h>
|
#include <nuttx/arch.h>
|
||||||
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
@ -205,4 +205,4 @@ int up_aesinitialize()
|
|||||||
sam_aes_enableclk();
|
sam_aes_enableclk();
|
||||||
putreg32(AES_CR_SWRST, SAM_AES_CR);
|
putreg32(AES_CR_SWRST, SAM_AES_CR);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
@ -44,8 +44,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <nuttx/fs/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
#include <crypto/crypto.h>
|
#include <nuttx/crypto/crypto.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Function Prototypes
|
* Private Function Prototypes
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
|
|
||||||
#include <nuttx/fs/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
|
|
||||||
#include <crypto/crypto.h>
|
#include <crypto/nuttx/crypto.h>
|
||||||
#include <crypto/cryptodev.h>
|
#include <crypto/nuttx/cryptodev.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Function Prototypes
|
* Private Function Prototypes
|
||||||
|
@ -44,12 +44,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
#include <nuttx/fs/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
|
|
||||||
#include <crypto/crypto.h>
|
|
||||||
#include <nuttx/kmalloc.h>
|
#include <nuttx/kmalloc.h>
|
||||||
#include <debug.h>
|
#include <nuttx/crypto/crypto.h>
|
||||||
|
|
||||||
#ifdef CONFIG_CRYPTO_ALGTEST
|
#ifdef CONFIG_CRYPTO_ALGTEST
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* include/crypto/crypto.h
|
* include/nuttx/crypto/crypto.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Max Nekludov <macscomp@gmail.com>
|
* Author: Max Nekludov <macscomp@gmail.com>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __INCLUDE_CRYPTO_CRYPTO_H
|
#ifndef __INCLUDE_NUTTX_CRYPTO_CRYPTO_H
|
||||||
#define __INCLUDE_CRYPTO_CRYPTO_H
|
#define __INCLUDE_NUTTX_CRYPTO_CRYPTO_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -91,4 +91,4 @@ int aes_cypher(FAR void *out, FAR const void *in, uint32_t size, FAR const void
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __INCLUDE_CRYPTO_CRYPTO_H */
|
#endif /* __INCLUDE_NUTTX_CRYPTO_CRYPTO_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* include/crypto/cryptodev.h
|
* include/nuttx/crypto/cryptodev.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Max Nekludov <macscomp@gmail.com>
|
* Author: Max Nekludov <macscomp@gmail.com>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __INCLUDE_CRYPTO_CRYPTODEV_H
|
#ifndef __INCLUDE_NUTTX_CRYPTO_CRYPTODEV_H
|
||||||
#define __INCLUDE_CRYPTO_CRYPTODEV_H
|
#define __INCLUDE_NUTTX_CRYPTO_CRYPTODEV_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -92,4 +92,4 @@ struct crypt_op
|
|||||||
caddr_t iv;
|
caddr_t iv;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __INCLUDE_CRYPTO_CRYPTODEV_H */
|
#endif /* __INCLUDE_NUTTX_CRYPTO_CRYPTODEV_H */
|
Loading…
Reference in New Issue
Block a user