encrypt: enumerate support

Change-Id: Ia7a20b2501a53b52fb514763c57e0ed2d6468735