suculent / thinx-aes-lib

AES wrapper for ESP8266/ESP32/Arduino/nRF5x
Other
113 stars 39 forks source link

Applied `const` specifiers throughout the library #21

Closed kenkendk closed 4 years ago

kenkendk commented 4 years ago

The library is not using const on pointers, making it hard to guess which buffers are overwritten and which are safe.

This PR adds const specifiers to the methods that do not alter the input buffers.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

suculent commented 4 years ago

Great, thank you very much.