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

[pentest] Move SCA lib into pentest lib #24599

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

nasahlpa
Copy link
Member

Currently, we have the SCA lib that is used for the old simpleserial based SCA/FI tests (sw/device/sca) and the new pentest lib that is used for the uJSON based pentest framework (sw/device/tests/penetrationtests).

As in the longerm we want to get rid of the old simpleserial framework, this commit merges these two libraries and moves it into the new pentest framework.

A cleanup of these functions will be conducted once the simpleserial framework is removed.

@nasahlpa nasahlpa marked this pull request as ready for review September 19, 2024 12:23
@nasahlpa nasahlpa requested a review from a team as a code owner September 19, 2024 12:23
@nasahlpa nasahlpa requested review from pamaury, vogelpi and andrea-caforio and removed request for a team September 19, 2024 12:23
Copy link
Contributor

@andrea-caforio andrea-caforio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I compiled the pentest firmware from this branch and the ujson hardware triggers seem to work now. 👍

@nasahlpa
Copy link
Member Author

Could I please get an approval for this?

Copy link
Contributor

@vogelpi vogelpi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me @nasahlpa , sorry I forgot about this one.

Since the PR is over a month old now, would you mind rebasing and repushing this to re-trigger CI, please?

Currently, we have the SCA lib that is used for the old simpleserial
based SCA/FI tests (sw/device/sca) and the new pentest lib that is used
for the uJSON based pentest framework (sw/device/tests/penetrationtests).

As in the longerm we want to get rid of the old simpleserial framework,
this commit merges these two libraries and moves it into the new
pentest framework. Moreover, the sca_ suffix is replaced with pentest_.

A cleanup of these functions will be conducted once the simpleserial
framework is removed.

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa
Copy link
Member Author

nasahlpa commented Oct 22, 2024

Thanks for the review, @vogelpi. Tests after a rebase are passing, merging now.

@nasahlpa nasahlpa merged commit def97ec into lowRISC:master Oct 22, 2024
42 checks passed
@nasahlpa nasahlpa deleted the experiment branch October 22, 2024 11:50
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

Successfully merging this pull request may close these issues.

3 participants