Porting sparkey-python to CFFI