when writing data to eeprom, source buffer should be const.
SRAM optimization - 176 bytes.

Moved expandedKey static buffer to the stack, and added as a parameter to those functions that use it.

I've not tested it, since I'm not using the smart config, but this looks like a safe change.
Merge branch 'master' of https://github.com/spark/core-common-lib

Conflicts:
	CC3000_Host_Driver/security.c
	CC3000_Host_Driver/security.h
	CC3000_Host_Driver/wlan.c
memory optimization: moved static expandedKey buffer to the stack. Saves 176 bytes of RAM.