Use explicit, larger buffer sizes for smartcard keyids and modules