Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues #12

Open
okwestern opened this issue Sep 9, 2015 · 0 comments
Open

Compatibility issues #12

okwestern opened this issue Sep 9, 2015 · 0 comments

Comments

@okwestern
Copy link

I propose the following changes:
sha1.cpp should be changed:
void Sha1Class::write(uint8_t data) {
to:
size_t Sha1Class::write(uint8_t data) {

uint8_t sha1InitState[] PROGMEM = {
to:
const uint8_t sha1InitState[] PROGMEM = {

sha256.cpp should be changed:
uint32_t sha256K[] PROGMEM = {
to:
const uint32_t sha256K[] PROGMEM = {

uint8_t sha256InitState[] PROGMEM = {
to:
const uint8_t sha256InitState[] PROGMEM = {

Both sha1.h and sha256.h should be changed from:
virtual void write(uint8_t);
to:
virtual size_t write(uint8_t);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant