8000 AES128 runEnc() cause RP2040 to hard lock · Issue #75 · arduino-libraries/ArduinoBearSSL · GitHub
[go: up one dir, main page]

Skip to content
AES128 runEnc() cause RP2040 to hard lock #75
Open
@UiharuKazari2008

Description

@UiharuKazari2008
            } 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0