CHDK firmware - crypto modules (work in progress)