[SECIOTSW-455] Refactor ecryptfs structures to C++ style