XPIR-team / XPIR

XPIR: Private Information Retrieval for Everyone
Other
114 stars 24 forks source link

Can XPIR run on ARM CPU? #47

Open ttsdmmn opened 5 months ago

ttsdmmn commented 5 months ago

I installed XPIR on a server with an ARM CPU,the errors are like this: 4970e8ccb722888d2aebaaaf7b933bd

Kirija commented 5 months ago

Le 28 mars 2024 à 01:34, Tianxiang Zhu @.***> a écrit :

I installed XPIR on a server with an ARM CPU,the errors are like this: 4970e8ccb722888d2aebaaaf7b933bd.png (viewon web) https://github.com/XPIR-team/XPIR/assets/9929415/9a88a0ef-6f80-42de-a796-d2854fc5d3ea The assembly in salsa20 is for the AMD64 architecture, and your asm compiler just says that the instructions are not correct for the ARM architecture.

I am not aware of a specific ARM Salsa20 implementation but you need to look at https://cr.yp.to/snuffle.html and use one of the generic implementations but it will probably be much slower.

— Reply to this email directly, view it on GitHub https://github.com/XPIR-team/XPIR/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPA3KUS2UQIOGT4YEDA7ADY2OTVPAVCNFSM6AAAAABFMEU6N2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTEMZZGIYDENQ. You are receiving this because you are subscribed to this thread.