PPC32 SHA-256 ASM: support comnpiling for PIC
Description
When compiling for PIC, 30 and 31 are not always available. Alternative implementation added not using them that puts registers on the stack. Small code size version implemented as well.
Fixes #9023
Testing
./configure --host=powerpc CC=powerpc-linux-gnu-gcc --enable-ppc32-asm=inline CFLAGS=-fPIC ./configure --host=powerpc CC=powerpc-linux-gnu-gcc --enable-ppc32-asm=inline,small CFLAGS=-fPIC ./configure --host=powerpc CC=powerpc-linux-gnu-gcc --enable-ppc32-asm CFLAGS=-fPIC ./configure --host=powerpc CC=powerpc-linux-gnu-gcc --enable-ppc32-asm=small CFLAGS=-fPIC
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation
Code generated from scripts updated by: https://github.com/wolfSSL/scripts/pull/528
🛟 Devin Lifeguard found 1 likely issues in this PR
no-void-functionssnippet snippet: ChangeTransform_Sha256_Lento return an appropriate error/status code (e.g.,int Transform_Sha256_Len(...)) and make all call-sites handle and propagate this value.
@SparkiDev please take a look at the above issues which Devin flagged. Devin will not fix these issues automatically.
retest this please
generic: org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException: Unable to create live FilePath for wolf-linux-cloud-node-bciyus; wolf-linux-cloud-node-bciyus was marked offline: Connection was broken