Leakage-Resilient Cryptography from the Inner-Product Extractor