openssl offload crypto to hse

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

openssl offload crypto to hse

5,190 Views
eone
Contributor II

Hi,NXP

i am using BSP36.0 on s32g274ardb2, when try use openssl offload crypto operation to hse, its not take effect;What should I do to make it effective?

Here are some outputs: 

eone_0-1690769670083.png

 

Labels (1)
0 Kudos
Reply
23 Replies

1,244 Views
eone
Contributor II

Hi,NXP

I am verifying the operation you mentioned,When I execute the following command:

ldconfig -l /usr/lib/libpkcs-hse.so.1.0
ldconfig -l /usr/lib/libcrypto.so.3
ldconfig -l /usr/lib/libhse.so.1.0
ldconfig -l /usr/lib/libp11.so.3.4.3

hse-secboot -f -d /dev/mmcblk0

The following error occurred after restarting the machine:

58ba5722-013b-475f-8ea4-6adbd872cf63.jpg

It didn't appear before, how should I solve this problem?

Tags (1)
0 Kudos
Reply

1,086 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We seem to be a little bit confused. We are seeing that in a previous post, you executed these commands and there was no problem, or so it seems.

Can you help us elaborate more on this situation? Was this a clean build?

Please, let us know.

0 Kudos
Reply

794 Views
eone
Contributor II

Hi,NXP

this maybe secure boot problem, we have already resolved it

following your last prompts, I tried adding several algorithms:

8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg

Testing found no effect, the interrupt about hse in /proc/interrupt did not change;

Is it related to the following implementation? the afalg_ciphers function only aes algorithms

62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg

 How should I modify can use other algorithms link AES offload to hse?

Looking forward to your reply, Thanks!!!

Tags (1)
0 Kudos
Reply