Fix bug in new encryption API

Bug: 27583871
Change-Id: I372f0a6a411704dc57ca9bcc53c4c5a10b236772
1 file changed