Allow any padding mode to be used with keys with KM_PAD_NONE.

Cherry-picked from internal.

Bug: 22229156
Change-Id: I5de66c3ed86244452e7776bff9523e35030713e9
2 files changed