intel / isa-l_crypto

Other
275 stars 80 forks source link

Fix lane handling on aarch64 systems with SM3 hardware crypto support #77

Closed tom-cosgrove-arm closed 3 years ago

tom-cosgrove-arm commented 3 years ago

This fixes .unused_lanes to be initialised to (e.g.) 0xF3210 instead of the current 0xF0123.

Without this, sm3_mb_rand_update_test and sm3_mb_vs_ossl_perf spin in infinite loops calling sm3_ctx_mgr_submit().

Change-Id: I878228481408d4d5c34724ff1170e10670a4c48c Signed-off-by: Tom Cosgrove tom.cosgrove@arm.com

gbtucker commented 3 years ago

The series looks OK. I'll submit for integration.

gbtucker commented 3 years ago

integrated