diff options
-rw-r--r-- | os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c index 8f432e1e6..7fa89d2f5 100644 --- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c +++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c @@ -134,7 +134,7 @@ cryerror_t sama_sha_lld_process(CRYDriver *cryp, SHA->SHA_IER = SHA_IER_DATRDY;
uint32_t buf_in_size;
- uint8_t *p=in;
+ const uint8_t *p=in;
while (indata_len) {
buf_in_size = min_u32(indata_len, SHA_UPDATE_LEN);
|