A Fast Search Method for 3-Share Second-Order Masking Schemes for Lightweight S-Boxes