diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/crypto/sha.h | 5 | ||||
| -rw-r--r-- | include/linux/platform_data/atmel-aes.h | 22 | ||||
| -rw-r--r-- | include/linux/platform_data/crypto-atmel.h | 22 | ||||
| -rw-r--r-- | include/linux/timeriomem-rng.h | 5 |
4 files changed, 27 insertions, 27 deletions
diff --git a/include/crypto/sha.h b/include/crypto/sha.h index c6c9c1fe460c..190f8a0e0242 100644 --- a/include/crypto/sha.h +++ b/include/crypto/sha.h | |||
| @@ -87,4 +87,9 @@ struct shash_desc; | |||
| 87 | extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, | 87 | extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, |
| 88 | unsigned int len); | 88 | unsigned int len); |
| 89 | 89 | ||
| 90 | extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, | ||
| 91 | unsigned int len); | ||
| 92 | |||
| 93 | extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data, | ||
| 94 | unsigned int len); | ||
| 90 | #endif | 95 | #endif |
diff --git a/include/linux/platform_data/atmel-aes.h b/include/linux/platform_data/atmel-aes.h deleted file mode 100644 index ab68082fbcb0..000000000000 --- a/include/linux/platform_data/atmel-aes.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | #ifndef __LINUX_ATMEL_AES_H | ||
| 2 | #define __LINUX_ATMEL_AES_H | ||
| 3 | |||
| 4 | #include <linux/platform_data/dma-atmel.h> | ||
| 5 | |||
| 6 | /** | ||
| 7 | * struct aes_dma_data - DMA data for AES | ||
| 8 | */ | ||
| 9 | struct aes_dma_data { | ||
| 10 | struct at_dma_slave txdata; | ||
| 11 | struct at_dma_slave rxdata; | ||
| 12 | }; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * struct aes_platform_data - board-specific AES configuration | ||
| 16 | * @dma_slave: DMA slave interface to use in data transfers. | ||
| 17 | */ | ||
| 18 | struct aes_platform_data { | ||
| 19 | struct aes_dma_data *dma_slave; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif /* __LINUX_ATMEL_AES_H */ | ||
diff --git a/include/linux/platform_data/crypto-atmel.h b/include/linux/platform_data/crypto-atmel.h new file mode 100644 index 000000000000..b46e0d9062a0 --- /dev/null +++ b/include/linux/platform_data/crypto-atmel.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef __LINUX_CRYPTO_ATMEL_H | ||
| 2 | #define __LINUX_CRYPTO_ATMEL_H | ||
| 3 | |||
| 4 | #include <linux/platform_data/dma-atmel.h> | ||
| 5 | |||
| 6 | /** | ||
| 7 | * struct crypto_dma_data - DMA data for AES/TDES/SHA | ||
| 8 | */ | ||
| 9 | struct crypto_dma_data { | ||
| 10 | struct at_dma_slave txdata; | ||
| 11 | struct at_dma_slave rxdata; | ||
| 12 | }; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * struct crypto_platform_data - board-specific AES/TDES/SHA configuration | ||
| 16 | * @dma_slave: DMA slave interface to use in data transfers. | ||
| 17 | */ | ||
| 18 | struct crypto_platform_data { | ||
| 19 | struct crypto_dma_data *dma_slave; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif /* __LINUX_CRYPTO_ATMEL_H */ | ||
diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h index 3e08a1c86830..46eb27ddbfab 100644 --- a/include/linux/timeriomem-rng.h +++ b/include/linux/timeriomem-rng.h | |||
| @@ -8,12 +8,7 @@ | |||
| 8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/completion.h> | ||
| 12 | |||
| 13 | struct timeriomem_rng_data { | 11 | struct timeriomem_rng_data { |
| 14 | struct completion completion; | ||
| 15 | unsigned int present:1; | ||
| 16 | |||
| 17 | void __iomem *address; | 12 | void __iomem *address; |
| 18 | 13 | ||
| 19 | /* measures in usecs */ | 14 | /* measures in usecs */ |
