Rfc6810 bis

pull request for reviewing code
use sizeof(element->ski), instead of SKI_SIZE