zeutro / openabe

The OpenABE library - open source cryptographic library with attribute-based encryption implementations in C/C++
http://www.zeutro.com
GNU Affero General Public License v3.0
262 stars 71 forks source link

Can be installed in a RPI-0 #73

Closed PekeDevil closed 1 year ago

PekeDevil commented 1 year ago

I updated some files to make the library work in a RPI-0 (ARMv6) (as I introduced in #62).

Changing -DARITH=arm-asm-254 to -DARITH=easy in the Makefile let me compile both in armv6 (RPI0-W) and armv8 (RPI4). The solution is based in the answers provided here and the file modifications made by IBM.

It has been tested in a RPI0 with Raspbian Stretch and in a RPI4 with 32-bit Ubuntu Server TLS.

Note: the library has not been tested performance-wise with the changes made to the Makefile, but I hope it is useful for other folks working with ARMv6 and older architectures.