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

AES128 runEnc() cause RP2040 to hard lock #75

Open
UiharuKazari2008 opened this issue Nov 20, 2023 · 0 comments
Open

AES128 runEnc() cause RP2040 to hard lock #75

UiharuKazari2008 opened this issue Nov 20, 2023 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@UiharuKazari2008
Copy link

            } else if (command == "9") {
              AES128Class AES128;
              int inputMessageIndex = receivedMessage.indexOf("$", commandIndex + 1);
              String inputMessage = receivedMessage.substring(commandIndex + 1, inputMessageIndex);
              int length = inputMessage.length();
              char input[length + 1];
              uint8_t UInput[length + 1];
              inputMessage.toCharArray(input, length + 1);
              convertCharToUint8(input, UInput, length);
              AES128.runEnc(UApplicationKey, sizeof(UApplicationKey), UInput, length, UApplicationIV); 
              printHex(UInput, length);
            } else if (command == "10") {

When attempting to run AES128 encryption the device will hard lock without crashing or panicking

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants