withSecureMemory added for CryptoCell